/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #0a84ff;
    --blue-dark: #0055cc;
    --blue-light: #5ac8fa;
    --red: #ff3b30;
    --green: #30d158;

    /* Light mode (default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --surface: #f5f5f7;
    --surface-elevated: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.8);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.95);
    --border-color: rgba(0, 0, 0, 0.05);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --key-bg: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    --key-border: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #1c1c1e;
    --text-primary: #f5f5f7;
    --text-secondary: #98989d;
    --surface: #1c1c1e;
    --surface-elevated: #2c2c2e;
    --nav-bg: rgba(0, 0, 0, 0.8);
    --nav-bg-scrolled: rgba(0, 0, 0, 0.95);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --key-bg: linear-gradient(180deg, #2c2c2e 0%, #1c1c1e 100%);
    --key-border: rgba(255, 255, 255, 0.2);
}

/* Smooth theme transition */
body,
.nav,
.floating-card,
.feature-section,
.keyboard-visual,
.text-block,
.history-visual,
.step,
.feature-badge,
.footer,
.mode-card,
.pricing-card,
.stats-card {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: var(--nav-bg-scrolled);
    box-shadow: 0 2px 20px var(--shadow-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-logo img {
    border-radius: 6px;
}

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

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

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

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    width: 36px;
    height: 36px;
}

.theme-toggle:hover {
    background: var(--surface);
    color: var(--blue);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.8);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
}

[data-theme="dark"] .theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at 50% 50%,
        rgba(10, 132, 255, 0.1) 0%,
        rgba(90, 200, 250, 0.05) 30%,
        transparent 70%);
    animation: heroGlow 20s ease-in-out infinite;
    pointer-events: none;
}

[data-theme="dark"] .hero::before {
    background: radial-gradient(circle at 50% 50%,
        rgba(10, 132, 255, 0.15) 0%,
        rgba(90, 200, 250, 0.08) 30%,
        transparent 70%);
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, 5%) scale(1.1); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.05;
}

.hero-title-line {
    display: block;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.5;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    padding: 16px 32px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(10, 132, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(10, 132, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(10, 132, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--blue);
    background: rgba(10, 132, 255, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Hero Visual */
.hero-visual {
    margin-top: 80px;
    position: relative;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.floating-card {
    background: var(--surface-elevated);
    border-radius: 24px;
    padding: 48px;
    box-shadow:
        0 20px 60px var(--shadow-color),
        0 0 0 1px var(--border-color);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.waveform {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    height: 100px;
    margin-bottom: 24px;
}

.wave-bar {
    width: 6px;
    background: var(--red);
    border-radius: 3px;
    animation: wave1 0.8s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation: wave1 0.7s ease-in-out infinite; }
.wave-bar:nth-child(2) { animation: wave2 0.5s ease-in-out infinite; }
.wave-bar:nth-child(3) { animation: wave3 0.9s ease-in-out infinite; }
.wave-bar:nth-child(4) { animation: wave1 0.6s ease-in-out infinite; }
.wave-bar:nth-child(5) { animation: wave2 0.8s ease-in-out infinite; }
.wave-bar:nth-child(6) { animation: wave3 0.55s ease-in-out infinite; }
.wave-bar:nth-child(7) { animation: wave1 0.75s ease-in-out infinite; }
.wave-bar:nth-child(8) { animation: wave2 0.65s ease-in-out infinite; }
.wave-bar:nth-child(9) { animation: wave3 0.85s ease-in-out infinite; }

@keyframes wave1 {
    0%, 100% { height: 25px; }
    30% { height: 70px; }
    60% { height: 40px; }
    80% { height: 55px; }
}

@keyframes wave2 {
    0%, 100% { height: 35px; }
    25% { height: 80px; }
    50% { height: 30px; }
    75% { height: 60px; }
}

@keyframes wave3 {
    0%, 100% { height: 20px; }
    20% { height: 50px; }
    45% { height: 75px; }
    70% { height: 35px; }
}

.recording-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
}

.pulse {
    width: 12px;
    height: 12px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

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

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    opacity: 0.6;
}

/* Feature Sections */
.feature-section {
    padding: 120px 24px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    position: relative;
}

.feature-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.feature-section[data-feature="hotkeys"].visible::before,
.feature-section[data-feature="autopaste"].visible::before,
.feature-section[data-feature="history"].visible::before {
    background: radial-gradient(circle, rgba(10, 132, 255, 0.1) 0%, transparent 70%);
    opacity: 1;
}

.feature-section[data-feature="ai"].visible::before,
.feature-section[data-feature="rewrite"].visible::before,
.feature-section[data-feature="stats"].visible::before {
    background: radial-gradient(circle, rgba(90, 200, 250, 0.1) 0%, transparent 70%);
    opacity: 1;
}

.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-reverse .feature-container {
    direction: rtl;
}

.feature-reverse .feature-content,
.feature-reverse .feature-visual {
    direction: ltr;
}

.feature-content {
    z-index: 1;
}

.feature-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.1;
}

.feature-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    font-size: 18px;
    color: var(--text-secondary);
}

.feature-list li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
}

.feature-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: bold;
}

/* Feature Visuals */
.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.keyboard-visual {
    background: var(--surface-elevated);
    border-radius: 24px;
    padding: 48px;
    box-shadow:
        0 30px 80px var(--shadow-color),
        0 0 0 1px var(--border-color);
    transform: scale(0.9);
    transition: transform 0.6s ease;
}

.feature-section.visible .keyboard-visual {
    transform: scale(1);
}

.key-combo {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.key-combo-small {
    margin-top: 24px;
}

.key {
    width: 60px;
    height: 60px;
    background: var(--key-bg);
    border: 1px solid var(--key-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow:
        0 2px 8px var(--shadow-color),
        0 8px 16px var(--shadow-color);
}

.key.small {
    width: 44px;
    height: 44px;
    font-size: 18px;
}

.plus {
    color: var(--text-secondary);
    font-size: 24px;
    font-weight: 300;
}

.key-combo-small .plus {
    font-size: 18px;
}

.language-badge {
    text-align: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
}

.language-badge-alt {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%);
    font-size: 14px;
    padding: 8px 16px;
    opacity: 0.8;
}

/* AI Visual */
.ai-visual {
    position: relative;
    width: 300px;
    height: 300px;
}

.ai-brain {
    position: relative;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

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

.neural-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(10, 132, 255, 0.6);
    animation: nodePulse 3s ease-in-out infinite;
}

.neural-node:nth-child(1) { top: 10%; left: 50%; animation-delay: 0s; }
.neural-node:nth-child(2) { top: 40%; left: 80%; animation-delay: 0.5s; }
.neural-node:nth-child(3) { top: 70%; left: 70%; animation-delay: 1s; }
.neural-node:nth-child(4) { top: 60%; left: 20%; animation-delay: 1.5s; }

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.8; }
}

