/* ========================================
   GLOBAL
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    background: #0b0b12;
    color: #f8fafc;

    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* ========================================
   NAVBAR
======================================== */

.navbar {
    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(11, 11, 18, 0.88);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    max-width: 1250px;

    margin: auto;

    padding: 16px 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.brand {
    display: flex;

    align-items: center;

    gap: 12px;
}

.brand-icon {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #8b5cf6,
            #6366f1
        );

    color: white;

    font-size: 18px;

    box-shadow:
        0 8px 25px rgba(99, 102, 241, 0.25);
}

.brand-text {
    display: flex;

    flex-direction: column;

    line-height: 1.2;
}

.brand-text strong {
    font-size: 16px;

    color: #ffffff;
}

.brand-text span {
    font-size: 11px;

    color: #9ca3af;

    margin-top: 3px;
}

.nav-links {
    display: flex;

    align-items: center;

    gap: 28px;
}

.nav-links a {
    color: #a1a1aa;

    font-size: 14px;

    font-weight: 600;

    display: flex;

    align-items: center;

    gap: 7px;

    transition: 0.3s;
}

.nav-links a:hover {
    color: #a78bfa;
}


/* ========================================
   HERO
======================================== */

.hero {
    position: relative;

    min-height: 680px;

    overflow: hidden;

    display: flex;

    align-items: center;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(124, 58, 237, 0.16),
            transparent 30%
        ),

        radial-gradient(
            circle at 85% 70%,
            rgba(59, 130, 246, 0.12),
            transparent 30%
        ),

        #0b0b12;
}

.hero-background {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );

    pointer-events: none;
}

.hero-container {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1250px;

    margin: auto;

    padding: 90px 30px;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 80px;

    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.status-badge {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 7px 13px;

    border-radius: 30px;

    background: rgba(139, 92, 246, 0.1);

    border: 1px solid rgba(139, 92, 246, 0.25);

    color: #c4b5fd;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.5px;

    margin-bottom: 24px;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #a78bfa;

    box-shadow:
        0 0 12px #a78bfa;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 76px);

    line-height: 1.02;

    letter-spacing: -3px;

    font-weight: 800;

    color: #ffffff;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;

    background:
        linear-gradient(
            90deg,
            #a78bfa,
            #818cf8,
            #60a5fa
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}

.hero-description {
    max-width: 600px;

    color: #9ca3af;

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 32px;
}


/* ========================================
   HERO BUTTONS
======================================== */

.hero-buttons {
    display: flex;

    gap: 13px;

    flex-wrap: wrap;

    margin-bottom: 45px;
}

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 13px 20px;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform 0.3s,
        background 0.3s,
        border 0.3s;
}

.primary-button {
    background:
        linear-gradient(
            135deg,
            #8b5cf6,
            #6366f1
        );

    color: white;

    box-shadow:
        0 12px 30px rgba(99, 102, 241, 0.2);
}

.primary-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 35px rgba(99, 102, 241, 0.3);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(255, 255, 255, 0.1);

    color: #e4e4e7;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(167, 139, 250, 0.4);

    transform: translateY(-3px);
}


/* ========================================
   HERO META
======================================== */

.hero-meta {
    display: flex;

    align-items: center;

    gap: 38px;
}

.hero-meta div {
    display: flex;

    flex-direction: column;
}

.hero-meta strong {
    font-size: 25px;

    color: white;

    line-height: 1.2;
}

.hero-meta span {
    color: #71717a;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-top: 4px;
}


/* ========================================
   CODE WINDOW
======================================== */

.hero-visual {
    position: relative;

    min-height: 430px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.code-window {
    width: 100%;

    max-width: 510px;

    border-radius: 15px;

    overflow: hidden;

    background: #11111a;

    border: 1px solid rgba(255, 255, 255, 0.1);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),

        0 0 80px rgba(
            124,
            58,
            237,
            0.08
        );

    transform: perspective(1000px) rotateY(-3deg);

    transition: 0.4s;
}

.code-window:hover {
    transform:
        perspective(1000px)
        rotateY(0deg)
        translateY(-5px);
}

