/* Notion-Inspired Landing Page Styles */

main.notion-main {
    background: #ffffff;
    color: var(--text-primary);
    font-family: 'Inter', var(--font-body), sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

main.notion-main::before {
    display: none; /* Override existing body background effects if any */
}

/* Typography Overrides for Landing */
.n-h1 {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.n-sub {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 500;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Nav */
.n-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.n-nav.scrolled {
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 24px;
}

.n-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.n-logo-box {
    width: 32px;
    height: 32px;
    background: var(--text-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: var(--font-display);
}

.n-nav-center {
    display: none;
}

@media (min-width: 768px) {
    .n-nav-center {
        display: flex;
        gap: 32px;
    }
}

.n-nav-center a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.n-nav-center a:hover {
    color: var(--text-primary);
}

.n-nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.n-btn-solid {
    background: var(--text-primary);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.n-btn-solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: white;
}

.n-btn-accent {
    background: var(--accent-primary);
    color: white;
}
.n-btn-accent:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.n-btn-ghost {
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.n-btn-ghost:hover {
    background: var(--bg-primary);
}

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

.n-hero-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.n-hero-actions .n-btn-solid {
    padding: 14px 28px;
    font-size: 1.1rem;
    border-radius: 10px;
}

.n-hero-actions .n-btn-ghost {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    padding: 14px 28px;
    font-size: 1.1rem;
    border-radius: 10px;
}

.n-hero-actions .n-btn-ghost:hover {
    background: white;
}

/* Browser Mockup (Hero Graphic) */
.n-mockup-wrapper {
    max-width: 1060px;
    margin: 60px auto 0;
    position: relative;
    perspective: 1000px;
}

.n-mockup-shadow {
    position: absolute;
    top: 10%;
    left: 5%;
    right: 5%;
    bottom: -10%;
    background: var(--accent-primary);
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
}

.n-mockup {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    aspect-ratio: 16/10;
    border: 1px solid var(--border-subtle);
}

.n-mockup-header {
    height: 48px;
    background: #f9f9f9;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.n-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.n-dot:nth-child(1) { background: #ff5f56; }
.n-dot:nth-child(2) { background: #ffbd2e; }
.n-dot:nth-child(3) { background: #27c93f; }

.n-mockup-body {
    flex: 1;
    display: flex;
    background: white;
}

.n-mockup-sidebar {
    width: 240px;
    background: #fcfcfc;
    border-right: 1px solid var(--border-subtle);
    padding: 20px;
    display: none;
}

@media (min-width: 768px) {
    .n-mockup-sidebar { display: block; }
}

.n-mockup-item {
    height: 24px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 12px;
    width: 80%;
}
.n-mockup-item.active {
    background: var(--accent-soft);
    width: 90%;
}

.n-mockup-main {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.n-mockup-title {
    height: 40px;
    width: 60%;
    background: #f4f4f4;
    border-radius: 8px;
}

.n-mockup-card {
    background: white;
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.n-mockup-line {
    height: 12px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 12px;
}
.n-mockup-line:last-child { width: 60%; }

/* Logos Section */
.n-logos {
    padding: 40px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.n-logos p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Feature Sections (Notion Zig-Zag) */
.n-section {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.n-feature-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
}

@media (min-width: 900px) {
    .n-feature-row {
        flex-direction: row;
        justify-content: space-between;
    }
    .n-feature-row.reverse {
        flex-direction: row-reverse;
    }
    .n-feature-text, .n-feature-visual {
        flex: 1;
    }
    .n-feature-text {
        max-width: 480px;
    }
}

.n-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-primary);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    margin-bottom: 24px;
}

.n-feature-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.n-feature-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.n-feature-visual {
    position: relative;
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
}

/* Visual Mockups inside Feature Sections */
.n-viz-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border-default);
}

.n-speaker-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.n-speaker-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}
.n-speaker-bubble {
    background: #f7f9fa;
    padding: 12px 16px;
    border-radius: 4px 16px 16px 16px;
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.n-task-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}
.n-task-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-strong);
    border-radius: 6px;
}
.n-task-check.done {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    position: relative;
}
.n-task-check.done::after {
    content: '';
    position: absolute;
    left: 6px; top: 2px;
    width: 4px; height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Bottom CTA */
.n-cta-section {
    text-align: center;
    padding: 120px 24px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.n-cta-h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.n-footer {
    padding: 60px 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background: white;
}

.n-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FAQ Section */
.n-faq-section {
    padding: 100px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.n-faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.n-faq-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.n-faq-item {
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px 0;
}

.n-faq-item details {
    width: 100%;
}

.n-faq-item summary {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    position: relative;
    padding-right: 32px;
}

.n-faq-item summary::-webkit-details-marker {
    display: none;
}
.n-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
    transition: transform 0.2s ease;
}

.n-faq-item details[open] summary::after {
    content: '−';
    transform: translateY(-50%);
}

.n-faq-item p {
    margin-top: 16px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Animations */
@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes dotPulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.n-animate-1 { animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.n-animate-2 { animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards; opacity: 0; }
.n-animate-3 { animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; opacity: 0; }
