/* =============================================
   KALY4CID LANDING PAGE - WEB3 LUXURIOUS STYLE
   ============================================= */

/* ============================================
   CSS VARIABLES - DUAL THEME SYSTEM
   ============================================ */
:root {
    /* Light Theme (Default) */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --secondary-dark: #db2777;

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);

    --orb-1: rgba(99, 102, 241, 0.15);
    --orb-2: rgba(236, 72, 153, 0.12);
    --orb-3: rgba(59, 130, 246, 0.1);

    --float-obj-bg: rgba(99, 102, 241, 0.1);
    --float-obj-border: rgba(99, 102, 241, 0.2);

    /* Splash Screen Light */
    --splash-bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --splash-text: #475569;
    --splash-loader-bg: rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #252542;

    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --gradient-bg: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0f0f1a 100%);

    --glass-bg: rgba(26, 26, 46, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);

    --orb-1: rgba(99, 102, 241, 0.2);
    --orb-2: rgba(236, 72, 153, 0.15);
    --orb-3: rgba(59, 130, 246, 0.12);

    --float-obj-bg: rgba(99, 102, 241, 0.15);
    --float-obj-border: rgba(99, 102, 241, 0.3);

    /* Splash Screen Dark */
    --splash-bg: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    --splash-text: rgba(255, 255, 255, 0.6);
    --splash-loader-bg: rgba(255, 255, 255, 0.1);
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background 0.4s ease, color 0.4s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

/* ============================================
   SPLASH SCREEN
   ============================================ */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--splash-bg, linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
    animation: splash-appear 0.8s ease-out;
}

@keyframes splash-appear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.splash-logo {
    margin-bottom: 30px;
    animation: logo-enter 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

@keyframes logo-enter {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.splash-screen .logo-text {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -3px;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.5));
    animation: logo-glow 2s ease-in-out infinite alternate;
}

@keyframes logo-glow {
    from {
        filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.5));
    }

    to {
        filter: drop-shadow(0 0 50px rgba(236, 72, 153, 0.6));
    }
}

.splash-loader {
    width: 200px;
    height: 4px;
    background: var(--splash-loader-bg, rgba(0, 0, 0, 0.08));
    border-radius: 100px;
    overflow: hidden;
    margin: 0 auto 20px;
    animation: loader-enter 0.6s ease-out 0.3s forwards;
    opacity: 0;
}

@keyframes loader-enter {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 100px;
    animation: loading 1.8s ease-in-out forwards;
}

@keyframes loading {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

.splash-tagline {
    color: var(--splash-text, #475569);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: tagline-enter 0.8s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes tagline-enter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Splash Particles */
.splash-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.splash-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: particle-float 3s ease-in-out infinite;
}

.splash-particles .particle:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.splash-particles .particle:nth-child(2) {
    top: 40%;
    right: 20%;
    animation-delay: 0.5s;
}

.splash-particles .particle:nth-child(3) {
    bottom: 30%;
    left: 25%;
    animation-delay: 1s;
}

.splash-particles .particle:nth-child(4) {
    bottom: 20%;
    right: 15%;
    animation-delay: 1.5s;
}

.splash-particles .particle:nth-child(5) {
    top: 60%;
    left: 50%;
    animation-delay: 2s;
}

@keyframes particle-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* ============================================
   LANDING PAGE CONTAINER
   ============================================ */
.landing-page {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.landing-page.visible {
    opacity: 1;
}

/* ============================================
   GRADIENT BACKGROUND
   ============================================ */
.gradient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--gradient-bg);
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: orb-float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--orb-1);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--orb-2);
    bottom: -15%;
    right: -10%;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--orb-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes orb-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

.mesh-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, var(--text-muted) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.03;
}

/* ============================================
   FLOATING 3D OBJECTS
   ============================================ */
.floating-objects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    perspective: 1000px;
}

.float-obj {
    position: absolute;
    transition: transform 0.3s ease-out;
}

/* 3D Cube */
.obj-cube {
    top: 15%;
    right: 10%;
    width: 60px;
    height: 60px;
    animation: float-rotate 12s linear infinite;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: cube-spin 20s linear infinite;
}

