/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-card: #161618;
    --bg-card-hover: #1a1a1d;
    
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --accent-primary: #f97316;
    --accent-secondary: #fb923c;
    --accent-glow: rgba(249, 115, 22, 0.15);
    
    --border-color: #27272a;
    --border-subtle: #1f1f23;
    
    --gradient-text: linear-gradient(135deg, #f97316 0%, #fbbf24 50%, #f97316 100%);
    --gradient-button: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --gradient-glow: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
    
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition-fast: 0.15s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal overflow on all sections */
section {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ===== Animated Background ===== */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-glow);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(251, 191, 36, 0.08);
    bottom: -200px;
    left: -200px;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 30px); }
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: var(--transition-medium);
}

.nav-scrolled {
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.logo-icon {
    width: 28px;
    height: 38px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-button);
    color: white;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-muted);
}

.btn-nav {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.paper-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.paper {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition-medium);
}

.paper-1 {
    width: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.paper-2 {
    width: 280px;
    top: 40%;
    left: 40%;
    transform: translate(-50%, -50%) rotate(-5deg);
    z-index: 2;
    opacity: 0.7;
}

.paper-3 {
    width: 260px;
    height: 200px;
    top: 60%;
    left: 60%;
    transform: translate(-50%, -50%) rotate(5deg);
    z-index: 1;
    opacity: 0.4;
}

.paper-header {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
}

.paper-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
}

.paper-title {
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.paper-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.line {
    height: 8px;
    background: var(--border-subtle);
    border-radius: 4px;
}

.line-full { width: 100%; }
.line-90 { width: 90%; }
.line-80 { width: 80%; }
.line-70 { width: 70%; }

.paper-tag {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.35rem 0.75rem;
    background: var(--accent-glow);
    color: var(--accent-primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: floatCard 6s ease-in-out infinite;
    z-index: 10;
}

.card-chat {
    top: 15%;
    right: 5%;
    animation-delay: -2s;
}

.card-graph {
    bottom: 15%;
    left: 5%;
}

.card-icon {
    font-size: 1.5rem;
}

.card-text {
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== Sections Common ===== */
section {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
}

/* ===== Features Section ===== */
.features {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-medium);
    opacity: 0;
    transform: translateY(30px);
    overflow: hidden;
    word-wrap: break-word;
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: var(--text-muted);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
}

.feature-card.animate-in:hover {
    transform: translateY(-5px);
}

.feature-large {
    grid-column: span 2;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.feature-visual {
    margin-top: 1.5rem;
}

.summary-visual {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.summary-badge {
    padding: 0.25rem 0.6rem;
    background: var(--accent-glow);
    color: var(--accent-primary);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.summary-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== How it Works ===== */
.how-it-works {
    padding: 8rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr 200px;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition-slow);
}

.step.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--border-color);
    font-weight: 400;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
}

.upload-zone span {
    font-size: 0.85rem;
}

.analysis-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.analysis-loader {
    width: 100px;
    height: 6px;
    background: var(--bg-card);
    border-radius: 3px;
    overflow: hidden;
}

.loader-bar {
    width: 60%;
    height: 100%;
    background: var(--gradient-button);
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.analysis-preview span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.explore-preview {
    position: relative;
    width: 100px;
    height: 100px;
}

.node {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.node-center {
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.node-1 { top: 20%; left: 10%; }
.node-2 { top: 25%; right: 10%; }
.node-3 { bottom: 10%; right: 30%; }

.connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--border-color);
}

/* ===== Pricing ===== */
.pricing {
    padding: 8rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-medium);
}

.pricing-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    border-color: var(--text-muted);
}

.pricing-popular {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.05) 0%, var(--bg-card) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 1rem;
    background: var(--gradient-button);
    color: white;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* International Pricing (USD/PayPal) */
.price-intl {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border-subtle);
}

.price-or {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-right: 0.25rem;
}

.price-amount-intl {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: #22c55e;  /* Green for USD */
}