.window-header {
    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    background: #171721;
}

.window-dots {
    position: absolute;

    left: 17px;

    display: flex;

    gap: 6px;
}

.window-dots span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #3f3f46;
}

.window-title {
    color: #71717a;

    font-size: 11px;

    font-family: monospace;
}

.code-content {
    padding: 30px 20px;

    min-height: 335px;

    font-family:
        "Courier New",
        monospace;

    font-size: 13px;

    line-height: 2.05;
}

.code-line {
    display: flex;

    white-space: pre;
}

.line-number {
    width: 35px;

    color: #3f3f46;

    user-select: none;
}

.indent {
    padding-left: 35px;
}

.purple {
    color: #c084fc;
}

.green {
    color: #86efac;
}

.orange {
    color: #fdba74;
}

.blue {
    color: #60a5fa;
}

.white {
    color: #e4e4e7;
}

.muted {
    color: #71717a;
}


/* ========================================
   FLOATING CARDS
======================================== */

.floating-card {
    position: absolute;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 11px 14px;

    background: rgba(20, 20, 30, 0.9);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 11px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.3);

    backdrop-filter: blur(12px);
}

.floating-card i {
    font-size: 22px;
}

.floating-card div {
    display: flex;

    flex-direction: column;

    line-height: 1.2;
}

.floating-card strong {
    color: #f4f4f5;

    font-size: 12px;
}

.floating-card span {
    color: #71717a;

    font-size: 10px;

    margin-top: 3px;
}

.floating-card-one {
    top: 55px;

    left: -15px;
}

.floating-card-one i {
    color: #f97316;
}

.floating-card-two {
    right: -10px;

    bottom: 55px;
}

.floating-card-two i {
    color: #facc15;
}


/* ========================================
   QUESTIONS SECTION
======================================== */

.questions-section {
    padding: 110px 30px;

    background: #f8f8fb;

    color: #18181b;
}

.section-container {
    max-width: 1250px;

    margin: auto;
}

.section-heading {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 55px;
}

.section-label {
    display: inline-block;

    color: #7c3aed;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 40px;

    line-height: 1.2;

    letter-spacing: -1px;

    margin-bottom: 12px;

    color: #18181b;
}

.section-heading h2 span {
    color: #7c3aed;
}

.section-heading p {
    color: #71717a;

    font-size: 15px;
}


/* ========================================
   QUESTION GRID
======================================== */

.question-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.question-card {
    min-height: 315px;

    display: flex;

    flex-direction: column;

    background: white;

    border: 1px solid #e4e4e7;

    border-radius: 16px;

    padding: 24px;

    box-shadow:
        0 8px 30px rgba(24, 24, 27, 0.04);

    transition:
        transform 0.35s,
        box-shadow 0.35s,
        border 0.35s;

    position: relative;

    overflow: hidden;
}

.question-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #8b5cf6,
            #6366f1
        );

    transform: scaleX(0);

    transform-origin: left;

    transition: 0.35s;
}

.question-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 45px rgba(24, 24, 27, 0.1);

    border-color: #ddd6fe;
}

.question-card:hover::before {
    transform: scaleX(1);
}

.card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 25px;
}

.question-icon {
    width: 48px;
    height: 48px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 19px;
}

.icon-purple {
    background: #f3e8ff;
    color: #9333ea;
}

.icon-pink {
    background: #fce7f3;
    color: #db2777;
}

.icon-orange {
    background: #ffedd5;
    color: #ea580c;
}

.icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.question-number {
    font-size: 12px;

    font-weight: 800;

    color: #a1a1aa;

    letter-spacing: 1px;
}

.card-content {
    flex: 1;
}

.card-category {
    color: #8b5cf6;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.3px;
}

.card-content h3 {
    font-size: 20px;

    line-height: 1.3;

    margin: 8px 0 10px;

    color: #18181b;
}

.card-content p {
    color: #71717a;

    font-size: 13px;

    line-height: 1.7;
}