.cube-face {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--float-obj-bg);
    border: 1px solid var(--float-obj-border);
    backdrop-filter: blur(5px);
}

.cube-face.front {
    transform: translateZ(30px);
}

.cube-face.back {
    transform: rotateY(180deg) translateZ(30px);
}

.cube-face.left {
    transform: rotateY(-90deg) translateZ(30px);
}

.cube-face.right {
    transform: rotateY(90deg) translateZ(30px);
}

.cube-face.top {
    transform: rotateX(90deg) translateZ(30px);
}

.cube-face.bottom {
    transform: rotateX(-90deg) translateZ(30px);
}

@keyframes cube-spin {
    from {
        transform: rotateX(0) rotateY(0);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* Sphere */
.obj-sphere {
    top: 60%;
    left: 8%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, var(--primary-light), var(--primary));
    border-radius: 50%;
    box-shadow:
        inset -10px -10px 30px rgba(0, 0, 0, 0.3),
        0 0 40px var(--orb-1);
    animation: float-bounce 6s ease-in-out infinite;
}

/* Torus / Ring */
.obj-torus {
    top: 30%;
    left: 15%;
    width: 100px;
    height: 100px;
    border: 8px solid var(--float-obj-border);
    border-radius: 50%;
    animation: float-rotate 8s linear infinite, float-bounce 5s ease-in-out infinite;
}

/* Ring */
.obj-ring {
    bottom: 25%;
    right: 15%;
    width: 120px;
    height: 120px;
    border: 3px solid var(--secondary);
    border-radius: 50%;
    opacity: 0.6;
    animation: ring-pulse 4s ease-in-out infinite;
}

@keyframes ring-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

/* Diamond */
.obj-diamond {
    top: 70%;
    right: 25%;
    animation: float-bounce 7s ease-in-out infinite;
}

.diamond {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    transform: rotate(45deg);
    animation: diamond-spin 15s linear infinite;
}

@keyframes diamond-spin {
    from {
        transform: rotate(45deg);
    }

    to {
        transform: rotate(405deg);
    }
}

/* Hexagon */
.obj-hexagon {
    top: 45%;
    right: 5%;
    width: 50px;
    height: 50px;
    background: var(--float-obj-bg);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: float-rotate 10s linear infinite reverse, float-bounce 4s ease-in-out infinite;
}

@keyframes float-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   HEADER
   ============================================ */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
}

.logo-gradient {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--secondary);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-title .line-1,
.hero-title .line-2,
.hero-title .line-3 {
    display: block;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateY(3px);
}

/* Hero Visual - Central Orb */
.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.central-orb {
    position: relative;
    width: 400px;
    height: 400px;
}

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(1px);
    box-shadow:
        0 0 60px var(--orb-1),
        0 0 120px var(--orb-2);
    animation: core-pulse 3s ease-in-out infinite;
}

@keyframes core-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

.orb-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.3;
}

.ring-1 {
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%) rotateX(60deg);
    animation: ring-rotate 10s linear infinite;
}

.ring-2 {
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(60deg);
    animation: ring-rotate 15s linear infinite reverse;
    border-color: var(--secondary);
}

.ring-3 {
    width: 360px;
    height: 360px;
    transform: translate(-50%, -50%) rotateX(60deg) rotateZ(120deg);
    animation: ring-rotate 20s linear infinite;
}

@keyframes ring-rotate {
    from {
        transform: translate(-50%, -50%) rotateX(60deg) rotateY(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotateX(60deg) rotateY(360deg);
    }
}

.orb-particles {
    position: absolute;
    inset: 0;
}

.orb-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: particle-orbit 8s linear infinite;
}

.orb-particles span:nth-child(1) {
    animation-delay: 0s;
}

.orb-particles span:nth-child(2) {
    animation-delay: -1.3s;
}

.orb-particles span:nth-child(3) {
    animation-delay: -2.6s;
}

.orb-particles span:nth-child(4) {
    animation-delay: -4s;
}

.orb-particles span:nth-child(5) {
    animation-delay: -5.3s;
    background: var(--secondary);
}

.orb-particles span:nth-child(6) {
    animation-delay: -6.6s;
    background: var(--secondary);
}

