/* =========================
   CSS Reset
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #080b12;
    color: #f8fafc;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}



/* =========================
   Variables
========================= */

:root {
    --background: #080b12;
    --surface: #111827;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;

    --accent: #6366f1;
    --accent-hover: #818cf8;

    --border: rgba(255,255,255,0.1);
}



/* =========================
   Hero
========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    position: relative;

    padding: 2rem 1.5rem;

    background:
        radial-gradient(
            circle at top right,
            rgba(99,102,241,0.15),
            transparent 35%
        ),
        var(--background);
}

.hero__container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 4rem;
}

.hero__content {
    max-width: 600px;
}

.hero__brand {
    font-size: 0.9rem;

    color: var(--accent);

    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    margin-bottom: 1.5rem;
}

.hero__location {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero h1 {
    font-size: clamp(2.8rem, 8vw, 5rem);

    line-height: 1.05;

    font-weight: 700;
    letter-spacing: -0.04em;
}

.hero h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        #818cf8,
        #c084fc
    );

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
}

.hero p {
    margin-top: 1.5rem;

    max-width: 500px;

    color: var(--text-secondary);

    font-size: 1.1rem;
    line-height: 1.7;
}



/* =========================
   Buttons
========================= */

.hero__buttons {
    display: flex;
    flex-direction: column;

    gap: 1rem;

    margin-top: 2.5rem;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 0.9rem 1.8rem;

    border-radius: 999px;

    font-weight: 600;

    transition: 0.3s ease;
}

.button--primary {
    background: var(--accent);

    color: white;
}

.button--primary:hover {
    background: var(--accent-hover);
}

.button--secondary {
    border: 1px solid var(--border);

    color: var(--text-primary);
}



/* =========================
   Browser Mockup
========================= */

.hero__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.browser {
    width: 100%;
    max-width: 600px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 1rem;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.4);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.browser:hover {

    transform: translateY(-8px);

    border-color: rgba(99,102,241,0.5);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.4),
        0 0 40px rgba(99,102,241,0.35);
}

.browser__header {
    height: 40px;

    display: flex;
    align-items: center;

    gap: 0.5rem;

    padding-left: 1rem;

    background: rgba(255,255,255,0.05);
}

.browser__header span {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: rgba(255,255,255,0.3);
}

.browser__content {
    padding: 0;
}

.hero__preview {
    margin-top: 1rem;

    text-align: center;

    color: var(--accent);

    font-size: 0.95rem;
    font-weight: 600;
}

.browser__content img {
    display: block;

    width: 100%;
    height: auto;
}



/* =========================
   Intro Section
========================= */

.intro {
    padding: 6rem 1.5rem;

    background: #0d1320;
}

.intro__container {
    max-width: 1200px;

    margin: 0 auto;

    text-align: center;
}

.intro__label {
    color: var(--accent);

    font-size: 0.85rem;
    font-weight: 600;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    margin-bottom: 1.5rem;
}

.intro h2 {
    max-width: 800px;

    margin: 0 auto;

    font-size: clamp(2rem, 5vw, 3.5rem);

    line-height: 1.15;
    letter-spacing: -0.03em;
}

.intro__text {
    max-width: 650px;

    margin: 1.5rem auto 0;

    color: var(--text-secondary);

    font-size: 1.1rem;
    line-height: 1.7;
}



/* =========================
   Feature Cards
========================= */

.intro__features {
    display: grid;

    grid-template-columns: 1fr;

    gap: 1.5rem;

    margin-top: 4rem;
}

