@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    /* Premium Palette */
    --bg-primary: #000000;
    --bg-secondary: #050505;

    --primary-purple: #8B5CF6;
    --primary-cyan: #06B6D4;
    --nano-yellow: #FBBF24;
    --nano-cyan: #22D3EE;
    --nano-white: #FFFFFF;
    --accent-pink: #EC4899;
    --accent-green: #10B981;

    --glass-bg: rgba(20, 20, 20, 0.8);
    --glass-border: rgba(139, 92, 246, 0.3);

    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;

    --glow-purple: 0 0 40px rgba(139, 92, 246, 0.4);
    --glow-cyan: 0 0 40px rgba(6, 182, 212, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* --- Premium Animated Background --- */
.background-wrapper {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0a1628 100%);
}

.mesh-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
    animation: meshFloat 15s ease-in-out infinite alternate;
}

@keyframes meshFloat {
    0% {
        transform: scale(1) translateY(0);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.1) translateY(-30px);
        opacity: 1;
    }
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

/* --- Typography --- */
h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan), var(--accent-pink));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* --- Premium Nav --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 24px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: var(--glow-purple);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
    }
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-cyan));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- Premium Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.hero h1 {
    font-size: clamp(50px, 10vw, 120px);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 24px;
    color: white;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 60px rgba(139, 92, 246, 0.3);
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, var(--primary-purple), var(--primary-cyan)) 1;
    padding-left: 20px;
    text-align: left;
    position: relative;
    z-index: 1;
}

/* --- Premium Buttons --- */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.btn {
    padding: 18px 45px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary-purple);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

/* --- Premium Cards --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(30, 30, 40, 0.8), rgba(20, 20, 30, 0.6));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 35px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-cyan), var(--accent-pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(139, 92, 246, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    font-size: 45px;
    margin-bottom: 20px;
    display: block;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 22px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* --- Premium Phone Showcase --- */
.showcase-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.showcase-text {
    flex: 1;
}

.showcase-text h2 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1a1a2e, #0a0a15);
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-radius: 45px;
    box-shadow:
        -30px 30px 60px rgba(139, 92, 246, 0.15),
        0 0 80px rgba(139, 92, 246, 0.1);
    transform: rotate(-5deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3), transparent);
    filter: blur(40px);
}

.phone-mockup:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow:
        0 0 80px rgba(139, 92, 246, 0.3),
        0 40px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 42px;
    background: black;
    overflow: hidden;
}

/* --- Premium FAQ --- */
.faq-item {
    background: linear-gradient(145deg, rgba(30, 30, 40, 0.6), rgba(20, 20, 30, 0.4));
    border-left: 4px solid rgba(139, 92, 246, 0.3);
    border-radius: 0 15px 15px 0;
    padding: 25px 30px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-left-color: var(--primary-purple);
    background: linear-gradient(145deg, rgba(40, 40, 55, 0.8), rgba(30, 30, 45, 0.6));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-question {
    font-weight: 700;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}

.faq-question span {
    color: var(--primary-purple);
    font-size: 24px;
}

.faq-answer {
    display: none;
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active {
    border-left-color: var(--primary-cyan);
}

/* --- Premium Footer --- */
footer {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 80px 0;
    margin-top: 100px;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.05));
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    margin: 0 20px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-purple);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }

    .nav-links {
        display: none;
    }

    .showcase-container {
        flex-direction: column;
    }

    .phone-mockup {
        transform: rotate(0deg);
        margin-top: 50px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* --- Scroll Animations --- */
[data-aos] {
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}