:root {
    --bg-main: #0a0512;
    --bg-card: rgba(20, 12, 35, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(239, 68, 68, 0.25);
    
    --text-primary: #f3f4f6;
    --text-muted: #9ca3af;
    
    --accent: #ff007f;
    --accent-glow: rgba(255, 0, 127, 0.45);
    --gradient-hero: linear-gradient(135deg, #1e0b36 0%, #0a0512 100%);
    --gradient-primary: linear-gradient(135deg, #ff007f 0%, #7928ca 100%);
    
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── NAVIGATION ─── */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    box-shadow: 0 0 15px var(--accent-glow);
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.btn-nav-github {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary) !important;
}

.btn-nav-github:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ─── HERO SECTION ─── */
.hero {
    position: relative;
    background: var(--gradient-hero);
    padding: 20px 0 100px;
    border-bottom: 1px solid var(--border-color);
}

.glow-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.glow-1 {
    top: -100px;
    left: 20%;
    width: 400px;
    height: 400px;
    background: var(--accent);
}

.glow-2 {
    top: 100px;
    right: 20%;
    width: 450px;
    height: 450px;
    background: #7928ca;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(255, 0, 127, 0.1);
    border: 1px solid rgba(255, 0, 127, 0.2);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.5; }
}

h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 30%, #a5a5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.description {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 70px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 0, 127, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ─── SHOWCASE MOCKUP ─── */
.showcase-container {
    background: rgba(15, 8, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(121, 40, 202, 0.15);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.showcase-container:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 0, 127, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(255, 0, 127, 0.2);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.window-dot.red { background-color: #ff5f56; }
.window-dot.yellow { background-color: #ffbd2e; }
.window-dot.green { background-color: #27c93f; }

.window-title {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    margin-left: 12px;
}

.showcase-img {
    display: block;
    width: 100%;
    height: auto;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* ─── MAIN CONTENT / SECTIONS ─── */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-icon {
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 0, 127, 0.1);
    color: var(--accent);
    margin-bottom: 20px;
}

.section h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 40%, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
}

/* ─── FEATURES GRID ─── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(25, 15, 45, 0.5);
    border-color: rgba(255, 0, 127, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 0, 127, 0.05);
}

.card-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.card:hover .card-icon-wrapper {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.3);
    border-color: transparent;
}

.card h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: #fff;
}

.card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ─── TECHNICAL SECTION ─── */
.technical-section {
    position: relative;
}

.glass-box {
    background: linear-gradient(135deg, rgba(20, 10, 35, 0.5) 0%, rgba(10, 5, 20, 0.7) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px;
    backdrop-filter: blur(12px);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.tech-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(121, 40, 202, 0.15);
    border: 1px solid rgba(121, 40, 202, 0.3);
    border-radius: 6px;
    color: #a855f7;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.tech-info h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.tech-info > p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 40px;
}

.tech-bullets {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.bullet-item {
    display: flex;
    gap: 20px;
}

.bullet-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.bullet-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.bullet-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Tech Graphic Display Card */
.tech-graphic {
    display: flex;
    justify-content: center;
}

.tech-card {
    background: rgba(5, 2, 10, 0.6);
    border: 1px solid rgba(255, 0, 127, 0.15);
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 0, 127, 0.05);
}

.tech-tag {
    font-size: 10px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.tech-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.tech-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.tech-list li {
    font-size: 13px;
    color: var(--text-muted);
    position: relative;
    padding-left: 18px;
}

.tech-list li::before {
    content: "•";
    position: absolute;
    left: 2px;
    color: var(--accent);
    font-size: 16px;
    line-height: 1;
}

.tech-status {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.08);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 6px #10b981;
}

/* ─── CALL TO ACTION ─── */
.cta-section {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding: 120px 0;
}

.cta-section h2 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

/* ─── FOOTER ─── */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.3);
}

.text-center {
    text-align: center;
}

footer p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

footer p strong {
    color: var(--text-primary);
}

.credits-sub {
    font-size: 12px;
    color: #6b7280;
}

/* ─── RESPONSIVENESS ─── */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    h1 {
        font-size: 52px;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 16px;
        padding-bottom: 16px;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 40px;
    }
    .hero-buttons, .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        margin-bottom: 40px;
    }
    .glass-box {
        padding: 30px;
    }
    .section {
        padding: 60px 0;
    }
}
