    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "Outfit", sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

main {
    flex: 1;
}

p {
    color: rgba(229, 231, 235, 0.85);
}

h1, h2, h3, h4 {
    color: #ffffff;
}

ul,
li {
    color: white;
}

section, div {
    color: inherit;
}

html {
    background-color: #020617;
}

body {
    background:
    radial-gradient(circle at top,
    rgba(99,102,241,0.35),
    transparent 40%),

    radial-gradient(circle at bottom right,
    rgba(236,72,153,0.25),
    transparent 45%),

    linear-gradient(180deg, #020617, #0f172a);
}

/* HEADER */

header {
    width: 100%;
    padding: 20px 8%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top: 0;

    background: rgba(11, 15, 26, 0.8);
    backdrop-filter: blur(10px);

    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 250px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

nav a:hover {
    color: #3b82f6;
}

nav a.active {
    color: #3b82f6;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 5px;
}

.header-btn {
    padding: 12px 22px;
    border: none;
    border-radius: 10px;

    background: #3b82f6;
    color: white;

    font-family: 'Outfit', sans-serif;
    cursor: pointer;

    transition: 0.3s;
}

.header-btn:hover {
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.typing {
    display: block;
    white-space: nowrap;
}

/* cursor only appears on active line */
.typing.active::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #3b82f6;
    margin-left: 5px;
    animation: blink 0.8s infinite;
    vertical-align: middle;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* HERO */

.hero {
    min-height: calc(100dvh - 80px);
    padding: 120px 8% 80px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-text {
    width: 50%;
}

.hero-text h2 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #bfc9d9;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.primary-btn,
.secondary-btn {
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 12px;

    font-family: 'Outfit', sans-serif;
    font-size: 1rem;

    cursor: pointer;
    transition: transform 0.3s ease;
}

.primary-btn {
    background: #3b82f6;
    border: none;
    color: white;
}

.secondary-btn {
    background: transparent;
    border: 1px solid #3b82f6;
    color: white;
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-5px);
}

.window-content p {
    margin-bottom: 20px;
    color: #60a5fa;
    font-family: monospace;
}

.cursor {
    animation: blink 0.8s infinite;
    color: #3b82f6;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* HERO CARD */

.hero-card {
    width: 450px;
    position: relative;
}

.card-glow {
    position: absolute;

    width: 100%;
    height: 100%;

    background: #3b82f6;

    filter: blur(100px);
    opacity: 0.3;

    z-index: -1;
}

.fake-window {
    background: #111827;
    border: 1px solid #1f2937;

    border-radius: 20px;
    overflow: hidden;

    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.window-top {
    padding: 15px;
    background: #1f2937;

    display: flex;
    gap: 10px;
}

.window-top span {
    width: 12px;
    height: 12px;

    border-radius: 50%;
    background: #374151;
}

.window-content {
    padding: 30px;
}

.window-content p {
    margin-bottom: 20px;
    color: #60a5fa;
}

/* SERVICES */

.services,
.portfolio,
.contact,
.pricing {
    padding: 100px 8%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.service-container,
.portfolio-container,
.pricing-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.portfolio-box {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-box,
.portfolio-box,
.pricing-box {
    flex: 1;

    min-width: 250px;

    background: #111827;

    padding: 40px;
    border-radius: 20px;

    border: 1px solid #1f2937;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-box:hover,
.portfolio-box:hover,
.pricing-box:hover:not(.premium) {
    transform: scale(1.03);

    border-color: #3b82f6;

    box-shadow: 0 0 20px #3b82f633;
    will-change: transform;
}

.service-box h3,
.portfolio-box h3 {
    margin-bottom: 15px;
}

.service-box p,
.portfolio-box p,
.contact p,
.pricing p {
    color: #bfc9d9;
    line-height: 1.7;
}

.pricing-box h3,
.pricing-box h1 {
    margin-bottom: 15px;
    text-align: center;
}

.price-desc {
    color: #bfc9d9;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* base hover */
.pricing-box {
    transition: 0.3s;
}

/* STARTER = subtle */
.pricing-box.starter {
    border: 1px solid #1f2937;
}

/* STANDARD = highlighted */
.pricing-box.standard {
    border: 1px solid #3b82f6;
    position: relative;
}

/* PREMIUM = premium feel */
.pricing-box.premium {
    position: relative;

    border: 1px solid transparent;
    background: linear-gradient(#111827, #111827) padding-box,
                linear-gradient(135deg, #d4af37, #f5d76e, #b8860b) border-box;

    border-radius: 20px;

    box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
    transition: 0.4s ease;
}

.pricing-box.premium:hover {
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.35);
}

@keyframes shine {
    0% {
        background-position: -200% 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        background-position: 200% 0;
        opacity: 1;
    }

    60% {
        opacity: 0;
    }

    100% {
        background-position: 200% 0;
        opacity: 0;
    }
}

.pricing-box.premium::before {
    content: "";
    position: absolute;

    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;

    border-radius: 20px;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 215, 0, 0.4) 50%,
        transparent 100%);

    animation: shine 6s ease-in-out infinite;

    background-size: 200% 200%;

    z-index: 0;

    pointer-events: none;
}

.tag {
    position: absolute;
    top: 20px;
    right: 20px;

    background: #3b82f6;
    color: white;

    padding: 5px 12px;
    font-size: 0.75rem;

    border-radius: 8px;
}

.btn:not(.premium) {
    display: inline-block;
    background-color: #3b82f6;
    cursor: pointer;
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border: 1px solid;
    border-color: #3b82f6;
    margin-top: 20px;
    border-radius: 8px;
}

.btn.premium {
    display: inline-block;
    background-color: #b8860b;
    cursor: pointer;
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border: 1px solid;
    border-color: #d4af37;
    margin-top: 20px;
    border-radius: 8px;
}

/* CONTACT */

.contact {
    text-align: center;
}

.contact h2,
.contact p {
    text-align: left;
}

.text-box-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(100px, 300px));
    gap: 17px;
    width: fit-content;
    margin-right: 0;
    margin-bottom: 30px;
}

.text-box-group input {
    width: 100%;
    height: 15px;
}

.text-box {
    border: 1px solid;
    background-color: white;
    padding: 15px;
    border-radius: 6px;
    transition: 0.3s;
    outline: none;
    box-sizing: border-box;
}

.text-box:hover {
    border-color: #3b82f6;
    background-color: #E7F0FE;;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.message-box {
    display: block;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    max-width: 617px;
}

.message-box input {
    width: 100%;
    height: 70px;
}

.privacy-notice {
    text-align: left;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    width: 100%;
    gap: 30px;
}

.contact-container {
    padding-right: 20px;
}

.contact-icons-group {
    display: grid;
    grid-template-rows: repeat(2, minmax(40px, 1fr));
    gap: 10px;
    padding-top: 20px;
}

.contact-email,
.contact-phone {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-icons {
    color: white;
    width: 100%;
    max-width: 40px;
}

.submit_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #3b82f6;
    cursor: pointer;
    color: white;
    text-decoration: none;
    padding: 10px 25px;
    border: 1px solid;
    border-color: #3b82f6;
    border-radius: 8px;
    margin-bottom: 15px;

    min-width: 90.86px;
    min-height: 37.6px;
}

/* FAQ */

.faq {
    padding: 100px 8%;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #111827;

    border: 1px solid #1f2937;
    border-radius: 18px;

    overflow: hidden;

    transition: 0.3s;
}

.faq-item:hover {
    border-color: #3b82f6;
}

.faq-question {
    width: 100%;

    background: transparent;
    border: none;

    color: white;

    padding: 25px;

    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;

    display: flex;
    justify-content: space-between;
    align-items: center;

    cursor: pointer;
}

.faq-question span {
    font-size: 1.5rem;
    color: #3b82f6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;

    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: #bfc9d9;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}



/* =========================
   FOOTER
========================= */

.footer {
    background: #08101d;

    padding: 80px 8% 30px;

    border-top: 1px solid #1f2937;
}

/* =========================
   FOOTER CONTAINER
========================= */

.footer-container {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    align-items: flex-start;
    text-align: center;
    justify-content: space-between;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* =========================
   FOOTER BRAND
========================= */

.footer-brand {
    max-width: 200px;
    text-align: center;
}

.footer-brand img {
    width: 140px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #bfc9d9;
    line-height: 1.7;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.footer-social h3 {
    margin-bottom: 20px;
}

.footer-social img {
    max-width: 40px;
}

.social-icon {
    transition: 0.3s ease;
}

.social-icon:hover {
    filter: invert(43%) sepia(67%) saturate(2494%) hue-rotate(202deg) brightness(97%) contrast(98%);
    filter: invert(51%) sepia(43%) saturate(3403%) hue-rotate(160deg) brightness(93%) contrast(101%) drop-shadow(0 0 4px #3b82f6);;
}
/* =========================
   LINKS & CONTACT
========================= */

.footer-links,
.footer-contact {
    min-width: 200px;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    margin-bottom: 15px;
    color: #bfc9d9;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-contact p {
    margin-bottom: 15px;
    color: #bfc9d9;
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 25px;
    text-align: center;
    align-items: center;
}

.footer-bottom p {
    color: #7b8798;
    font-size: 0.95rem;
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.custom-loader {
    display: none;

    --d:12px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    color: white;
    box-shadow: 
        calc(1*var(--d))      calc(0*var(--d))     0 0,
        calc(0.707*var(--d))  calc(0.707*var(--d)) 0 0.4px,
        calc(0*var(--d))      calc(1*var(--d))     0 0.8px,
        calc(-0.707*var(--d)) calc(0.707*var(--d)) 0 1.2px,
        calc(-1*var(--d))     calc(0*var(--d))     0 1.6px,
        calc(-0.707*var(--d)) calc(-0.707*var(--d))0 2.0px,
        calc(0*var(--d))      calc(-1*var(--d))    0 2.4px;
    animation: s7 0.9s infinite steps(8);
}

@keyframes s7 {
  100% {transform: rotate(1turn)}
}

/* MOBILE HEADER */
@media(max-width: 980px) {
    header {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        flex-direction: column;
        gap: 20px;
    }

    .menu-toggle {
        display: block;
        justify-self: start;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .logo {
        justify-self: center;
    }

    .header-btn {
        justify-self: end;
        padding: 10px 4px;
    }

    .window-content {
    width: 100%;
    min-height: 150px;
    display: block;
    }

    nav {
        display: flex;
        flex-direction: column;

        position: fixed;
        top: 80px;
        left: 0;
        transform: translateX(-120%);

        background: rgba(11, 15, 26, 0.8);
        backdrop-filter: blur(10px);

        padding: 20px;
        border-radius: 12px;

        width: 200px;
        justify-content: flex-start;

        transition: 0.3s ease;
        z-index: 9999;
    }

    nav.active {
        transform: translateX(0);
    }

    .logo img {
        width: 120px;
    }

    .hero-text h2 {
        font-size: 2.2rem;
    }

    .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    }

    .service-container,
    .portfolio-container {
        flex-direction: column;
    }

    .service-box,
    .portfolio-box {
        width: 100%;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        justify-content: center;
    }

    .hero-text {
        width: 100%;
    }

    .hero-card {
    width: 100%;
    max-width: 500px;
    min-height: 200px;
    display: block;
    }  

    .contact-form {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .text-box-group {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer {
        text-align: center;
    }

    .footer-brand img {
        margin: 0 auto 20px;
    }
}