* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #fefcf3 0%, #f8f5ed 100%);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* When the logo is an anchor, remove link decoration and inherit color */
.logo {
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #2c3e50;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon::before {
    content: '';
    width: 20px;
    height: 3px;
    background: #f8f5ed;
    border-radius: 2px;
    position: absolute;
    top: 12px;
    left: 10px;
    transform: rotate(-5deg);
}

.logo-icon::after {
    content: '';
    width: 16px;
    height: 3px;
    background: #f8f5ed;
    border-radius: 2px;
    position: absolute;
    bottom: 12px;
    left: 10px;
    transform: rotate(8deg);
}

.logo-text {
    font-size: 24px;
    font-weight: 300;
    color: #2c3e50;
    letter-spacing: -0.5px;
    font-family: serif;
}

.logo-image {
    height: 32px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #5a6c7d;
    font-weight: 400;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #2c3e50;
}


.cta-btn {
    background: white;
    color: #1f2d3a; /* dark text so label is visible on white */
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
    border: 1px solid #1f2d3a;
    /* box-shadow: 0 6px 16px rgba(0,0,0,0.15); */
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-btn:hover {
    background: linear-gradient(135deg, #fefcf3 0%, #f8f5ed 100%);;
    transform: translateY(-1px);
}

.cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

.cta-btn:focus-visible {
    outline: 2px solid #8b4513;
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    padding: 80px 48px 60px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    font-weight: 300;
    color: #2c3e50;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero .highlight {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
    color: #8b4513;
    font-size: 60px;
}

.hero p {
    font-size: 20px;
    color: #5a6c7d;
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Demo Section */
.demo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin: 60px 0;
    flex-wrap: wrap;
}

.note-sample {
    background: transparent;
    padding: 0;
    border-radius: 12px;
    box-shadow: none;
    width: 520px;
    font-family: 'Kalam', cursive;
    font-size: 15px;
    line-height: 1.8;
    color: #2c3e50;
    transform: rotate(-2deg);
    border: none;
}

.demo-arrow {
    font-size: 32px;
    color: #8b4513;
    font-weight: bold;
}

.digital-output {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    width: 320px;
    border-left: 4px solid #3498db;
}

.digital-output h3 {
    color: #2c3e50;
    margin-bottom: 16px;
    font-weight: 600;
}

.doc-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f3f5;
    color: #5a6c7d;
    border: 1px solid #e9ecef;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.digital-output p {
    color: #5a6c7d;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 14px;
}

.digital-output ul {
    color: #5a6c7d;
    margin-bottom: 16px;
    margin-left: 16px;
}

.digital-output li {
    margin-bottom: 4px;
}

/* Media helpers */
.note-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Integration Icons */
.integrations {
    text-align: center;
    margin: 60px 0;
}

.integrations p {
    color: #5a6c7d;
    margin-bottom: 24px;
    font-size: 16px;
}

.icons-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.icon-item:hover {
    opacity: 1;
}

.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.obsidian-icon {
    background: #7c3aed;
    color: white;
}

.notion-icon {
    background: #000;
    color: white;
}

.gdrive-icon {
    background: #4285f4;
    color: white;
}

.onenote-icon {
    background: #7719aa;
    color: white;
}

.icon-item span {
    font-size: 13px;
    color: #5a6c7d;
    font-weight: 500;
}

.brand-icon {
    width: 70%;
    height: 70%;
    object-fit: contain;
    display: block;
}

/* How It Works Section */
.how-it-works {
    background: white;
    padding: 80px 48px;
    margin-top: 40px;
}

.how-it-works h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    background: #fefcf3;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

/* Arrows between steps (replaces numbers) */
.steps .step::after {
    content: '→';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b4513; /* same as previous badge color */
    font-size: 24px;
    line-height: 1;
}
.steps .step:last-child::after { display: none; }

.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.step-number {
    position: absolute;
    top: -12px;
    right: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #8b4513;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    display: none; /* hide numeric badges in favor of arrows */
}

.step-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    /* background: linear-gradient(135deg, #3498db, #2980b9); */
    background: transparent;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
}

/* Ensure inline SVG step icons render crisp and consistently */
.step-icon svg {
    width: 36px;
    height: 36px;
    display: block;
    stroke: #2c3e50;
    stroke-width: 2;
    fill: none;
    vector-effect: non-scaling-stroke;
}

