/* styles_v2.css - Dark Tech Aesthetic */

/* ===== Variables ===== */
:root {
    /* Colors */
    --bg-main: #000212;
    --bg-secondary: #0A0A0A;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    --text-primary: #EEEEEE;
    --text-secondary: #A1A1AA;
    --text-tertiary: #52525B;

    /* Accents */
    --accent-primary: #8B5CF6;
    /* Violet */
    --accent-secondary: #3B82F6;
    /* Blue */
    --accent-tertiary: #EC4899;
    /* Pink */
    --accent-gradient: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    --accent-glow: conic-gradient(from 180deg at 50% 50%, #2a8af6 0deg, #a853ba 180deg, #e92a67 360deg);

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    /* Effects */
    --glass-blur: blur(12px);
    --shadow-glow: 0 0 80px rgba(139, 92, 246, 0.15);

    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-tech: 'Orbitron', sans-serif;
}

/* ===== Reset & Base ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Utilities ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.glow-text {
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Navbar (Glass) ===== */
.navbar {
    position: fixed;
    top: 0;
    w: 100%;
    z-index: 1000;
    height: 70px;
    background: rgba(0, 2, 18, 0.7);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-tech);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.logo span {
    color: var(--accent-secondary);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-link:hover {
    color: #fff;
}

.nav-cta {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: #fff;
    font-size: 0.85rem;
}

.nav-cta:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    /* Offset for navbar */
    overflow: hidden;
}

/* Background Effects */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--accent-glow);
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    z-index: -1;
}

.hero-badge {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--accent-secondary);
    margin-bottom: 24px;
    display: inline-block;
    letter-spacing: 0.5px;
    animation: fadeUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease-out 0.1s backwards;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeUp 0.8s ease-out 0.2s backwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeUp 0.8s ease-out 0.3s backwards;
}

.btn-primary {
    padding: 14px 32px;
    background: #fff;
    color: #000;
    font-weight: 600;
    border-radius: 30px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    padding: 14px 32px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
}

/* ===== Bento Grid (Value Props) ===== */
.section {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: var(--accent-primary);
    font-family: var(--font-tech);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

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

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.bento-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.bento-large {
    grid-column: span 2;
}

.bento-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.05);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.bento-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.bento-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Course Feature ===== */
.course-feature {
    position: relative;
    background: linear-gradient(180deg, rgba(20, 20, 30, 0.5), rgba(0, 0, 0, 0));
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    overflow: hidden;
}

.course-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.holo-card {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    border-radius: 8px;
    font-family: var(--font-tech);
    font-size: 0.9rem;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-secondary);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.product-img {
    height: 180px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.product-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-card), transparent);
}

.product-info {
    padding: 24px;
}

.product-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.product-price {
    color: #fff;
    font-weight: 600;
}

.product-arrow {
    color: var(--text-secondary);
    transition: 0.2s;
}

.product-card:hover .product-arrow {
    color: var(--accent-secondary);
    transform: translateX(5px);
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    margin-top: 80px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large {
        grid-column: span 1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    /* Simplified for mobile */
}