.intro__feature {
    min-height: 320px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    padding: 2rem;

    background: rgba(255,255,255,0.03);

    border: 1px solid var(--border);
    border-radius: 1rem;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.intro__feature:hover {
    transform: translateY(-8px);

    border-color: rgba(99,102,241,0.4);

    background: rgba(255,255,255,0.05);
}

.intro__feature h3 {
    margin-bottom: 1rem;

    font-size: 1.35rem;
}

.intro__feature p {
    color: var(--text-secondary);

    line-height: 1.6;
}



/* =========================
   Feature Icons
========================= */

.intro__icon {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: auto;

    background:
        rgba(99,102,241,0.18);

    border: 1px solid rgba(129,140,248,0.25);
    border-radius: 50%;

    box-shadow:
        0 0 25px rgba(99,102,241,0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.intro__icon img {
    width: 32px;
    height: 32px;

    filter: brightness(0) invert(1);
}



/* =========================
   Services Section
========================= */

.services {
    padding: 6rem 1.5rem;

    background-color: #080b12;
}

.services__container {
    max-width: 1200px;

    margin: 0 auto;
}

/* Heading */
.services__heading {
    max-width: 700px;

    margin-bottom: 4rem;
}

.services__label {
    color: var(--accent);

    font-size: 0.85rem;
    font-weight: 600;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    margin-bottom: 1.5rem;
}

.services__heading h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);

    line-height: 1.15;
    letter-spacing: -0.03em;
}

.services__heading p:last-child {
    margin-top: 1.5rem;

    max-width: 600px;

    color: var(--text-secondary);

    font-size: 1.1rem;
    line-height: 1.7;
}

/* Service List */
.services__list {
    display: flex;

    flex-direction: column;
}

.service {
    display: flex;

    flex-direction: column;

    gap: 1.5rem;

    padding: 2.5rem 0;

    border-top: 1px solid var(--border);

    transition: transform 0.3s ease;
}

.service:last-child {
    border-bottom: 1px solid var(--border);
}

.service:hover {
    transform: translateX(10px);
}

/* Number */
.service__number {
    font-size: 1rem;

    font-weight: 600;

    color: var(--accent);

    letter-spacing: 0.05em;
}

/* Content */
.service__content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);

    margin-bottom: 1rem;
}

.service__content p {
    max-width: 600px;

    color: var(--text-secondary);

    line-height: 1.7;
}



/* =========================
   Scroll Reveal Preparation
========================= */

.reveal {
    opacity: 0;

    transform: translateY(40px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.active {
    opacity: 1;

    transform: translateY(0);
}



/* =========================
   Portfolio Section
========================= */

.portfolio {
    padding: 6rem 1.5rem;

    background: #0d1320;
}

.portfolio__container {
    max-width: 1200px;

    margin: 0 auto;
}

.portfolio__heading {
    max-width: 700px;

    margin-bottom: 4rem;
}

.portfolio__label {
    color: var(--accent);

    font-size: 0.85rem;
    font-weight: 600;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    margin-bottom: 1.5rem;
}

.portfolio__heading h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);

    line-height: 1.15;
}

.portfolio__heading p:last-child {
    margin-top: 1.5rem;

    color: var(--text-secondary);

    line-height: 1.7;
}

.portfolio__grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 2rem;
}

.portfolio__card {
    transition: transform 0.3s ease;
}

.portfolio__card:hover {
    transform: translateY(-10px);
}

.portfolio__browser {
    overflow: hidden;

    background: #111827;
    
    cursor: auto;

    border: 1px solid var(--border);
    border-radius: 1rem;

    box-shadow:
        0 30px 60px rgba(0,0,0,0.35);
}

.portfolio__card h3 {
    margin-top: 1.5rem;

    font-size: 1.2rem;
}

/* Portfolio Browser */
.portfolio__browser {
    overflow: hidden;

    background: #111827;

    border: 1px solid var(--border);
    border-radius: 1rem;

    box-shadow:
        0 30px 60px rgba(0,0,0,0.35);
}

.portfolio__browser:hover {
    box-shadow:
        0 30px 80px rgba(99,102,241,0.25);
}

.portfolio__browser .browser__header {
    position: relative;
    z-index: 2;

    height: 35px;
}


/* Browser Preview */
.portfolio__preview {
    height: 260px;
    overflow: hidden;
}


.portfolio__preview img {
    width: 100%;
    height: auto;

    object-fit: cover;
    object-position: top;
}

.preview-mobile {
    display: none;
}

