/* ============================================================
   Uniswap Landing — Design System & Styles
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --pink: #FF007A;
    --pink-light: #FF3D9A;
    --pink-dark: #CC0062;
    --purple: #A020F0;
    --purple-dark: #7B16B8;
    --bg-primary: #0D0415;
    --bg-secondary: #130B1E;
    --bg-card: rgba(25, 14, 40, 0.7);
    --bg-card-hover: rgba(35, 20, 55, 0.85);
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 0, 122, 0.3);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --gradient-pink: linear-gradient(135deg, #FF007A 0%, #A020F0 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(255, 0, 122, 0.15) 0%, transparent 70%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 60px rgba(255, 0, 122, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset --- */
*,
*::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);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-pink);
    color: #fff;
    box-shadow: 0 4px 25px rgba(255, 0, 122, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(255, 0, 122, 0.45);
}

.btn-outline {
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    background: var(--surface);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--pink);
    background: rgba(255, 0, 122, 0.08);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-header {
    background: var(--gradient-pink);
    color: #fff;
    padding: 10px 24px;
    font-size: 0.875rem;
    box-shadow: 0 2px 15px rgba(255, 0, 122, 0.25);
}

.btn-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 0, 122, 0.4);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(13, 4, 21, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 36px;
    height: 36px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-pink);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

.hero-glow {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 0, 122, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    bottom: -300px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(160, 32, 240, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite reverse;
}

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

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00D395;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 20px;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* Swap Card Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swap-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    backdrop-filter: blur(20px);
    animation: cardFloat 6s ease-in-out infinite;
}

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

.swap-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

.swap-card-header svg {
    opacity: 0.5;
}

.swap-field {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
}

.swap-field-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.swap-field-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.swap-amount {
    font-size: 1.8rem;
    font-weight: 700;
}

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

.swap-token {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 6px 14px 6px 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.token-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.eth-icon {
    background: linear-gradient(135deg, #627EEA, #3C4DB0);
}

.uni-icon {
    background: linear-gradient(135deg, #FF007A, #A020F0);
}

.swap-divider {
    display: flex;
    justify-content: center;
    margin: -8px 0;
    position: relative;
    z-index: 2;
}

.swap-arrow {
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border: 3px solid var(--bg-card);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.swap-arrow:hover {
    color: var(--pink);
    border-color: var(--pink);
}

.btn-swap {
    width: 100%;
    padding: 16px;
    margin-top: 16px;
    background: var(--gradient-pink);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(255, 0, 122, 0.25);
    transition: var(--transition);
}

.btn-swap:hover {
    box-shadow: 0 6px 30px rgba(255, 0, 122, 0.4);
    transform: translateY(-2px);
}

/* --- Section Common --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pink);
    margin-bottom: 16px;
    background: rgba(255, 0, 122, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 0, 122, 0.2);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 16px;
    line-height: 1.7;
}

/* --- Features Grid --- */
.features {
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-pink);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 0, 122, 0.1);
    border: 1px solid rgba(255, 0, 122, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--pink);
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* --- Steps Grid --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 16px;
}

.step-card h3 {
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

.steps-cta {
    text-align: center;
    margin-top: 48px;
}

/* --- Liquidity Section --- */
.liquidity {
    background: var(--bg-secondary);
}

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

.liquidity-content h2 {
    margin-top: 12px;
}

.liquidity-content > p {
    color: var(--text-secondary);
    margin-top: 16px;
    line-height: 1.7;
}

.liquidity-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.liquidity-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.liquidity-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--pink);
    border-radius: 50%;
}

.liquidity-list li strong {
    color: var(--text-primary);
}

.liquidity-content .btn {
    margin-top: 32px;
}

/* Liquidity Chart */
.liq-chart {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.liq-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-weight: 600;
}

.liq-chart-apy {
    color: #00D395;
    font-size: 0.9rem;
}

.liq-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 180px;
    padding: 0 8px;
}

.liq-bar {
    flex: 1;
    height: var(--h);
    background: rgba(255, 0, 122, 0.15);
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.liq-bar:hover {
    background: rgba(255, 0, 122, 0.3);
}

.liq-bar.active {
    background: var(--gradient-pink);
    box-shadow: 0 0 20px rgba(255, 0, 122, 0.3);
}

.liq-bar span {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.liq-chart-footer {
    margin-top: 36px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- Chains Grid --- */
.chains-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.chain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.chain-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.chain-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.chain-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.chain-card:hover .chain-name {
    color: var(--text-primary);
}

/* --- UNI Token Section --- */
.uni-token {
    background: var(--bg-secondary);
}

.uni-token-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.uni-token-info h2 {
    margin-top: 12px;
}

.uni-token-info > p {
    color: var(--text-secondary);
    margin-top: 16px;
    line-height: 1.7;
}

.uni-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.uni-list li {
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.uni-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--pink);
    font-weight: 700;
}

.uni-list li strong {
    color: var(--text-primary);
}

/* Token Price Card */
.token-price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.token-price-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.token-price-icon {
    font-size: 2.2rem;
}

.token-price-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.token-price-ticker {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.token-price-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.token-price-change {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 4px;
}

.token-price-change.positive {
    color: #00D395;
}

.token-mini-chart {
    margin-top: 24px;
}

.token-mini-chart svg {
    width: 100%;
    height: 60px;
}

/* --- Trust Grid --- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.trust-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
}

.trust-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.trust-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.trust-item h3 {
    margin-bottom: 10px;
}

.trust-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- FAQ Section --- */
.faq {
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item.active {
    border-color: rgba(255, 0, 122, 0.3);
    box-shadow: 0 0 30px rgba(255, 0, 122, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--pink-light);
}

.faq-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--text-muted);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--pink);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* --- Final CTA --- */
.final-cta {
    padding: 120px 0;
}

.final-cta-inner {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.final-cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 122, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta-inner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    position: relative;
}

.final-cta-inner p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.final-cta-inner .btn {
    position: relative;
}

/* --- Footer --- */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

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

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 4px 0;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-muted);
}

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

.footer-bottom-links a {
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--text-secondary);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .swap-card {
        max-width: 380px;
        animation: none;
    }

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

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

    .step-card:last-child {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }

    .liquidity-layout,
    .uni-token-layout {
        grid-template-columns: 1fr;
    }

    .chains-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(13, 4, 21, 0.95);
        backdrop-filter: blur(20px);
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav.active {
        display: flex;
    }

    .btn-header {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

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

    .step-card:last-child {
        grid-column: auto;
        max-width: none;
    }

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

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

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

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

    .final-cta-inner {
        padding: 50px 24px;
    }

    .section {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .swap-card {
        max-width: 100%;
    }

    h1 {
        font-size: 1.9rem;
    }

    .chains-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