.card-footer {
    padding-top: 18px;

    margin-top: 20px;

    border-top: 1px solid #f4f4f5;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: #a1a1aa;

    font-size: 10px;

    font-weight: 700;
}

.card-footer i {
    color: #7c3aed;

    transition: 0.3s;
}

.question-card:hover .card-footer i {
    transform: translateX(5px);
}


/* ========================================
   ABOUT
======================================== */

.about-section {
    padding: 90px 30px;

    background: #11111a;
}

.about-container {
    max-width: 1000px;

    margin: auto;

    display: flex;

    align-items: center;

    gap: 45px;

    padding: 40px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.08),
            rgba(59, 130, 246, 0.04)
        );

    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-icon {
    flex-shrink: 0;

    width: 80px;
    height: 80px;

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

    color: #c4b5fd;

    background:
        rgba(139, 92, 246, 0.12);

    border:
        1px solid rgba(139, 92, 246, 0.2);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 30px;

    color: white;

    line-height: 1.25;

    margin-bottom: 12px;
}

.about-content h2 span {
    color: #a78bfa;
}

.about-content p {
    color: #9ca3af;

    font-size: 14px;

    max-width: 700px;
}

.technology-list {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    margin-top: 20px;
}

.technology-list span {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 7px 11px;

    border-radius: 7px;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.07);

    color: #d4d4d8;

    font-size: 11px;

    font-weight: 600;
}

.technology-list i {
    color: #a78bfa;
}


/* ========================================
   FOOTER
======================================== */

.footer {
    background: #08080d;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    padding: 35px 30px 20px;
}

.footer-container {
    max-width: 1250px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 12px;
}

.footer-logo {
    width: 36px;
    height: 36px;

    border-radius: 9px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #18181f;

    color: #a78bfa;
}

.footer-brand strong,
.footer-brand span {
    display: block;
}

.footer-brand strong {
    color: #e4e4e7;

    font-size: 13px;
}

.footer-brand span {
    color: #71717a;

    font-size: 10px;

    margin-top: 3px;
}

.footer-info {
    display: flex;

    align-items: center;

    gap: 22px;

    color: #71717a;

    font-size: 11px;
}

.footer-info a {
    display: flex;

    align-items: center;

    gap: 6px;

    color: #a78bfa;

    transition: 0.3s;
}

.footer-info a:hover {
    color: #c4b5fd;
}

.footer-bottom {
    max-width: 1250px;

    margin: 25px auto 0;

    padding-top: 18px;

    border-top: 1px solid rgba(255, 255, 255, 0.05);

    text-align: center;
}

.footer-bottom p {
    color: #52525b;

    font-size: 10px;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1050px) {

    .hero-container {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .hero-content {
        max-width: 750px;

        margin: auto;

        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-meta {
        justify-content: center;
    }

    .hero-visual {
        max-width: 600px;

        width: 100%;

        margin: auto;
    }

    .question-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .nav-container {
        padding: 13px 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero {
        min-height: auto;
    }

    .hero-container {
        padding:
            70px 20px
            90px;
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-meta {
        gap: 25px;
    }

    .hero-visual {
        min-height: 360px;
    }

    .code-window {
        transform: none;
    }

    .floating-card-one {
        left: -5px;

        top: 20px;
    }

    .floating-card-two {
        right: -5px;

        bottom: 20px;
    }

    .questions-section {
        padding: 80px 20px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .question-grid {
        grid-template-columns: 1fr;
    }

    .about-container {
        flex-direction: column;

        align-items: flex-start;

        padding: 30px;
    }

    .footer-container {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-info {
        flex-wrap: wrap;
    }

}


@media (max-width: 480px) {

    .brand-text {
        display: none;
    }

    .nav-links a {
        font-size: 11px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-meta {
        gap: 20px;
    }

    .hero-meta strong {
        font-size: 21px;
    }

    .code-content {
        font-size: 10px;

        padding:
            25px 12px;
    }

    .floating-card {
        padding: 8px 10px;
    }

    .floating-card strong {
        font-size: 10px;
    }

    .floating-card span {
        font-size: 8px;
    }

    .about-content h2 {
        font-size: 25px;
    }

}