.price-method {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

/* Pricing Stats Row */
.pricing-stats {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.pricing-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.pricing-stat .stat-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
}

.pricing-stat .stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Pro Max Card Styling */
.pricing-promax {
    border-color: #eab308;
    background: linear-gradient(180deg, rgba(234, 179, 8, 0.05) 0%, var(--bg-card) 100%);
}

.btn-promax {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: #000;
    box-shadow: 0 4px 20px rgba(234, 179, 8, 0.3);
}

.btn-promax:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(234, 179, 8, 0.4);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-features svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.pricing-promax .pricing-features svg {
    color: #eab308;
}

/* ===== Contact Page ===== */
.contact-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 10rem 2rem 4rem;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header .section-title {
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-medium);
}

.contact-card:hover {
    border-color: var(--text-muted);
    transform: translateY(-5px);
}

.contact-card-wide {
    grid-column: span 2;
    text-align: center;
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.contact-card-wide .contact-icon {
    margin: 0 auto 1.5rem;
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    font-weight: 500;
    transition: var(--transition-fast);
}

.contact-link:hover {
    gap: 0.75rem;
}

.contact-link svg {
    transition: var(--transition-fast);
}

.contact-cta {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-button);
}

.contact-cta h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.contact-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.nav-links a.active {
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card-wide {
        grid-column: span 1;
    }
}

/* ===== CTA Section ===== */
.cta {
    padding: 8rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-button);
}

.cta h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===== Footer ===== */
.footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

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

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

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

/* ===== Mobile Menu Button ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.mobile-menu-btn.active .hamburger {
    background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Desktop CTA button */
.desktop-cta {
    display: inline-flex;
}

