/* ============================================
   NexaSuite Design System
   Glassmorphism + Dark/Light Mode
   ============================================ */

/* ---------- Google Fonts (loaded in HTML) ---------- */
/* Space Grotesk: headings | Inter: body */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Light Mode Defaults — Clean White/Off-White */
    --bg-primary: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    --bg-secondary: #f1f5f9;
    --bg-body: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-bg-strong: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(99, 102, 241, 0.08);
    --backdrop-blur: blur(12px);
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-on-gradient: #1a202c;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --nav-bg: rgba(255, 255, 255, 0.75);
    --card-hover-shadow: 0 20px 60px 0 rgba(99, 102, 241, 0.15);
    --section-pad: 100px;
    --footer-bg: rgba(15, 23, 42, 0.95);
    --divider: rgba(0, 0, 0, 0.08);
    --pricing-glow: 0 0 40px rgba(99, 102, 241, 0.2), 0 0 80px rgba(139, 92, 246, 0.08);
    --input-bg: rgba(0, 0, 0, 0.04);
    --hero-gradient-start: #f8fafc;
    --hero-gradient-end: #eef2f7;
}

[data-theme="dark"] {
    --bg-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --bg-secondary: #0f172a;
    --bg-body: #070b14;
    --glass-bg: rgba(15, 23, 42, 0.55);
    --glass-bg-strong: rgba(15, 23, 42, 0.75);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    --backdrop-blur: blur(16px);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-on-gradient: #ffffff;
    --accent-primary: #818cf8;
    --accent-secondary: #a78bfa;
    --accent-pink: #f472b6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --nav-bg: rgba(15, 23, 42, 0.65);
    --card-hover-shadow: 0 20px 60px 0 rgba(99, 102, 241, 0.2);
    --section-pad: 100px;
    --footer-bg: rgba(15, 23, 42, 0.7);
    --divider: rgba(255, 255, 255, 0.05);
    --pricing-glow: 0 0 50px rgba(99, 102, 241, 0.25), 0 0 100px rgba(139, 92, 246, 0.1);
    --input-bg: rgba(255, 255, 255, 0.04);
    --hero-gradient-start: #0f172a;
    --hero-gradient-end: #1e293b;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.65;
    transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.4s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.15;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

.gradient-text {
    background: linear-gradient(135deg, #c084fc 0%, #f0abfc 40%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg-strong);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-white {
    background: #fff;
    color: #6366f1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    font-weight: 700;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.btn-lg {
    font-size: 1.1rem;
    padding: 17px 40px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-on-gradient);
    letter-spacing: -0.02em;
}

.nav-logo .logo-icon {
    width: 38px;
    height: 38px;
    background: var(--accent-gradient);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: var(--text-on-gradient);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
    transition: width 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    color: var(--text-on-gradient);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--glass-bg-strong);
    transform: scale(1.08) rotate(15deg);
}

/* Login Button */
.btn-login {
    padding: 10px 26px;
    border-radius: 12px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    color: var(--text-on-gradient);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* Mobile Nav */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-on-gradient);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    transition: opacity 0.4s;
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
}

.mobile-menu a {
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-menu .close-menu {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    overflow: hidden;
    padding-top: 80px;
}

/* Mesh gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(236, 72, 153, 0.04) 0%, transparent 50%);
    z-index: 0;
    animation: meshShift 15s ease-in-out infinite alternate;
}

[data-theme="dark"] .hero::before {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 820px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    border-radius: 50px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    color: var(--text-on-gradient);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease forwards;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* Hero Title */
.hero h1 {
    font-size: clamp(2.6rem, 6.5vw, 4.8rem);
    color: var(--text-on-gradient);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-on-gradient);
    opacity: 0;
    margin-bottom: 44px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Hero CTA Buttons */
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 52px;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-actions .btn {
    font-size: 1.05rem;
    padding: 16px 36px;
}

.hero-actions .btn-secondary {
    color: var(--text-on-gradient);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 44px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-on-gradient);
    opacity: 0.75;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item .icon {
    font-size: 1.1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2.5s infinite;
}

.scroll-indicator span {
    display: block;
    width: 28px;
    height: 46px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scrollDot 2s infinite;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-pad) 0;
    position: relative;
    background: var(--bg-body);
}

