/* ========================================
   MixToken - Black, White & Gold Theme
   Inspired by Zhipu AI International
   ======================================== */

:root {
    --black: #000000;
    --black-90: #0a0a0a;
    --black-80: #111111;
    --black-70: #1a1a1a;
    --black-60: #222222;
    --black-50: #2a2a2a;
    --black-40: #333333;
    --black-30: #444444;
    --black-20: #666666;
    --black-10: #888888;

    --white: #ffffff;
    --white-90: #f5f5f5;
    --white-80: #eeeeee;
    --white-70: #dddddd;
    --white-60: #cccccc;
    --white-50: #aaaaaa;

    --gold: #c9a96e;
    --gold-light: #d4b87a;
    --gold-dark: #b8975a;
    --gold-dim: rgba(201, 169, 110, 0.15);
    --gold-glow: rgba(201, 169, 110, 0.4);

    --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.gold {
    color: var(--gold);
}

/* Typography */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--white-50);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 64px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    background: none;
    color: inherit;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 0 20px var(--gold-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: var(--black-40);
}

.btn-ghost:hover {
    border-color: var(--white-50);
    background: rgba(255,255,255,0.05);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--black-40);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--white-90);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--black-50);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gold);
    color: var(--black);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
}

.logo-text {
    letter-spacing: -0.01em;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white-50);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width var(--transition-base);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    background: var(--black-60);
    border: 1px solid var(--black-50);
    border-radius: var(--radius-md);
    padding: 2px;
    margin-right: 4px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--white-50);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-sans);
}

.lang-btn:hover {
    color: var(--white);
}

.lang-btn.active {
    background: var(--black-40);
    color: var(--gold);
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-email {
    font-size: 0.8125rem;
    color: var(--gold-light);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--transition-base);
}

/* Auth Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: var(--black-80);
    border: 1px solid var(--black-50);
    border-radius: var(--radius-xl);
    padding: 40px 32px 32px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--black-60);
    border: 1px solid var(--black-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-50);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--black-50);
    color: var(--white);
}

.modal-close svg {
    width: 16px;
    height: 16px;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--white-70);
}

.form-group input {
    padding: 12px 14px;
    background: var(--black-70);
    border: 1px solid var(--black-50);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: border-color var(--transition-fast);
    outline: none;
}

.form-group input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-group input::placeholder {
    color: var(--black-20);
}

.captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-row input {
    flex: 1;
}

.captcha-img {
    width: 120px;
    height: 46px;
    border-radius: var(--radius-md);
    border: 1px solid var(--black-50);
    cursor: pointer;
    object-fit: cover;
    background: var(--black-70);
    transition: opacity var(--transition-fast);
}

.captcha-refresh {
    padding: 10px 12px;
    font-size: 0.75rem;
}

.auth-error {
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    color: #ef4444;
    font-size: 0.8125rem;
    text-align: center;
}

.auth-error.hidden {
    display: none;
}

.auth-switch {
    text-align: center;
    font-size: 0.875rem;
    color: var(--white-50);
    margin-top: 4px;
}

.auth-switch a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(201, 169, 110, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(201, 169, 110, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 40%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--gold-dim);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gold-light);
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--white-50);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--white-50);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 1.5px solid var(--black-40);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.4; }
}

/* Trusted By */
.trusted {
    padding: 60px 0;
    border-top: 1px solid var(--black-50);
    border-bottom: 1px solid var(--black-50);
}

.trusted-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--black-20);
    margin-bottom: 32px;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trusted-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--black-30);
    letter-spacing: 0.02em;
    transition: color var(--transition-base);
}

.trusted-logo:hover {
    color: var(--white-50);
}

/* Models Section */
.models {
    padding: 120px 0;
    background: var(--black-90);
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.model-card {
    background: var(--black-80);
    border: 1px solid var(--black-50);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.4), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.model-card:hover {
    border-color: var(--black-40);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.model-card:hover::before {
    opacity: 1;
}

.model-card.featured {
    border-color: rgba(201, 169, 110, 0.25);
    background: linear-gradient(180deg, rgba(201, 169, 110, 0.04) 0%, var(--black-80) 100%);
}

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

.model-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.model-icon svg {
    width: 24px;
    height: 24px;
}

.model-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--black-20);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--black-30);
}

.status-dot.online {
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.4);
}

.model-name {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.model-desc {
    font-size: 0.9375rem;
    color: var(--white-50);
    line-height: 1.6;
    margin-bottom: 20px;
}

.model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--black-60);
    border: 1px solid var(--black-50);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--white-50);
}