/* Example themes */
.cafe {
    background:
        linear-gradient(
            135deg,
            #92400e,
            #f59e0b
        );
}

.cafe p, .cafe h3{
    padding-left: 1rem;
}

.trade {
    background:
        linear-gradient(
            135deg,
            #1e293b,
            #3b82f6
        );
}


.trade p, .trade h3{
    padding-left: 1rem;
}


.fitness {
    background:
        linear-gradient(
            135deg,
            #065f46,
            #10b981
        );
}

.fitness p, .fitness h3{
    padding-left: 1rem;
}

.property {
    background:
        linear-gradient(
            135deg,
            #312e81,
            #818cf8
        );
}

.property p, .property h3{
    padding-left: 1rem;
}



/* =========================
   FAQ Section
========================= */

.faq {
    padding: 6rem 1.5rem;

    background-color: #080b12;
}

.faq__container {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr;

    gap: 4rem;
}



/* =========================
   FAQ Heading
========================= */

.faq__heading {
    max-width: 600px;
}

.faq__label {
    color: var(--accent);

    font-size: 0.85rem;
    font-weight: 600;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    margin-bottom: 1.5rem;
}

.faq__heading h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);

    line-height: 1.15;

    letter-spacing: -0.03em;
}

.faq__heading p:last-child {
    margin-top: 1.5rem;

    color: var(--text-secondary);

    font-size: 1.1rem;
    line-height: 1.7;
}



/* =========================
   FAQ List
========================= */

.faq__list {
    display: flex;

    flex-direction: column;

    border-top: 1px solid var(--border);
}

.faq__item {
    border-bottom: 1px solid var(--border);
}



/* =========================
   Questions
========================= */

.faq__question {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 1rem;

    padding: 1.8rem 0;

    background: none;

    border: none;

    color: var(--text-primary);

    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;

    text-align: left;

    cursor: pointer;
}

.faq__question:hover {
    color: var(--accent-hover);
}

/* Plus Icon */
.faq__icon {
    min-width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: var(--accent);

    font-size: 1.4rem;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}



/* =========================
   Answers
========================= */

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq__answer p {
    max-width: 600px;

    padding-bottom: 1.8rem;

    color: var(--text-secondary);

    line-height: 1.7;
}

/* Active State */
.faq__item.active .faq__icon {
    transform: rotate(45deg);

    background: rgba(99,102,241,0.15);
}

.faq__item.active .faq__answer {
    max-height: 300px;
}



/* =========================
   Contact Section
========================= */

.contact {
    padding: 4rem 1.5rem;

    background:
        radial-gradient(
            circle at bottom left,
            rgba(99,102,241,0.15),
            transparent 35%
        ),
        var(--background);
}

.contact__container {
    max-width: 800px;

    margin: 0 auto;
}

.contact__heading {
    text-align: center;

    margin-bottom: 4rem;
}

.contact__label {
    color: var(--accent);

    font-size: 0.85rem;
    font-weight: 600;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    margin-bottom: 1.5rem;
}

.contact__heading h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);

    line-height: 1.15;

    letter-spacing: -0.03em;
}

.contact__heading p:last-child {
    margin-top: 1.5rem;

    color: var(--text-secondary);

    line-height: 1.7;
}

/* Form */
.contact__form {
    padding: 2rem;

    background:
        rgba(255,255,255,0.03);

    border: 1px solid var(--border);

    border-radius: 1.5rem;
}

.contact__grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 1.5rem;
}

.contact__field {
    display: flex;

    flex-direction: column;

    gap: 0.6rem;

    margin-bottom: 1.5rem;
}

.contact__field label {
    font-size: 0.9rem;

    color: var(--text-secondary);

    display: block;
    margin-bottom: 0.6rem;

}

.contact__field input,
.contact__field textarea {
    width: 100%;

    padding: 1rem;

    background:
        rgba(255,255,255,0.05);

    border: 1px solid var(--border);

    border-radius: 0.75rem;

    color: white;

    font-family: inherit;

    font-size: 1rem;
}