.neural-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
    transform-origin: left center;
    opacity: 0.4;
    animation: connectionPulse 4s ease-in-out infinite;
}

.neural-connection:nth-child(5) {
    top: 15%;
    left: 50%;
    width: 150px;
    transform: rotate(45deg);
}

.neural-connection:nth-child(6) {
    top: 45%;
    left: 30%;
    width: 200px;
    transform: rotate(-15deg);
}

.neural-connection:nth-child(7) {
    top: 65%;
    left: 40%;
    width: 120px;
    transform: rotate(30deg);
}

@keyframes connectionPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

/* Powered By */
.powered-by {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.powered-by-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.provider-pill {
    padding: 6px 16px;
    background: var(--surface);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

/* Accuracy Stats */
.accuracy-stats {
    display: flex;
    gap: 48px;
    margin-top: 32px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Paste Visual */
.paste-visual {
    display: flex;
    align-items: center;
    gap: 32px;
}

.clipboard-icon {
    color: var(--blue);
    animation: float 4s ease-in-out infinite;
}

.paste-animation {
    font-size: 48px;
    color: var(--blue-light);
    animation: slideRight 2s ease-in-out infinite;
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(20px); opacity: 0.5; }
}

/* Rewrite Visual */
.rewrite-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.text-block {
    background: var(--surface-elevated);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px var(--shadow-color);
    width: 100%;
    max-width: 400px;
}

.text-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.refined .text-label {
    color: var(--blue);
}

.text-block p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}

.transform-arrow {
    font-size: 32px;
    color: var(--blue);
    font-weight: bold;
    animation: bounce 2s ease-in-out infinite;
}

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

.style-tag {
    padding: 12px 20px;
    background: rgba(10, 132, 255, 0.08);
    border: 1px solid rgba(10, 132, 255, 0.2);
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.style-tag:hover {
    background: rgba(10, 132, 255, 0.15);
    transform: translateY(-2px);
}

/* History Visual */
.history-visual {
    background: var(--surface-elevated);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 40px var(--shadow-color);
}

.history-item {
    padding: 16px;
    background: var(--surface);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.history-time {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.history-text {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.history-actions {
    display: flex;
    gap: 12px;
}

.action-icon {
    font-size: 16px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

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

/* Stats Visual */
.stats-visual {
    display: flex;
    justify-content: center;
}

.stats-card {
    background: var(--surface-elevated);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 60px var(--shadow-color), 0 0 0 1px var(--border-color);
    width: 100%;
    max-width: 380px;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    gap: 24px;
}

.mini-stat {
    text-align: center;
    padding: 8px 0;
}

.mini-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1.2;
}

.mini-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mini-heatmap {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.heatmap-row {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.heatmap-cell {
    width: 36px;
    height: 24px;
    background: var(--blue);
    border-radius: 4px;
}

/* How It Works Section */
.how-it-works {
    padding: 120px 24px;
    background: linear-gradient(180deg,
        rgba(10, 132, 255, 0.03) 0%,
        rgba(90, 200, 250, 0.03) 100%);
}

[data-theme="dark"] .how-it-works {
    background: linear-gradient(180deg,
        rgba(10, 132, 255, 0.05) 0%,
        rgba(90, 200, 250, 0.05) 100%);
}

.section-title {
    text-align: center;
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.how-it-works .section-title {
    margin-bottom: 80px;
}

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

.step {
    text-align: center;
    position: relative;
    padding: 32px 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-icon {
    font-size: 64px;
    margin: 48px 0 24px;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Cloud vs BYOK Section */
.modes-section {
    padding: 120px 24px;
}

.modes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto 32px;
}

.mode-card {
    background: var(--surface-elevated);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 8px 32px var(--shadow-color);
    border: 1px solid var(--border-color);
    text-align: center;
}

.mode-card-alt {
    border-color: rgba(10, 132, 255, 0.2);
}

.mode-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.mode-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mode-tagline {
    font-size: 16px;
    color: var(--blue);
    font-weight: 500;
    margin-bottom: 24px;
}

.mode-features {
    list-style: none;
    text-align: left;
    font-size: 16px;
    color: var(--text-secondary);
}

.mode-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.mode-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: bold;
}

.modes-note {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Section */
.pricing-section {
    padding: 120px 24px;
    background: var(--bg-secondary);
}

[data-theme="dark"] .pricing-section {
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 48px;
}

.pricing-card {
    background: var(--surface-elevated);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card-popular {
    border-color: var(--blue);
    box-shadow: 0 8px 32px rgba(10, 132, 255, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blue);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-period {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.pricing-quota {
    font-size: 16px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

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

.pricing-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

.pricing-notes {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-notes p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* Download Section */
.download-section {
    padding: 120px 24px;
    text-align: center;
}

.download-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.download-cta {
    margin-bottom: 64px;
}

.btn-large {
    padding: 20px 48px;
    font-size: 20px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(10, 132, 255, 0.3);
}

.btn-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(10, 132, 255, 0.4);
}

.system-requirements {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: var(--surface);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: var(--surface-elevated);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-color);
}

.badge-icon {
    font-size: 32px;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 64px 24px 32px;
}

[data-theme="dark"] .footer {
    background: #1c1c1e;
    color: var(--text-primary);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
}

.footer-logo img {
    border-radius: 6px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

[data-theme="dark"] .footer-links a {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--text-primary);
}

.footer-powered-by {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 16px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .footer-powered-by {
    color: var(--text-secondary);
}

.footer-provider {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .footer-provider {
    color: var(--text-secondary);
}

.footer-divider {
    margin: 0 4px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.footer-bottom p {
    margin: 8px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero {
        padding: 100px 16px 60px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

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

    .floating-card {
        padding: 32px 24px;
    }

    .feature-section {
        padding: 80px 16px;
    }

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

    .feature-reverse .feature-container {
        direction: ltr;
    }

    .feature-title {
        font-size: 36px;
    }

    .feature-description {
        font-size: 18px;
    }

    .accuracy-stats {
        gap: 32px;
    }

    .stat-value {
        font-size: 40px;
    }

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

    .steps {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .section-title {
        font-size: 40px;
    }

    .how-it-works {
        padding: 80px 16px;
    }

    .modes-section {
        padding: 80px 16px;
    }

    .modes-grid {
        grid-template-columns: 1fr;
    }

    .pricing-section {
        padding: 80px 16px;
    }

    .pricing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .download-section {
        padding: 80px 16px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .key-combo {
        gap: 8px;
    }

    .key {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .key.small {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .plus {
        font-size: 18px;
    }

    .waveform {
        gap: 4px;
    }

    .wave-bar {
        width: 4px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
