:root {
    --bg-dark: #121212; /* Neutral dark, less blue */
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary: #f97316;
    --primary-hover: #ea580c;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --border: rgba(249, 115, 22, 0.15); /* Orange-tinted border */
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effect */
.glow-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Shifted towards orange/warm glow */
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.08) 0%, rgba(18, 18, 18, 0) 50%);
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5%; /* Reduced padding */
    max-width: 1200px;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    /* Use the orange color for the icon container */
    color: var(--primary);
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: white;
}

.logo-text span {
    color: var(--primary);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-links .btn-primary {
    color: white;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 10px 20px; /* Condensed */
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

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

.btn-primary.small {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-primary.disabled {
    background: #27272a;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    transform: none;
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: white;
    padding: 10px 20px; /* Condensed */
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

/* Hero */
.hero {
    padding: 60px 5% 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.badge {
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(249, 115, 22, 0.25);
}

.hero h1 {
    font-size: 48px; /* Slightly smaller for compactness */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #f97316 20%, #ffedd5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
    margin-left: auto; /* Ensure centering works if width is constrained */
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    justify-content: center; /* Explicitly center buttons */
}

.stats {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    justify-content: center; /* Fix centering */
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-sub {
    font-size: 11px;
    color: #f97316;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Browser Mockup */
.browser-mockup {
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
    overflow: hidden;
    margin: 0 auto;
    transform: rotateX(2deg);
    transition: transform 0.3s ease;
}

.browser-mockup:hover {
    transform: rotateX(0deg);
}

.browser-header {
    background: #1a1a1a;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.browser-address-bar {
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    flex: 1;
    text-align: center;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

/* Feature Callouts */
.callout {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
    pointer-events: none;
}

.callout-line {
    width: 60px;
    height: 1px;
    background: #fff;
    position: relative;
    box-shadow: 0 0 5px rgba(255,255,255,0.5);
}

.callout-line::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    right: 0;
    top: -2.5px;
    box-shadow: 0 0 8px rgba(255,255,255,0.8);
}

.callout-text {
    background: rgba(249, 115, 22, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    white-space: nowrap;
}

/* Callout Positioning */
.callout-subtitles {
    top: 45%;
    left: 10%;
    flex-direction: row-reverse; /* Line points right */
}
.callout-subtitles .callout-line::before {
    right: auto;
    left: 0;
}

.callout-score {
    top: 20%;
    right: 15%;
}
.callout-score .callout-line {
    width: 40px;
}

.callout-controls {
    bottom: 25%;
    right: 15%;
}
.callout-controls .callout-line {
    width: 50px;
    transform: rotate(15deg);
    transform-origin: right center;
}

.screen-placeholder {
    height: 600px;
    background: #000;
    position: relative;
    display: flex;
    overflow: hidden;
}

/* AI Analysis Mockup - New Styles */
.screen-placeholder {
    height: auto;
    min-height: 500px;
    background: #09090b; /* Very dark, almost black */
    position: relative;
    display: flex;
    overflow: hidden;
}

.ai-analysis-view {
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.ai-mockup-container {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 10;
}

.ai-card {
    background: rgba(39, 39, 42, 0.4); /* Zinc-800 low opacity */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle border */
    border-radius: 12px;
    padding: 16px 20px;
    backdrop-filter: blur(10px);
}

/* Header Card: AI Coach */
.header-card {
    background: linear-gradient(180deg, rgba(147, 51, 234, 0.1) 0%, rgba(39, 39, 42, 0.4) 100%); /* Slight purple tint for coach or keep orange */
    /* User asked for less color, so let's stick to neutral/orange but maybe subtle tint is okay. sticking to orange/neutral. */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(39, 39, 42, 0.4) 100%);
    border-color: rgba(255,255,255,0.1);
}

.ai-coach-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #a1a1aa;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    /* text-transform: uppercase; Removed for elegance */
}

.coach-icon { font-size: 16px; }

.ai-feedback-text {
    font-size: 15px;
    color: white;
    font-weight: 500;
    line-height: 1.5;
}

/* Metrics Row */
.ai-metrics-row {
    display: flex;
    gap: 12px;
}

.ai-metric {
    flex: 1;
    background: rgba(39, 39, 42, 0.4);
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.05);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.metric-header span:first-child {
    font-size: 12px;
    color: #a1a1aa;
}

.metric-score {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary); /* Orange */
}

.metric-progress {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
}

/* Heard Section */
.heard-card {
    border-left: 3px solid #6366f1; /* Indigo accent or keep orange? User said orange. Let's use orange */
    border-left: 3px solid var(--primary);
}

.card-label {
    font-size: 11px;
    font-weight: 700;
    color: #71717a;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase; /* Standard for labels */
}

.card-label.center {
    text-align: center;
    margin-bottom: 16px;
}

.heard-text {
    font-size: 16px;
    color: #e4e4e7;
    font-style: italic;
    line-height: 1.5;
}

/* Word Analysis - Elegant Bubble style */
.ai-word-analysis {
    /* No bg, just bubble nodes */
    background: transparent;
    padding: 24px 0;
    position: relative;
    border: none;
}

.word-analysis-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.word-analysis-row.main-word {
    margin-top: 24px;
}

.word-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.node-score {
    background: #27272a;
    color: #a1a1aa;
    font-size: 11px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.word-node.large .node-score {
    background: #ef4444; /* Red for mispronunciation */
    color: white;
}

.node-word {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.word-node.large .node-word {
    font-size: 20px;
    font-weight: 700;
}

.text-orange { color: var(--primary); }
.text-green { color: #10b981; }
.text-red { color: #ef4444; }

.node-tag {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
    color: #a1a1aa;
    font-weight: 500;
}

.node-tag.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Mockup Overlay Background - Elegant Gradient */
.screen-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Soft orange/purple glow from bottom */
    background: radial-gradient(circle at 50% 100%, rgba(99, 102, 241, 0.15) 0%, rgba(0,0,0,0) 50%);
    pointer-events: none;
    z-index: 0;
}

/* Practice Panel (Right 30%) */
.practice-panel {
    flex: 3;
    background: #1e293b;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.logo-icon {
    font-size: 20px;
}

.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.logo-accent {
    color: var(--primary);
}

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

.feedback-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #94a3b8;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.credits {
    font-size: 12px;
    color: #94a3b8;
}

.panel-settings {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.setting-dropdown {
    flex: 1;
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.panel-content {
    padding: 20px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content-text {
    text-align: center;
}

.content-target {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
}

.content-native {
    font-size: 14px;
    color: #94a3b8;
}

.score-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
}

.score-circle-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(#10b981 86%, rgba(255,255,255,0.1) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-circle-large::before {
    content: '';
    position: absolute;
    width: 68px;
    height: 68px;
    background: #1e293b;
    border-radius: 50%;
}

.score-number {
    position: relative;
    z-index: 1;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.score-info {
    text-align: left;
}

.score-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.score-status {
    font-size: 18px;
    font-weight: 700;
    color: #10b981;
}

.metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.metric-label {
    font-size: 12px;
    color: #94a3b8;
    width: 90px;
}

.metric-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #fbbf24 100%);
    border-radius: 3px;
}

.metric-value {
    font-size: 14px;
    font-weight: 600;
    color: white;
    width: 30px;
    text-align: right;
}

.records-section {
    background: rgba(255,255,255,0.03);
    padding: 12px;
    border-radius: 8px;
}

.records-label {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.record-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.record-icon {
    font-size: 12px;
}

.record-name {
    color: white;
    flex: 1;
}

.record-time {
    color: #64748b;
    font-size: 11px;
}

.record-score {
    color: #10b981;
    font-weight: 600;
}

.panel-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: rgba(255,255,255,0.1);
}

.grade-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.2s;
}

.grade-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Simulate cloud/scenery overlay */
.screen-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.4) 0%, transparent 20%),
        radial-gradient(circle at 20% 60%, rgba(255,255,255,0.3) 0%, transparent 25%);
    filter: blur(20px);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 60px;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.2s;
}

.play-button-overlay:hover {
    background: rgba(249, 115, 22, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.subtitle-container {
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    position: relative;
    z-index: 10;
}

.sub-target {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.sub-native {
    font-size: 24px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.score-card-container {
    position: absolute;
    top: 30px;
    right: 30px;
}

.score-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

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

.score-circle {
    width: 50px;
    height: 50px;
    background: conic-gradient(#10b981 95%, rgba(255,255,255,0.1) 0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.score-circle::before {
    content: '95';
    position: absolute;
    background: #000;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.score-details {
    text-align: left;
}

.score-label {
    font-size: 11px;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-text {
    font-size: 16px;
    font-weight: 700;
    color: #34d399;
}

.video-controls-fake {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.progress-bar-fake {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    position: relative;
}

.progress-fill {
    width: 15%; /* 2:14 / 14:30 approx */
    height: 100%;
    background: #f00;
    border-radius: 2px;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 12px;
    height: 12px;
    background: #f00;
    border-radius: 50%;
}

.controls-row {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
    font-size: 14px;
}

.control-icon {
    font-size: 18px;
    opacity: 0.9;
}

.time-display {
    font-family: monospace;
    font-size: 12px;
    opacity: 0.8;
}

/* Features */
.features {
    padding: 50px 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.2s;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(249, 115, 22, 0.3);
}

.icon {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--primary); /* Orange icons */
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.feature-list {
    margin-top: 12px;
    list-style: none;
    text-align: left;
    background: rgba(255,255,255,0.03);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-list li {
    font-size: 13px;
    color: #e4e4e7;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list strong {
    color: white;
}

/* Steps */
.steps {
    padding: 50px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.steps h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: var(--border);
    z-index: 0;
    opacity: 0.5;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 40px;
    height: 40px;
    background: #121212; /* Match new bg */
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.2);
}

.step h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Pricing */
.pricing {
    padding: 50px 5%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pricing h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.price-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.price-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    text-align: center;
}

.price-card.pro {
    border-color: var(--primary);
    background: rgba(249, 115, 22, 0.05);
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.price-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.price {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
}

.price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}

.price-card ul {
    list-style: none;
    margin-bottom: 30px;
    display: inline-block;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.price-card li {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 14px;
}

.price-card .btn-secondary,
.price-card .btn-primary {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: auto;
    /* Ensure padding is consistent */
    padding: 10px 20px;
}


/* Pricing Info */
.info-icon {
    font-size: 14px;
    cursor: help;
    margin-left: 6px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

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

.credit-explanation {
    font-size: 13px !important;
    color: var(--primary) !important;
    margin-top: -8px !important;
    margin-left: 0;
    display: block;
    margin-top: 4px !important;
    font-style: italic;
    opacity: 0.9;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 60px 5% 30px;
    margin-top: 60px;
    background: rgba(0,0,0,0.2);
}

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

.footer-col h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-col p, .footer-col a {
    color: var(--text-muted);
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
}

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

.copyright {
    text-align: center;
    color: #52525b;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
}

/* Privacy/Terms Page Overrides */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 5%;
}

.legal-page h1 {
    font-size: 36px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.legal-content h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: white;
}

.legal-content h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #e4e4e7;
}

.legal-content p, .legal-content li {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.7;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-main);
    position: relative;
    z-index: 101;
}

.hamburger-icon,
.close-icon {
    transition: opacity 0.2s;
}

.hamburger .close-icon {
    display: none;
}

.hamburger.active .hamburger-icon {
    display: none;
}

.hamburger.active .close-icon {
    display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Navbar */
    .navbar {
        padding: 12px 5%;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 100;
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 16px;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links .btn-primary {
        margin-top: 20px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Hero Section */
    .hero {
        padding: 40px 5% 30px;
    }

    .hero h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 40px;
    }

    .cta-group a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .stats {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 40px;
    }

    .stat-item {
        width: 100%;
    }

    /* Browser Mockup */
    .browser-mockup {
        transform: none;
    }

    .browser-mockup:hover {
        transform: none;
    }

    .screen-placeholder {
        min-height: 400px;
    }

    .ai-mockup-container {
        max-width: 100%;
        padding: 10px;
    }

    .ai-metrics-row {
        flex-direction: column;
        gap: 10px;
    }

    .word-analysis-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Features */
    .features {
        padding: 40px 5%;
    }

    .features h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
    }

    /* Steps */
    .steps {
        padding: 40px 5%;
    }

    .steps h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .steps-container {
        flex-direction: column;
        gap: 30px;
    }

    .steps-container::before {
        display: none;
    }

    /* Pricing */
    .pricing {
        padding: 40px 5%;
    }

    .pricing h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .price-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .price-card {
        padding: 24px;
    }

    .price {
        font-size: 32px;
    }

    /* Footer */
    footer {
        padding: 40px 5% 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-col {
        text-align: center;
    }

    /* Legal Pages */
    .legal-page {
        padding: 30px 5%;
    }

    .legal-page h1 {
        font-size: 28px;
    }

    .legal-content h2 {
        font-size: 20px;
    }

    .legal-content h3 {
        font-size: 16px;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 42px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container {
        gap: 20px;
    }

    .browser-mockup {
        max-width: 700px;
    }
}
