@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #050505; /* True Black */
    --bg-card: rgba(10, 10, 10, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    --primary: #8b5cf6; /* Neon Purple */
    --accent: #14b8a6; /* Cyber Teal */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --glow: rgba(139, 92, 246, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Noise texture overlay */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
}

/* Hacker / Cyber 3D Moving Grid */
.bg-animated-grid {
    position: fixed;
    bottom: -50%; left: -50%;
    width: 200vw; height: 200vh;
    background-size: 60px 60px;
    background-image: 
        linear-gradient(to right, rgba(20, 184, 166, 0.25) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(139, 92, 246, 0.25) 1px, transparent 1px);
    z-index: -3;
    transform: perspective(600px) rotateX(60deg) translateY(0);
    animation: gridMove 4s linear infinite;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 80%);
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 80%);
}

@keyframes gridMove {
    0% { transform: perspective(600px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(600px) rotateX(60deg) translateY(60px); }
}

/* Subtle Aurora to give depth */
.aurora {
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.25), transparent 40%),
                radial-gradient(circle at 60% 60%, rgba(20, 184, 166, 0.25), transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.15), transparent 40%);
    z-index: -2;
    animation: rotateGlow 25s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 0; right: 0;
    margin: 0 auto;
    width: 90%;
    max-width: 1000px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 99px;
    padding: 0.8rem 1rem 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
}

.nav-brand span {
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; align-items: center; }
.nav-links a.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    margin-right: 2rem;
    transition: 0.3s;
}
.nav-links a.nav-item:hover { color: #fff; }

.btn, .btn-primary, .btn-outline {
    padding: 0.7rem 1.8rem;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    text-align: center;
    font-family: inherit;
    font-size: 0.95rem;
}

.btn-primary {
    background: #fff;
    color: #000 !important;
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
}
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255,255,255,0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255,255,255,0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10rem 2rem 4rem;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
    background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span.gradient {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.badge {
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: #14b8a6;
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.2);
}

/* Bento Grid Features */
.features {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 5rem;
    letter-spacing: -0.04em;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; }
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}
.bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.05), transparent 40%);
    pointer-events: none;
}
.bento-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(20, 184, 166, 0.05);
}

.bento-wide { grid-column: span 2; }
@media (max-width: 600px) {
    .bento-wide { grid-column: span 1; }
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(20, 184, 166, 0.15));
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: #fff;
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.2);
}
.bento-card h3 { font-size: 1.6rem; margin-bottom: 0.8rem; font-weight: 600; letter-spacing: -0.02em; }
.bento-card p { color: var(--text-muted); font-size: 1.05rem; font-weight: 300; }

/* Pricing */
.pricing {
    padding: 8rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 40px;
    padding: 4rem 3rem;
    position: relative;
    backdrop-filter: blur(20px);
}
.pricing-card.premium {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: inset 0 0 80px rgba(139, 92, 246, 0.05), 0 0 40px rgba(139, 92, 246, 0.1);
}
.premium-label {
    position: absolute;
    top: 2rem; right: 2rem;
    background: #fff;
    color: #000;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
}
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 500; color: var(--text-muted);}
.pricing-card .price { font-size: 4rem; font-weight: 800; margin-bottom: 3rem; display:flex; align-items:flex-start; letter-spacing:-0.05em; color: #fff;}
.pricing-card .price span { font-size: 1.2rem; color: var(--text-muted); font-weight: 400; margin-top: 0.8rem; margin-left:0.5rem;}
.pricing-list { list-style: none; margin-bottom: 3rem; }
.pricing-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 400;
}

/* Animations */
.animate-up {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

footer {
    text-align: center;
    padding: 5rem 2rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 1rem;
}