.mobile-cta {
    display: none;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: 2;
        height: 350px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-large {
        grid-column: span 1;
    }
    
    .step {
        grid-template-columns: auto 1fr;
        gap: 1.5rem;
    }
    
    .step-visual {
        display: none;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Mobile menu button */
    .mobile-menu-btn {
        display: flex;
    }
    
    .desktop-cta {
        display: none;
    }
    
    .mobile-cta {
        display: inline-flex;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Mobile nav links */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 11, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 2rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 1001;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-links a {
        display: block;
        font-size: 1.5rem;
        padding: 1rem 0;
        text-align: center;
        color: var(--text-primary);
        border-bottom: 1px solid var(--border-subtle);
        width: 100%;
        max-width: 280px;
    }
    
    .nav-links a:last-of-type:not(.btn) {
        border-bottom: none;
    }
    
    .nav {
        padding: 0.75rem 1rem;
    }
    
    .nav-scrolled {
        padding: 0.5rem 1rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        width: 24px;
        height: 32px;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 5rem 1.5rem 3rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Section adjustments */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    
    section {
        padding: 4rem 1.5rem;
    }
    
    /* Features */
    .features {
        padding: 4rem 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    /* Teams section */
    .teams {
        padding: 4rem 1.5rem;
    }
    
    .teams-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .team-feature {
        padding: 1.25rem;
    }
    
    .team-feature h3 {
        font-size: 1rem;
    }
    
    /* Use cases */
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .use-case {
        padding: 1.5rem;
    }
    
    /* How it works */
    .steps {
        padding: 4rem 1.5rem;
    }
    
    .step {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .step-number {
        font-size: 2.5rem;
        margin: 0 auto;
    }
    
    /* Pricing */
    .pricing {
        padding: 4rem 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    /* Showcase */
    .showcase {
        padding: 4rem 1.5rem;
    }
    
    .showcase-item {
        flex-direction: column;
        text-align: center;
    }
    
    .showcase-item:nth-child(even) {
        flex-direction: column;
    }
    
    .showcase-image {
        max-width: 100%;
    }
    
    .showcase-content {
        max-width: 100%;
    }
    
    .showcase-content h3 {
        font-size: 1.25rem;
    }
    
    .showcase-features {
        text-align: left;
    }
    
    /* CTA */
    .cta {
        padding: 4rem 1.5rem;
    }
    
    .cta-content {
        padding: 2rem 1.5rem;
    }
    
    .cta h2 {
        font-size: 1.5rem;
    }
    
    .cta-note {
        font-size: 0.8rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Very small screens */
    .hero {
        padding: 4.5rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .nav-links a {
        font-size: 1.25rem;
        padding: 0.875rem 0;
    }
    
    /* Pricing badge */
    .plan-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
    
    /* Annotation preview */
    .annotation-preview {
        padding: 1rem;
    }
    
    .annotation-content {
        font-size: 0.85rem;
    }
}

/* Touch-friendly adjustments */
@media (pointer: coarse) {
    .btn {
        min-height: 48px;
        padding: 0.875rem 1.5rem;
    }
    
    .nav-links a {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .feature-card,
    .pricing-card,
    .team-feature,
    .use-case {
        cursor: default;
    }
}

/* ===== Product Showcase Section ===== */
.showcase {
    padding: 8rem 2rem;
    position: relative;
    z-index: 1;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-medium);
}

.showcase-item:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 60px rgba(249, 115, 22, 0.1);
}

.showcase-item:nth-child(even) {
    direction: rtl;
}

.showcase-item:nth-child(even) > * {
    direction: ltr;
}

.showcase-large {
    grid-template-columns: 1.2fr 0.8fr;
}

.showcase-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.showcase-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
    background: var(--bg-secondary);
    min-height: 200px;
}

/* Placeholder for missing images */
.showcase-image img[src=""],
.showcase-image img:not([src]) {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
    min-height: 300px;
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.02);
}

.showcase-content {
    padding: 1rem;
}

.showcase-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient-button);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.showcase-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.showcase-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.showcase-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.showcase-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .showcase-item,
    .showcase-large {
        grid-template-columns: 1fr;
    }
    
    .showcase-item:nth-child(even) {
        direction: ltr;
    }
    
    .showcase-content {
        padding: 0;
    }
}

/* ===== Teams Section ===== */
.teams {
    padding: 8rem 2rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(249, 115, 22, 0.03), transparent);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 0;
    text-align: center;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 4rem auto 0;
}

.team-feature {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(20px);
}

.team-feature.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.team-feature:hover {
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.team-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.team-feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-feature p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.teams-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
}

.teams-plans {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.plan-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 100px;
}

.plan-badge.plan-pro {
    border-color: var(--accent-primary);
    background: rgba(249, 115, 22, 0.1);
}

.plan-badge.plan-promax {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

.plan-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.plan-limit {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* ===== Annotation Preview ===== */
.annotation-preview {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-md);
}

.annotation-colors {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    transition: transform var(--transition-fast);
}

.color-dot:hover {
    transform: scale(1.2);
}

.feature-highlight {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(234, 88, 12, 0.05));
    border-color: rgba(249, 115, 22, 0.3);
}

.feature-highlight:hover {
    border-color: var(--accent-primary);
}

.highlight-yellow {
    background: rgba(254, 240, 138, 0.4) !important;
}

/* ===== Annotation Demo ===== */
.annotation-demo {
    width: 100%;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.highlight-line {
    height: 16px;
    border-radius: 4px;
    width: 80%;
}

.comment-bubble {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* ===== Use Cases Section ===== */
.use-cases {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 4rem auto 0;
}

.use-case {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(20px);
}

.use-case.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.use-case:hover {
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.use-case h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.use-case p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== CTA Note ===== */
.cta-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== Responsive for new sections ===== */
@media (max-width: 900px) {
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .teams-plans {
        flex-direction: column;
        align-items: stretch;
    }
    
    .plan-badge {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ===== Podcast Feature Styles ===== */
.feature-podcast {
    position: relative;
    overflow: hidden;
}

.feature-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.podcast-visual {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-md);
}

.podcast-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.podcast-wave {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 80px;
    justify-content: center;
}

.wave-bar {
    width: 8px;
    background: linear-gradient(180deg, #8b5cf6, #6366f1);
    border-radius: 4px;
    animation: wave 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }
.wave-bar:nth-child(7) { animation-delay: 0.6s; }

@keyframes wave {
    0%, 100% { height: 60%; opacity: 0.6; }
    50% { height: 100%; opacity: 1; }
}

.podcast-hosts {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.host {
    font-weight: 600;
}

.host-vs {
    font-size: 1.2rem;
    color: var(--accent-primary);
}

.podcast-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.podcast-tag {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* ===== Pricing Loader ===== */
.pricing-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
}

.loader {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.pricing-loading p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-error {
    grid-column: 1 / -1;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.pricing-error a {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* ===== Responsive Podcast Feature ===== */
@media (max-width: 768px) {
    .podcast-wave {
        height: 60px;
    }
    
    .podcast-hosts {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .podcast-highlights {
        justify-content: center;
    }
    
    .feature-badge {
        top: 1rem;
        right: 1rem;
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
    }
}