.model-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--black-50);
}

.model-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-light);
}

.model-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white-50);
    transition: color var(--transition-fast);
}

.model-link:hover {
    color: var(--gold);
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--black);
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--gold-dim);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-text p {
    font-size: 0.9375rem;
    color: var(--white-50);
    line-height: 1.6;
}

/* Code Window */
.features-visual {
    position: relative;
}

.code-window {
    background: var(--black-80);
    border: 1px solid var(--black-50);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--black-70);
    border-bottom: 1px solid var(--black-50);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--black-40);
}

.code-dots span:nth-child(1) { background: #ff5f56; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #27c93f; }

.code-title {
    font-size: 0.8125rem;
    color: var(--black-20);
    font-family: monospace;
}

.code-body {
    padding: 24px;
    overflow-x: auto;
}

.code-body pre {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: var(--white-70);
}

.code-kw { color: #c792ea; }
.code-str { color: #c3e88d; }

/* Pricing Section */
.pricing {
    padding: 120px 0;
    background: var(--black-90);
}

.pricing-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--black-50);
    border-radius: var(--radius-xl);
    background: var(--black-80);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.pricing-table th {
    text-align: left;
    padding: 16px 24px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--black-20);
    background: var(--black-70);
    border-bottom: 1px solid var(--black-50);
}

.pricing-table td {
    padding: 20px 24px;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--black-50);
    color: var(--white-70);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr {
    transition: background var(--transition-fast);
}

.pricing-table tbody tr:hover {
    background: rgba(201, 169, 110, 0.03);
}

.pricing-table td strong {
    color: var(--white);
    font-weight: 600;
}

.pricing-table .tag {
    font-size: 0.6875rem;
    padding: 2px 8px;
}

.pricing-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--black-20);
}

.pricing-note a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Docs Preview */
.docs-preview {
    padding: 120px 0;
    background: var(--black);
}

.docs-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.docs-steps {
    margin: 48px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step {
    display: flex;
    gap: 20px;
}

.step-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    min-width: 36px;
}

.step-body h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.step-body p {
    font-size: 0.9375rem;
    color: var(--white-50);
    line-height: 1.6;
}

.step-body code {
    background: var(--black-60);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 0.8125rem;
    color: var(--gold-light);
}

/* Terminal Window */
.docs-visual {
    position: relative;
}

.terminal-window {
    background: var(--black-80);
    border: 1px solid var(--black-50);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--black-70);
    border-bottom: 1px solid var(--black-50);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--black-40);
}

.terminal-dots span:nth-child(1) { background: #ff5f56; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #27c93f; }

.terminal-body {
    padding: 24px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.8125rem;
    line-height: 1.8;
    color: var(--white-70);
}

.terminal-line {
    white-space: pre-wrap;
    word-break: break-all;
}

.terminal-line.indent { padding-left: 24px; }
.terminal-line.indent2 { padding-left: 48px; }
.terminal-line.indent3 { padding-left: 72px; }

.terminal-line .prompt {
    color: var(--gold);
    margin-right: 8px;
}

.terminal-line.output {
    color: var(--black-20);
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--black-90);
}

.cta-card {
    position: relative;
    background: var(--black-80);
    border: 1px solid var(--black-50);
    border-radius: var(--radius-xl);
    padding: 80px 48px;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(201, 169, 110, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    position: relative;
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-card p {
    position: relative;
    font-size: 1.0625rem;
    color: var(--white-50);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-actions {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--black);
    border-top: 1px solid var(--black-50);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--white-50);
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: var(--black-60);
    border: 1px solid var(--black-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-50);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--gold-dim);
    border-color: rgba(201, 169, 110, 0.3);
    color: var(--gold);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--white-50);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--black-50);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--black-20);
}

.footer-location {
    color: var(--black-30);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-layout,
    .docs-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .features-visual,
    .docs-visual {
        order: -1;
    }

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

@media (max-width: 768px) {
    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .nav-actions {
        gap: 8px;
    }

    .lang-switcher {
        margin-right: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-stats {
        gap: 24px;
    }

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

    .pricing-table-wrapper {
        border-radius: var(--radius-lg);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .modal-content {
        padding: 32px 20px 24px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .trusted-logos {
        gap: 24px;
    }

    .captcha-row {
        flex-wrap: wrap;
    }

    .captcha-img {
        order: -1;
        width: 100%;
        height: 56px;
    }
}