@keyframes particle-orbit {
    from {
        transform: rotate(0deg) translateX(180px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(180px) rotate(-360deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel-scroll 2s ease-in-out infinite;
}

@keyframes wheel-scroll {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(8px);
    }
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 100px 24px;
    position: relative;
    z-index: 1;
}

.features-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Feature Card */
.feature-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px 32px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--orb-1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover .card-glow {
    opacity: 1;
}

.ai-glow {
    background: radial-gradient(circle, var(--orb-2) 0%, transparent 60%);
}

.premium-glow {
    background: radial-gradient(circle, rgba(234, 179, 8, 0.2) 0%, transparent 60%);
}

.card-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.icon-bg {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.ai-icon {
    background: var(--gradient-secondary);
}

.premium-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.icon-ring {
    position: absolute;
    inset: -8px;
    border: 2px solid var(--primary);
    border-radius: 24px;
    opacity: 0.3;
    animation: icon-ring-pulse 2s ease-in-out infinite;
}

.ai-ring {
    border-color: var(--secondary);
}

.premium-ring {
    border-color: #f59e0b;
}

@keyframes icon-ring-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.1;
    }
}

.ai-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 24px;
    background: var(--gradient-secondary);
    opacity: 0;
    animation: ai-pulse 2s ease-in-out infinite;
}

.premium-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    opacity: 0;
    animation: ai-pulse 2s ease-in-out infinite;
}

@keyframes ai-pulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 0.2;
        transform: scale(1.1);
    }
}

.feature-card:hover .icon-bg {
    transform: scale(1.1) rotate(-5deg);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.card-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-card-hover);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card-features span i {
    color: var(--primary);
    font-size: 0.7rem;
}

.ai-card .card-features span i {
    color: var(--secondary);
}

.premium-card .card-features span i {
    color: #f59e0b;
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.ai-card .card-action {
    color: var(--secondary);
}

.premium-card .card-action {
    color: #d97706;
}

.feature-card:hover .card-action {
    gap: 12px;
}

.card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover .card-shine {
    left: 100%;
}

/* AI Card floating elements */
.ai-float-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ai-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.4;
}

.ai-dot:nth-child(1) {
    top: 20%;
    right: 15%;
    animation: ai-float 3s ease-in-out infinite;
}

.ai-dot:nth-child(2) {
    bottom: 30%;
    right: 25%;
    animation: ai-float 4s ease-in-out infinite 1s;
}

.ai-dot:nth-child(3) {
    top: 50%;
    right: 10%;
    animation: ai-float 5s ease-in-out infinite 2s;
}

@keyframes ai-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.2);
        opacity: 0.8;
    }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 60px 24px;
    position: relative;
    z-index: 1;
}

.stats-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }

    .stat-divider {
        width: 60px !important;
        height: 1px !important;
    }
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--glass-border);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 24px;
    position: relative;
    z-index: 1;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 60px 40px;
    background: var(--bg-card);
    border-radius: 32px;
    text-align: center;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.btn-cta.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-cta.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-cta.secondary {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-cta.secondary:hover {
    background: var(--gradient-secondary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
.landing-footer {
    padding: 60px 24px 40px;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo .logo-gradient {
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for grid items */
.features-grid .reveal-item:nth-child(1) {
    transition-delay: 0.1s;
}

.features-grid .reveal-item:nth-child(2) {
    transition-delay: 0.2s;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .floating-objects {
        opacity: 0.5;
    }

    .obj-cube {
        right: 5%;
    }

    .obj-sphere {
        width: 50px;
        height: 50px;
    }

    .obj-torus {
        width: 60px;
        height: 60px;
    }

    .hero-section {
        padding: 100px 20px 60px;
    }

    .hero-visual {
        display: none;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .feature-card {
        padding: 30px 24px;
    }

    .card-icon {
        width: 64px;
        height: 64px;
    }

    .icon-bg {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
        border-radius: 16px;
    }

    .cta-container {
        padding: 40px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .landing-header {
        padding: 12px 16px;
    }

    .logo-gradient {
        font-size: 1.5rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features-section {
        padding: 60px 16px;
    }

    .section-header {
        margin-bottom: 40px;
    }
}