/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-inline-size: var(--measure, none);
}

:root {
    --ratio: 1.5;
    --s-5: calc(var(--s-4) / var(--ratio));
    --s-4: calc(var(--s-3) / var(--ratio));
    --s-3: calc(var(--s-2) / var(--ratio));
    --s-2: calc(var(--s-1) / var(--ratio));
    --s-1: calc(var(--s0) / var(--ratio));
    --s0: 1rem;
    --s1: calc(var(--s0) * var(--ratio));
    --s2: calc(var(--s1) * var(--ratio));
    --s3: calc(var(--s2) * var(--ratio));
    --s4: calc(var(--s3) * var(--ratio));
    --s5: calc(var(--s4) * var(--ratio));
    --measure: 65ch;
    --border-thin: 1px;
    --space-quarter: calc(var(--s0) / 4);
    --space-half: calc(var(--s0) / 2);
    --space-three-quarter: calc(var(--s0) * 0.75);
    --space-xxs: var(--s-2);
    --space-xs: var(--s-1);
    --space-sm: var(--s0);
    --space-md: var(--s1);
    --space-lg: var(--s2);
    --space-xl: var(--s3);
    --space-2xl: var(--s4);
    --space-3xl: var(--s5);
    
    /* Typography scale using modular ratio */
    --font-size-sm: calc(1rem / var(--ratio));
    --font-size-base: 1rem;
    --font-size-md: calc(1rem * var(--ratio));
    --font-size-lg: calc(1rem * var(--ratio) * var(--ratio));
    --font-size-xl: calc(1rem * var(--ratio) * var(--ratio) * var(--ratio));
    
    /* Color gradients */
    --color-purple-gradient: linear-gradient(135deg, #8b5cf6, #a855f7);
    --color-blue-gradient: linear-gradient(135deg, #3b82f6, #1d4ed8);
    --color-green-gradient: linear-gradient(135deg, #059669, #10b981);
    --color-gold-gradient: linear-gradient(to right, #fbbf24, #f59e0b);
    --color-indigo-gradient: linear-gradient(135deg, #667eea, #764ba2);
}

html,
body,
div,
header,
nav,
main,
footer,
section {
    max-inline-size: none;
}

html {
    scroll-behavior: smooth;
    /* Fluid typography - scales from 1rem minimum with viewport */
    font-size: calc(1rem + 0.25vw);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #faf9f7;
}

/* Layout primitives */
.stack {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.stack > * {
    margin-block: 0;
}

.stack > * + * {
    margin-block-start: var(--stack-space, var(--s1));
}

/* Stack splitting - push items apart */
.stack[data-split-after="1"] > :nth-child(1) {
    margin-block-end: auto;
}

.stack[data-split-after="2"] > :nth-child(2) {
    margin-block-end: auto;
}

.stack[data-split-after="3"] > :nth-child(3) {
    margin-block-end: auto;
}

.cluster {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cluster-space, var(--s1));
    justify-content: var(--cluster-justify, flex-start);
    align-items: var(--cluster-align, center);
}

/* Cover primitive - for hero/full-height sections */
.cover {
    display: flex;
    flex-direction: column;
    min-block-size: var(--cover-min-height, 100vh);
    padding: var(--cover-padding, var(--s1));
}

.cover > * {
    margin-block: var(--cover-space, var(--s1));
}

.cover > :first-child:not(.cover-centered) {
    margin-block-start: 0;
}

.cover > :last-child:not(.cover-centered) {
    margin-block-end: 0;
}

.cover > .cover-centered {
    margin-block: auto;
}

.center {
    box-sizing: content-box;
    max-inline-size: var(--center-max, var(--measure));
    margin-inline: auto;
    padding-inline: var(--center-gutter, var(--s1));
}

.switcher {
    display: flex;
    flex-wrap: wrap;
    gap: var(--switcher-space, var(--s1));
}

.switcher > * {
    flex-grow: 1;
    flex-basis: calc((var(--switcher-threshold, 30rem) - 100%) * 999);
}

.box {
    padding: var(--box-padding, var(--s1));
    border: var(--box-border-width, var(--border-thin)) solid currentColor;
    outline: var(--box-border-width, var(--border-thin)) solid transparent;
    outline-offset: calc(var(--box-border-width, var(--border-thin)) * -1);
}

.box * {
    color: inherit;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    inline-size: 100%;
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: var(--space-sm) 0;
}

.nav-container {
    max-inline-size: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a1a1a;
}

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

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #1a1a1a;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-inline-end: var(--space-sm);
}

.language-dropdown-toggle {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: var(--space-half) var(--space-three-quarter);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.language-dropdown-toggle:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

.current-language {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.flag {
    font-size: 1rem;
}

.lang-code {
    font-weight: 600;
    color: #8b5cf6;
}

.dropdown-arrow {
    font-size: 0.7rem;
    color: #8b5cf6;
    transition: transform 0.2s ease;
}

.language-dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    inset-inline-end: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-inline-size: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: var(--space-three-quarter) var(--space-sm);
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 8px;
    margin: var(--space-quarter);
}

.language-option:hover {
    background: rgba(139, 92, 246, 0.1);
}

.language-option.active {
    background: rgba(139, 92, 246, 0.2);
}

.lang-name {
    font-weight: 500;
    color: #1a1a1a;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.nav-cta .cta-primary {
    background: var(--color-purple-gradient);
    color: white;
    border: none;
    padding: var(--space-three-quarter) var(--space-md);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.nav-cta .cta-primary:hover {
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-block-size: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #faf9f7 0%, #f3f1ec 100%);
    padding-block-start: calc(var(--space-2xl) + var(--space-sm));
    --center-max: 1200px;
    --center-gutter: var(--s2);
}

.hero-content {
    flex: 1;
    --switcher-space: var(--s4);
    --switcher-threshold: 48rem;
    align-items: center;
}

.hero-content > * {
    flex: 1 1 20rem;
}

.hero-text {
    --stack-space: var(--s2);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-block-end: var(--space-md);
    color: #1a1a1a;
}

.hero-highlight {
    color: #1a1a1a;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-block-end: calc(var(--space-md) + var(--space-sm));
    line-height: 1.5;
}

.hero-buttons {
    --stack-space: var(--s0);
}

.hero-cta {
    --cluster-space: var(--s0);
    --cluster-justify: flex-start;
}

.cta-primary {
    background: var(--color-purple-gradient);
    color: white;
    border: none;
    padding: var(--space-sm) var(--space-lg);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.cta-primary.large {
    font-size: 1.3rem;
    padding: calc(var(--space-sm) + var(--space-quarter)) calc(var(--space-xl) - var(--space-quarter));
}

.cta-secondary {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border: 2px solid #8b5cf6;
    padding: calc(var(--space-sm) - var(--space-quarter) / 2) calc(var(--space-lg) - var(--space-quarter) / 2);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: #8b5cf6;
    color: white;
    transform: translateY(-1px);
}

.platform-text {
    color: #888;
    font-size: 0.9rem;
}

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

.voice-demo {
    background: white;
    border-radius: 20px;
    padding: var(--space-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-inline-size: 400px;
    inline-size: 100%;
    --box-border-width: 0;
}

.voice-input {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-block-end: var(--space-md);
}

.microphone-icon {
    font-size: 2rem;
    background: var(--color-green-gradient);
    padding: var(--space-sm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-wave {
    flex: 1;
    block-size: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.text-output {
    padding: var(--space-sm);
    background: #f8fafc;
    border-radius: 10px;
    font-style: italic;
    color: #475569;
}

/* Speed Section */
.speed-section {
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    background: white;
}

.speed-content {
    --stack-space: var(--s2);
    text-align: center;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-block-end: var(--space-md);
    color: #1a1a1a;
}

.highlight-underline {
    background: var(--color-gold-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    block-size: 4px;
    background: var(--color-gold-gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-inline-size: 800px;
    margin: 0 auto var(--space-xl);
    line-height: 1.6;
}

.speed-comparison {
    max-inline-size: 600px;
    margin-inline: auto;
    margin-block-end: var(--s3);
    --switcher-space: var(--s2);
    --switcher-threshold: 26rem;
    justify-content: center;
}

.speed-comparison > * {
    flex: 1 1 16rem;
}

.comparison-card {
    background: #f8fafc;
    padding: var(--space-lg);
    border-radius: 15px;
    text-align: center;
    --box-border-width: 0;
    --stack-space: var(--s0);
}

.comparison-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-block-end: var(--space-sm);
    color: #475569;
}

.wpm {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.voice-card {
    background: var(--color-blue-gradient);
    color: white;
}

.voice-card h3,
.voice-card .wpm {
    color: white;
}

.cta-buttons {
    --cluster-space: var(--s1);
    --cluster-justify: center;
}

/* Use Cases Section */
.use-cases {
    padding: var(--space-2xl) var(--space-lg);
    background: linear-gradient(135deg, #1f2937, #111827);
    color: white;
}

.use-cases-inner {
    --stack-space: var(--s4);
}

.use-cases-header {
    text-align: center;
}

.use-cases-header > * {
    margin-inline: auto;
}

.use-cases-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-block-end: var(--space-sm);
}

.use-cases-header p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-block-end: var(--space-lg);
}

.cta-demo {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: calc(var(--space-sm) - var(--space-quarter) / 2) calc(var(--space-lg) - var(--space-quarter) / 2);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-demo:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.affiliate-note {
    font-size: 0.65rem;
    color: #999;
    font-style: italic;
    font-weight: 400;
    text-align: center;
    line-height: 1.2;
    margin-block-start: calc(var(--space-sm) * 0.4);
}

.apps-showcase {
    max-inline-size: 1000px;
    margin: 0 auto;
    --switcher-space: var(--s3);
    --switcher-threshold: 40rem;
    align-items: center;
}

.apps-showcase > * {
    flex: 1 1 20rem;
}

.app-icons {
    --stack-space: var(--s2);
}

.platform-badges {
    --cluster-space: var(--s1);
    margin-block-end: var(--space-lg);
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-half) var(--space-sm);
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popular-apps {
    --cluster-space: var(--s1);
    flex-wrap: wrap;
}

.app-icon {
    inline-size: 60px;
    block-size: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.phone-mockup {
    background: #000;
    border-radius: 25px;
    padding: var(--space-lg);
    max-inline-size: 300px;
    margin: 0 auto;
}

.message-thread {
    background: #1a1a1a;
    border-radius: 15px;
    padding: var(--space-md);
}

.message {
    margin-block-end: var(--space-sm);
    padding: var(--space-three-quarter) var(--space-sm);
    border-radius: 15px;
    max-inline-size: 80%;
}

.message.received {
    background: #374151;
    margin-inline-end: auto;
}

.message.sent {
    background: #3b82f6;
    margin-inline-start: auto;
}

.message-input {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-block-start: var(--space-sm);
    padding: var(--space-three-quarter);
    background: #374151;
    border-radius: 20px;
}

.typing-indicator {
    flex: 1;
    color: #9ca3af;
    font-style: italic;
}

.mic-button {
    inline-size: 40px;
    block-size: 40px;
    border-radius: 50%;
    background: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

/* Trusted By Section */
.trusted-by {
    padding: var(--space-2xl) var(--space-lg);
    background: var(--color-green-gradient);
    color: white;
}

.trusted-content {
    max-inline-size: 1000px;
    margin: 0 auto;
    --switcher-space: var(--s3);
    --switcher-threshold: 35rem;
    align-items: center;
}

.trusted-illustration {
    font-size: 6rem;
}

.trusted-text {
    --stack-space: var(--s2);
}

.trusted-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
}

.company-logos {
    --cluster-space: var(--s2);
    align-items: center;
}

.logo {
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    background: #1f2937;
    color: white;
}

.features h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-block-end: var(--space-xl);
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-block-end: var(--space-xl);
}

.tag {
    padding: var(--space-three-quarter) var(--space-md);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 25px;
    color: #a855f7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag.active,
.tag:hover {
    background: #8b5cf6;
    color: white;
}

.feature-showcase {
    max-inline-size: 800px;
    margin: 0 auto;
    --switcher-space: var(--s3);
    --switcher-threshold: 46rem;
    align-items: center;
    text-align: left;
}

.feature-showcase > * {
    flex: 1 1 20rem;
}

.feature-content {
    --stack-space: var(--s2);
}

.feature-content h3 {
    font-size: 1.8rem;
    margin-block-end: var(--space-sm);
}

.feature-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-block-end: var(--space-lg);
    opacity: 0.9;
}

.feature-buttons {
    --cluster-space: var(--s1);
}

.feature-visual {
    font-size: 4rem;
}

/* AI Features Section */
.ai-features {
    padding: var(--space-2xl) var(--space-lg);
    background: white;
}

.ai-demo {
    max-inline-size: 1000px;
    margin: 0 auto;
    text-align: center;
    --stack-space: var(--s2);
}

.ai-demo h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-block-end: var(--space-md);
    color: #1a1a1a;
}

.ai-demo p {
    font-size: 1.1rem;
    color: #666;
    margin-block-end: var(--space-xl);
    max-inline-size: 700px;
    margin-inline-start: auto;
    margin-inline-end: auto;
}

.editing-demo {
    --switcher-space: var(--s2);
    --switcher-threshold: 42rem;
    margin-block-end: var(--space-xl);
}

.editing-demo > * {
    flex: 1 1 20rem;
}

.raw-speech,
.edited-text {
    background: #f8fafc;
    padding: var(--space-lg);
    border-radius: 15px;
    position: relative;
}

.edit-tag {
    position: absolute;
    top: -10px;
    background: #fbbf24;
    color: white;
    padding: var(--space-quarter) var(--space-three-quarter);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.edit-tag:nth-child(2) {
    inset-inline-start: 120px;
    background: #10b981;
}

.edit-tag:nth-child(3) {
    inset-inline-start: 240px;
    background: #3b82f6;
}

.speech-bubble {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid #ef4444;
    border-radius: 10px;
    padding: var(--space-md);
    position: relative;
}

.text-box {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    border-radius: 10px;
    padding: var(--space-md);
}

.formatting-tools {
    display: flex;
    gap: var(--space-half);
    margin-block-start: var(--space-sm);
    justify-content: center;
}

.formatting-tools button {
    inline-size: 35px;
    block-size: 35px;
    border: none;
    background: #e5e7eb;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.formatting-tools button:hover {
    background: #d1d5db;
}

/* Dictionary Section */
.dictionary-section {
    padding: var(--space-2xl) var(--space-lg);
    background: #f8fafc;
}

.dictionary-content {
    max-inline-size: 1000px;
    margin: 0 auto;
    --switcher-space: var(--s3);
    --switcher-threshold: 42rem;
}

.dictionary-content > * {
    flex: 1 1 20rem;
}

.dictionary-feature,
.snippets-feature {
    --stack-space: var(--s2);
}

.dictionary-feature h2,
.snippets-feature h2 {
    font-size: 1.8rem;
    margin-block-end: var(--space-sm);
    color: #1a1a1a;
}

.dictionary-feature p,
.snippets-feature p {
    color: #666;
    margin-block-end: var(--space-lg);
    line-height: 1.6;
}

.dictionary-demo,
.snippets-demo {
    background: #1f2937;
    border-radius: 15px;
    padding: var(--space-lg);
    color: white;
    --box-border-width: 0;
}

.dictionary-demo h3,
.snippets-demo h3 {
    margin-block-end: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.word-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.word-item {
    background: #059669;
    padding: var(--space-three-quarter) calc(var(--space-sm) + var(--space-quarter));
    border-radius: 25px;
    text-align: center;
    font-weight: 500;
}

.add-snippet {
    inline-size: 60px;
    block-size: 60px;
    border: 2px dashed #6b7280;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-snippet:hover {
    border-color: #9ca3af;
    color: #9ca3af;
}

/* Benefits Section */
.benefits {
    padding: var(--space-2xl) var(--space-lg);
    background: var(--color-indigo-gradient);
    color: white;
}

.benefits-inner {
    --stack-space: var(--s3);
    --center-max: 1000px;
    --center-gutter: var(--s2);
}

.benefits h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-block-end: var(--space-xl);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: var(--space-lg);
    max-inline-size: 1000px;
    margin: 0 auto;
}

.benefit {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    margin-block-end: var(--space-sm);
}

.benefit h3 {
    font-size: 1.3rem;
    margin-block-end: var(--space-sm);
}

.benefit p {
    opacity: 0.9;
    line-height: 1.5;
}

/* Getting Started Section */
.getting-started {
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    background: #1f2937;
    color: white;
}

.getting-started-inner {
    --stack-space: var(--s2);
}

.getting-started h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-block-end: var(--space-sm);
}

.getting-started p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-block-end: var(--space-xl);
    max-inline-size: 600px;
    margin-inline: auto;
}

.final-cta {
    --stack-space: var(--s1);
    align-items: center;
}

.cta-subtext {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: var(--space-xl) var(--space-lg) var(--space-sm);
}

.footer-content {
    max-inline-size: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.footer-section h3,
.footer-section h4 {
    margin-block-end: var(--space-sm);
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-block-end: var(--space-half);
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-block-start: var(--space-lg);
    margin-block-start: var(--space-lg);
    border-top: 1px solid #374151;
    opacity: 0.6;
}

/* Language changing loading state */
.language-changing {
    cursor: wait;
    pointer-events: none;
}

.language-changing * {
    cursor: wait !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 var(--space-sm);
    }
    
    .nav-links {
        display: none;
    }
    
    .language-selector {
        margin-inline-end: var(--space-half);
    }
    
    .language-dropdown {
        min-inline-size: 120px;
    }
    
    .language-dropdown-toggle {
        padding: calc(var(--space-sm) * 0.4) calc(var(--space-sm) * 0.6);
        font-size: 0.8rem;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 var(--space-sm);
    }
    
    .hero-visual {
        order: -1;
    }
    
    .category-tags {
        justify-content: flex-start;
        overflow-x: auto;
        padding-block-end: var(--space-sm);
    }
    
    .edit-tag:nth-child(2),
    .edit-tag:nth-child(3) {
        position: relative;
        inset-inline-start: auto;
        top: var(--space-half);
        margin-inline-end: var(--space-half);
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 var(--space-sm);
    }
    
    .benefits,
    .features,
    .ai-features,
    .dictionary-section,
    .trusted-by,
    .use-cases,
    .speed-section,
    .getting-started {
        padding: var(--space-xl) var(--space-sm);
    }
}