/* Decorative blobs */
.services::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Service Card */
.service-card {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px 26px 28px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Top accent bar (appears on hover) */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, var(--accent-gradient));
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Hover glow orb */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--card-glow, rgba(99, 102, 241, 0.05)) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(99, 102, 241, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 1;
}

/* Card Icon */
.card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 22px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.service-card:hover .card-icon {
    transform: rotate(8deg) scale(1.12);
}

/* Card Text */
.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 14px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.service-card ul {
    margin-bottom: 22px;
}

.service-card ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 5px 0 5px 20px;
    position: relative;
    line-height: 1.5;
}

.service-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-size: 0.85rem;
    opacity: 0.7;
}

.card-explore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    cursor: pointer;
    transition: gap 0.3s, color 0.3s;
    background: none;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    z-index: 1;
}

.card-explore:hover {
    gap: 12px;
}

/* Icon background colors */
.icon-purple {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.icon-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.icon-pink {
    background: rgba(236, 72, 153, 0.12);
    color: #ec4899;
}

.icon-green {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.icon-orange {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.icon-indigo {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.icon-cyan {
    background: rgba(6, 182, 212, 0.12);
    color: #06b6d4;
}

.icon-violet {
    background: rgba(168, 85, 247, 0.12);
    color: #a855f7;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
    padding: var(--section-pad) 0;
    position: relative;
    background: var(--bg-body);
}

.pricing::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: center;
}

/* Pricing Card */
.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 44px 32px 40px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

/* Featured / Most Popular */
.pricing-card.featured {
    border-color: var(--accent-primary);
    box-shadow: var(--pricing-glow);
    transform: scale(1.06);
    z-index: 2;
    background: var(--glass-bg-strong);
}

.pricing-card.featured.visible {
    transform: scale(1.06);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-6px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 26px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Tier Icon */
.price-tier-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    display: block;
}

/* Card Title */
.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* Price */
.price {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 8px;
}

.price .amount {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.price .period {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.price-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Feature List */
.pricing-features li {
    padding: 11px 0;
    border-bottom: 1px solid var(--divider);
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: #10b981;
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--section-pad) 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
}

.cta-section h2,
.cta-section p,
.cta-section .cta-note {
    color: #fff !important;
}

/* Animated radial bg */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    animation: rotateSlow 25s linear infinite;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    color: #fff !important;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

.cta-content>p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-note {
    margin-top: 18px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55) !important;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 72px 0 36px;
    background: var(--footer-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-top: 1px solid var(--divider);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 52px;
}

/* Footer Brand */
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.footer-brand .footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-gradient);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
}

.footer-brand>p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 280px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Footer Columns */
.footer-column h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 22px;
    letter-spacing: -0.01em;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.3s, padding-left 0.3s;
}

.footer-column ul li a:hover {
    color: var(--accent-primary);
    padding-left: 4px;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--divider);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--accent-primary);
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-12px);
    }

    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}

