/* ===========================
   TAKLIFNOMAA.UZ - MAIN CSS
   Premium Wedding Platform
   =========================== */

/* CSS Variables */
:root {
    --primary: #D4AF37;
    --primary-dark: #B8941F;
    --primary-light: #F0E68C;
    --accent: #E91E63;
    --accent-light: #FCE4EC;
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-white: #ffffff;
    --text-light: #b0b0b0;
    --text-muted: #666;
    --gradient-gold: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728);
    --gradient-accent: linear-gradient(135deg, #E91E63, #FF5722);
    --gradient-dark: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-elegant: 'Cormorant Garamond', serif;
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --radius-full: 50px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.old-price {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 0.8em;
    margin-right: 8px;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted); /* Fix inheritance */
    background-clip: border-box; /* Fix inheritance */
}

.discount-tag {
    background: var(--gradient-accent) !important;
    color: white !important;
    -webkit-text-fill-color: white !important; /* Fix inheritance */
    background-clip: border-box !important; /* Fix inheritance */
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}


/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 1001;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    font-family: var(--font-display);
}

.logo-dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.8;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-gold) !important;
    background-size: 200% !important;
    color: #1a1a2e !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    animation: shimmerBg 3s ease infinite;
}

.nav-cta::after {
    display: none !important;
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.nav-mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(233, 30, 99, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(26, 26, 46, 0.8) 0%, transparent 50%),
        var(--gradient-dark);
    z-index: 0;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-gold);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerBg 4s ease infinite;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    background-size: 200%;
    color: #1a1a2e;
    animation: shimmerBg 3s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-arrow {
    transition: var(--transition);
    font-size: 1.2em;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual */
.hero-visual {
    flex: 0 0 320px;
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease 0.5s both;
}

.phone-mockup {
    background: #1a1a2e;
    border-radius: 40px;
    padding: 12px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(212, 175, 55, 0.1);
    animation: floatDevice 6s ease-in-out infinite;
}

.phone-screen {
    background: linear-gradient(135deg, #fff0f5, #fff5e6);
    border-radius: 30px;
    padding: 30px 20px;
    text-align: center;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.mock-header {
    width: 80px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.mock-names {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #B8860B;
    font-weight: 700;
}

.mock-date {
    font-family: var(--font-elegant);
    font-size: 1.1rem;
    color: #666;
}

.mock-countdown {
    display: flex;
    gap: 8px;
}

.mock-countdown span {
    background: linear-gradient(135deg, #D4AF37, #B8941F);
    color: white;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
}

.mock-photo {
    width: 120px;
    height: 160px;
    background: linear-gradient(135deg, #FFE4E9, #FFF5E6);
    border-radius: 60px 60px 15px 15px;
    border: 3px solid #D4AF37;
    position: relative;
}

.mock-photo::after {
    content: '👑';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
}

.mock-btn {
    background: linear-gradient(135deg, #D4AF37, #B8941F);
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ===========================
   SECTION HEADERS
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   TEMPLATES GRID
   =========================== */
.templates-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f0f1a 100%);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Loading Spinner */
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #1a1a2e;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.template-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
    position: relative;
}

.template-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
}

.template-preview {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.template-preview-bg {
    width: 100%;
    height: 100%;
}

.preview-classic {
    background: linear-gradient(135deg, #fff0f5 0%, #fff 50%, #fff5e6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.preview-classic::before {
    content: '✦ 🌸 ✦';
    font-size: 1.2rem;
    letter-spacing: 10px;
}

.preview-classic::after {
    content: 'KLASSIK ELEGANT';
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #B8860B;
    font-weight: 700;
}

.preview-modern {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.preview-modern::before {
    content: '◆ ◇ ◆';
    font-size: 1rem;
    color: #E91E63;
    letter-spacing: 10px;
}

.preview-modern::after {
    content: 'ZAMONAVIY';
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: white;
    font-weight: 300;
    letter-spacing: 8px;
}

.preview-royal {
    background: linear-gradient(135deg, #1a0033 0%, #2d1b69 50%, #1a0033 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.preview-royal::before {
    content: '👑';
    font-size: 2rem;
}

.preview-royal::after {
    content: 'QIROLLIK';
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #FFD700;
    font-weight: 700;
    letter-spacing: 5px;
}

/* Sakura Preview */
.preview-sakura {
    background: linear-gradient(135deg, #FFF0F4 0%, #FFE4EC 50%, #FFF8FA 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.preview-sakura::before {
    content: '🌸 ✿ 🌸';
    font-size: 1.2rem;
    letter-spacing: 8px;
}

.preview-sakura::after {
    content: 'SAKURA';
    font-family: 'Noto Serif', var(--font-display);
    font-size: 1.5rem;
    color: #E8879D;
    font-weight: 700;
    letter-spacing: 5px;
}

/* Garden Preview */
.preview-garden {
    background: linear-gradient(135deg, #E8F0E4 0%, #FBF9F3 50%, #F0F5EC 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.preview-garden::before {
    content: '🌿 🍃 🌿';
    font-size: 1.2rem;
    letter-spacing: 8px;
}

.preview-garden::after {
    content: 'BOTANIK';
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #3D5A3D;
    font-weight: 700;
    letter-spacing: 5px;
}

/* Midnight Preview */
.preview-midnight {
    background: linear-gradient(135deg, #0B1026 0%, #1A2550 50%, #0B1026 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.preview-midnight::before {
    content: '✧ ✦ ✧';
    font-size: 1.2rem;
    color: #E8D5A3;
    letter-spacing: 10px;
}

.preview-midnight::after {
    content: 'TUNGI OSMON';
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #C0C7D8;
    font-weight: 700;
    letter-spacing: 5px;
}

/* Luxury Preview */
.preview-luxury {
    background: linear-gradient(135deg, #0A0A0A 0%, #141414 50%, #0A0A0A 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-top: 1px solid rgba(201, 168, 76, 0.3);
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.preview-luxury::before {
    content: '✦';
    font-size: 1rem;
    color: #C9A84C;
    letter-spacing: 10px;
}

.preview-luxury::after {
    content: 'QORA OLTIN';
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: #C9A84C;
    font-weight: 300;
    letter-spacing: 8px;
}

/* Boho Preview */
.preview-boho {
    background: linear-gradient(135deg, #F5EDE0 0%, #FAF6F0 50%, #F5EDE0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.preview-boho::before {
    content: '~ ♡ ~';
    font-size: 1.2rem;
    color: #C4825A;
    letter-spacing: 8px;
}

.preview-boho::after {
    content: 'BOHO';
    font-family: 'Libre Baskerville', var(--font-display);
    font-size: 1.5rem;
    color: #6B4226;
    font-weight: 700;
    letter-spacing: 5px;
}

/* Romantic Preview */
.preview-romantic {
    background: linear-gradient(135deg, #FFF0F2 0%, #F8E4E7 50%, #FDE8E8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.preview-romantic::before {
    content: '💕';
    font-size: 2rem;
}

.preview-romantic::after {
    content: 'ROMANTIK';
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #B72C3B;
    font-weight: 700;
    letter-spacing: 5px;
}

.template-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.9);
    color: #1a1a2e;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.template-info {
    padding: 24px;
}

.template-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-white);
}

.template-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.template-actions {
    display: flex;
    gap: 10px;
}

.template-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.9rem;
}

/* ===========================
   HOW IT WORKS
   =========================== */
.how-section {
    background: var(--bg-dark);
}

.steps-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.1);
    position: absolute;
    top: 12px;
    right: 16px;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: rgba(212, 175, 55, 0.4);
    padding: 0 8px;
}

/* ===========================
   FEATURES
   =========================== */
.features-section {
    background: linear-gradient(180deg, #0f0f1a 0%, var(--bg-dark) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===========================
   PRICING
   =========================== */
.pricing-section {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08), transparent 70%);
    border-radius: 50%;
}

.pricing-card-wrapper {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    max-width: 460px;
    width: 100%;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.pricing-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    background-size: 200%;
    color: #1a1a2e;
    padding: 6px 24px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    animation: shimmerBg 3s ease infinite;
}

.pricing-icon {
    font-size: 3rem;
    margin: 16px 0;
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.pricing-price {
    margin-bottom: 30px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: #050508;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.footer-links a,
.footer-contact a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmerBg {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatDevice {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes particleFloat {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    10% {
        opacity: 0.6;
        transform: translateY(0) scale(1);
    }

    90% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-100svh) scale(0);
    }
}

.particle {
    position: absolute;
    pointer-events: none;
    font-size: 14px;
    opacity: 0;
    animation: particleFloat linear infinite;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 968px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        margin-top: 40px;
        transform: scale(0.9);
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .step-connector {
        display: none;
    }

    .steps-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }

    .step-card {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.3rem;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .section {
        padding: 80px 0;
    }

    .templates-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 36px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .btn-lg {
        padding: 16px 28px;
    }
}

/* Global fixes for entry screen text visibility */
.entry-title span,
.entry-subtitle {
    color: inherit !important;
}

.open-btn {
    color: inherit !important;
    border-color: inherit !important;
}