.step h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
}

.step p {
    color: #5a6c7d;
    line-height: 1.6;
    font-size: 15px;
}

/* Integrations Section */
.integrations-section {
    padding: 80px 0;
    background: #fefcf3;
}

.integrations-section h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #5a6c7d;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Centered CTA below integrations grid */
.center-cta {
    text-align: center;
    margin-top: 32px;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* force 2x2 on desktop */
    gap: 32px;
}

.integration-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
}

.integration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.integration-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    margin: 0 auto 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.brand-icon-large {
    width: 70%;
    height: 70%;
    object-fit: contain;
    display: block;
}

.integration-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
}

.integration-card p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 24px;
}

.integration-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-tag {
    background: rgba(139, 69, 19, 0.1);
    color: #8b4513;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: white;
}

.pricing-section h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.pricing-card {
    background: #fefcf3;
    border: 2px solid rgba(139, 69, 19, 0.1);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.pricing-card.pro {
    border-color: #8b4513;
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.15);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #8b4513;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.plan-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.price span {
    font-size: 18px;
    color: #5a6c7d;
}

.plan-header p {
    color: #5a6c7d;
    margin-bottom: 32px;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.plan-features li {
    color: #5a6c7d;
    margin-bottom: 12px;
    font-size: 15px;
}

.plan-btn {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.free-btn {
    background: #f8f9fa;
    color: #2c3e50;
    border: 2px solid #e9ecef;
    text-decoration: none;
}

.free-btn:hover {
    background: #e9ecef;
}

.pro-btn {
    background: #8b4513;
    color: white;
}

.pro-btn:hover {
    background: #7a3d10;
}

.topup-btn {
    background: #2c3e50;
    color: white;
}

.topup-btn:hover {
    background: #34495e;
}

.pricing-note {
    background: rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-top: 40px;
    text-align: center;
}

.pricing-note p {
    color: #6b4c2f;
    margin: 0;
}

/* Content (Legal/Docs) */
.content {
    padding: 80px 0;
    background: white;
}

.content .container {
    max-width: 900px;
}

.content article header {
    margin-bottom: 24px;
}

.content h1 {
    font-size: 36px;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin: 32px 0 12px;
}

.content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin: 20px 0 8px;
}

.content p {
    color: #5a6c7d;
    margin-bottom: 12px;
}

.content ul,
.content ol {
    color: #5a6c7d;
    margin-bottom: 12px;
    margin-left: 20px;
}

.content li {
    margin-bottom: 6px;
}

.content nav {
    margin: 16px 0 8px;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
}

.content table th,
.content table td {
    border: 1px solid #e9ecef;
    padding: 8px 10px;
    text-align: left;
    color: #5a6c7d;
    vertical-align: top;
}

.content table th {
    background: #f8f9fa;
    color: #2c3e50;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 24px;
}

.bottom-logo-text {
    font-size: 24px;
    font-weight: 300;
    color: #bdc3c7;
    letter-spacing: -0.5px;
    font-family: serif;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-top: 16px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .nav {
        padding: 20px 24px;
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        gap: 24px;
    }

    .hero {
        padding: 60px 24px 40px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero .highlight {
        font-size: 46px;
    }

    .demo {
        flex-direction: column;
        gap: 32px;
        padding: 0 24px;
    }

    /* On mobile, show the arrow pointing down */
    .demo-arrow {
        transform: rotate(90deg);
        line-height: 1;
    }

    .how-it-works {
        padding: 60px 24px;
    }

    .how-it-works h2 {
        font-size: 32px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    /* Hide between-step arrows on mobile and allow larger note to scale */
    .steps .step::after { display: none; }
    .note-sample { width: 100%; transform: none; }

    .icons-row {
        gap: 24px;
    }

    .integrations-section {
        padding: 60px 0;
    }

    .integrations-section h2 {
        font-size: 32px;
    }

    .integration-grid { grid-template-columns: 1fr; }
    .content { padding: 60px 0; }
    .content h1 { font-size: 30px; }
    .content h2 { font-size: 24px; }
    .content h3 { font-size: 18px; }
    .pricing-section {
        padding: 60px 0;
    }

    .pricing-section h2 {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