.contact__field textarea {
    resize: vertical;
}

.contact__field input:focus,
.contact__field textarea:focus {
    outline: none;

    border-color: var(--accent);
}

.contact__button {
    width: 100%;

    border: none;

    cursor: pointer;
}



/* =========================
   Contact Form Focus Effects
========================= */

.contact__field input,
.contact__field textarea {
    width: 100%;

    padding: 1rem 1.2rem;

    background: rgba(255,255,255,0.03);

    border: 1px solid var(--border);

    border-radius: 0.75rem;

    color: var(--text-primary);

    font-family: inherit;

    font-size: 1rem;

    outline: none;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.contact__field input:focus,
.contact__field textarea:focus {

    border-color: var(--accent);

    background: rgba(99,102,241,0.05);

    box-shadow:
        0 0 0 3px rgba(99,102,241,0.15),
        0 0 25px rgba(99,102,241,0.35);

}



/* =========================
   Footer
========================= */

.footer {
    padding: 3rem 1.5rem 2rem;

    background: #05070d;

    border-top: 1px solid var(--border);
}

.footer__container {
    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;
    align-items: center;

    text-align: center;

    gap: 2rem;
}

/* Brand */
.footer__brand h3 {
    font-size: 1.2rem;

    letter-spacing: -0.02em;
}

.footer__brand p {
    margin-top: 0.5rem;

    color: var(--text-secondary);

    font-size: 0.9rem;
}

/* Social */
.footer__social a {

    display: none;

    width: 42px;
    height: 42px;

    /* display: flex; */ 
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.05);

    border: 1px solid var(--border);
    border-radius: 50%;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.footer__social a:hover {
    transform: translateY(-4px);

    background: rgba(99,102,241,0.2);
}

.footer__social img {
    width: 20px;
    height: 20px;

    filter: brightness(0) invert(1);
}

/* Bottom */
.footer__bottom {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 0.5rem;

    padding-top: 1.5rem;

    border-top: 1px solid var(--border);
}

.footer__bottom p,
.footer__bottom span {
    color: var(--text-secondary);

    font-size: 0.8rem;
}



/* =========================
   Desktop Layout
========================= */

@media (min-width: 900px) {

    .hero {
        padding: 3rem;
    }

    .hero__container {
        flex-direction: row;

        align-items: center;
        justify-content: space-between;
    }

    .hero__buttons {
        flex-direction: row;
    }


    .intro {
        padding: 8rem 3rem;
    }

    .intro__features {
        grid-template-columns: repeat(3, 1fr);
    }



    .services {
        padding: 8rem 3rem;
    }

    .service {
        flex-direction: row;

        align-items: flex-start;

        gap: 5rem;

        padding: 3rem 0;
    }

    .service__number {
        width: 80px;

        padding-top: 0.5rem;
    }

    .service__content {
        flex: 1;
    }



    .portfolio {
        padding: 8rem 3rem;
    }

    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }



    .faq {
        padding: 8rem 3rem;
    }

    .faq__container {
        grid-template-columns: 0.8fr 1fr;

        align-items: start;

        gap: 6rem;
    }

    .faq__heading {
        position: sticky;

        top: 120px;
    }



    .contact {
        padding: 8rem 3rem;
    }

    .contact__grid {
        grid-template-columns: repeat(2, 1fr);
    }



    .footer__bottom {
        flex-direction: row;

        justify-content: space-between;
    }

}



/* =========================
   Mobile Browser Preview
========================= */

@media (max-width: 600px) {

    .portfolio__browser {
        max-width: 280px;

        margin: 0 auto;

        border-radius: 1.5rem;
    }

    .portfolio__card h3 {
        text-align: center;
    }


    .portfolio__browser .browser__header {
        height: 30px;
    }


    .portfolio__preview {
        height: 480px;
    }

    .portfolio__preview img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .browser__preview img {
        object-fit: cover;
        object-position: top;
    }

    .preview-desktop {
        display: none;
    }


    .preview-mobile {
        display: block;
    }

}