@keyframes scrollDot {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.6);
    }
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes meshShift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-30px, -20px);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {

    :root,
    [data-theme="dark"] {
        --section-pad: 72px;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .trust-badges {
        gap: 20px;
    }

    .trust-item {
        font-size: 0.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.featured,
    .pricing-card.featured.visible {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Nav right on mobile — keep theme toggle + login visible */
    .nav-right {
        gap: 10px;
    }

    .btn-login {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    /* Hero adjustments */
    .hero {
        padding-top: 70px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }

    .trust-badges {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* CTA section */
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    :root,
    [data-theme="dark"] {
        --section-pad: 56px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .service-card {
        padding: 28px 22px 24px;
    }

    .pricing-card {
        padding: 36px 24px 32px;
    }

    /* Hero on very small screens */
    .hero {
        padding-top: 60px;
        min-height: 100svh;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .trust-item {
        font-size: 0.75rem;
    }

    .btn-login {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* CTA section mobile */
    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 0.9rem;
    }

    /* Features mobile */
    .stats-bar {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 24px 20px;
    }

    /* Testimonials mobile */
    .testimonial-card {
        padding: 28px 20px;
        min-height: auto;
    }

    /* Integrations mobile */
    .integration-logo {
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    .il-icon {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}

/* ============================================
   FEATURES HIGHLIGHT SECTION
   ============================================ */
.features {
    padding: var(--section-pad) 0;
    position: relative;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 56px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: var(--glass-shadow);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 32px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    opacity: 0;
    transform: translateY(24px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--accent-primary);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--fi-color, #6366f1) 12%, transparent);
    color: var(--fi-color, #6366f1);
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08);
}

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   INTEGRATIONS SECTION
   ============================================ */
.integrations {
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.marquee-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    margin-top: 20px;
}

.marquee-track {
    display: flex;
    gap: 20px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.integration-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 14px 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.integration-logo:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
}

.il-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--section-pad) 0;
}

.testimonials-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.testimonials-track {
    position: relative;
    min-height: 260px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 36px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px) scale(0.96);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    position: relative;
    border-color: var(--accent-primary);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-card blockquote {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    padding: 0;
}

.testimonial-dots .dot.active {
    background: var(--accent-primary);
    transform: scale(1.3);
}

.testimonial-dots .dot:hover {
    background: var(--accent-secondary);
}

/* ============================================
   PREFERS REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   SELECTION STYLING
   ============================================ */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* ============================================
   PAGE PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    animation: preloaderPulse 1.2s ease-in-out infinite;
}

.preloader-bar {
    width: 120px;
    height: 3px;
    border-radius: 3px;
    background: var(--glass-border);
    overflow: hidden;
    position: relative;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 40%;
    background: var(--accent-gradient);
    border-radius: 3px;
    animation: preloaderSlide 1s ease-in-out infinite;
}

@keyframes preloaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.8;
    }
}

@keyframes preloaderSlide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(350%);
    }
}

/* ============================================
   SCROLL-TO-TOP BUTTON
   ============================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

/* ============================================
   PAGE TRANSITION
   ============================================ */
.page-transition {
    animation: pageFadeIn 0.5s ease forwards;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   SKIP TO CONTENT (A11Y)
   ============================================ */
.skip-to-content {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    padding: 12px 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 0 0 12px 12px;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid #ec4899;
    outline-offset: 2px;
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99998;
    padding: 20px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-consent.visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 600px;
}

.cookie-text a {
    color: #818cf8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-text a:hover {
    color: #6366f1;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 22px;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
}

.cookie-btn-accept:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.cookie-btn-decline {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.cookie-btn-decline:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
    .cookie-consent {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 14px;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }
}

/* ============================================
   FOCUS-VISIBLE KEYBOARD NAVIGATION
   ============================================ */
*:focus-visible {
    outline: 2px solid #818cf8;
    outline-offset: 3px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #818cf8;
    outline-offset: 3px;
}

.btn:focus-visible,
.btn-primary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.4);
}

/* Remove default focus ring for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================
   ENHANCED CARD HOVER MICRO-ANIMATIONS
   ============================================ */
.glass-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.1),
        0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.service-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(99, 102, 241, 0.12);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-3deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Feature card icon bounce on hover */
.feature-card:hover .feature-icon {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-6px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* ============================================
   HERO TYPING CURSOR EFFECT
   ============================================ */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    margin-left: 4px;
    border-radius: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ============================================
   GRADIENT TEXT SHIMMER ANIMATION
   ============================================ */
.gradient-text {
    background-size: 200% auto;
    animation: gradientShimmer 4s ease-in-out infinite;
}

@keyframes gradientShimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* ============================================
   BUTTON RIPPLE ON CLICK
   ============================================ */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.btn:active::after {
    width: 300px;
    height: 300px;
    opacity: 1;
    transition: width 0s, height 0s, opacity 0s;
}

/* ============================================
   NAV LINK UNDERLINE ANIMATION
   ============================================ */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    border-radius: 1px;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}