/* ========================================
   AO AUTOMATION STUDIO V2
   MAIN STYLESHEET
======================================== */


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: #080808;
    color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* ---------- BRAND VARIABLES ---------- */

:root {
    --gold: #cbb26a;
    --gold-light: #eadb9b;
    --black: #000000;
    --background: #080808;
    --surface: #101010;
    --surface-light: #161616;
    --text: #f5f5f5;
    --muted: #a7a7a7;
    --border: rgba(203, 178, 106, 0.18);

    --container: 1200px;
}


/* ========================================
   RESPONSIVE CONTAINER
======================================== */

.container {
    width: min(92%, var(--container));
    margin-inline: auto;
}


/* ========================================
   NAVIGATION
======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(8, 8, 8, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,0.06);
}


.navbar {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}


.brand-logo {
    width: 210px;
    max-height: 58px;
    object-fit: contain;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 34px);
}


.nav-links a {
    color: #cfcfcf;
    font-size: 0.9rem;
    font-weight: 600;

    transition: 0.25s ease;
}


.nav-links a:hover {
    color: var(--gold);
}


.nav-cta {
    border: 1px solid var(--gold);
    color: var(--gold);

    padding: 10px 20px;
    border-radius: 8px;

    font-size: 0.88rem;
    font-weight: 700;

    transition: 0.25s ease;
}


.nav-cta:hover {
    background: var(--gold);
    color: #080808;
}


/* Mobile button hidden on desktop */

.menu-button {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: transparent;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    cursor: pointer;
}


.menu-button span {
    width: 19px;
    height: 2px;
    background: var(--gold);
}


/* Mobile navigation */

.mobile-menu {
    display: none;
}


/* ========================================
   HERO
======================================== */

.hero {
    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: center;

    padding: 130px 0 70px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(203,178,106,0.10),
            transparent 35%
        ),
        #080808;
}


.hero-glow {
    position: absolute;

    width: min(650px, 80vw);
    aspect-ratio: 1;

    left: 50%;
    top: 45%;

    transform: translate(-50%, -50%);

    background: rgba(203,178,106,0.06);

    filter: blur(120px);

    border-radius: 50%;

    pointer-events: none;
}


.hero-content {
    position: relative;
    z-index: 2;

    text-align: center;

    max-width: 1050px;
}


.hero-badge {
    display: inline-flex;

    border: 1px solid var(--border);

    background: rgba(203,178,106,0.05);

    padding: 9px 16px;

    border-radius: 100px;

    color: var(--gold);

    font-size: clamp(0.68rem, 1.5vw, 0.78rem);

    font-weight: 700;

    letter-spacing: 0.16em;

    margin-bottom: 28px;
}


.hero h1 {
    font-size: clamp(3rem, 7vw, 6.7rem);

    line-height: 0.98;

    letter-spacing: -0.055em;

    max-width: 1000px;

    margin-inline: auto;
}


.hero h1 span {
    display: block;

    margin-top: 10px;

    background: linear-gradient(
        110deg,
        #a8792f,
        #f3e49e,
        #c18a37
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


.hero-description {
    width: min(100%, 720px);

    margin: 30px auto 0;

    color: var(--muted);

    font-size: clamp(1rem, 2vw, 1.15rem);
}


.hero-actions {
    margin-top: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;
}


/* ========================================
   BUTTONS
======================================== */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 24px;

    border-radius: 8px;

    font-size: 0.92rem;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}


.button:hover {
    transform: translateY(-3px);
}


.button-primary {
    color: #080808;

    background: linear-gradient(
        110deg,
        #ad8137,
        #e6d17e
    );

    border: 1px solid var(--gold);
}


.button-secondary {
    color: #f5f5f5;

    border: 1px solid rgba(255,255,255,0.18);

    background: rgba(255,255,255,0.025);
}


.button-secondary:hover {
    border-color: var(--gold);
}


.hero-features {
    margin-top: 38px;

    display: flex;
    justify-content: center;

    flex-wrap: wrap;

    gap: 12px 28px;

    color: #898989;

    font-size: 0.82rem;
}


/* ========================================
   GENERAL SECTIONS
======================================== */

.section {
    padding: clamp(80px, 9vw, 130px) 0;

    border-top: 1px solid rgba(255,255,255,0.04);
}


.section-dark {
    background: #0c0c0c;
}


.section-label {
    color: var(--gold);

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 0.28em;

    margin-bottom: 18px;
}


.section-heading {
    max-width: 720px;

    text-align: center;

    margin: 0 auto 55px;
}


.section-heading h2,
.about-content h2,
.contact-content h2 {
    font-size: clamp(2.1rem, 4.5vw, 4rem);

    line-height: 1.08;

    letter-spacing: -0.04em;
}


.section-heading h2 span,
.about-content h2 span,
.contact-content h2 span {
    color: var(--gold);
}


.section-heading > p {
    color: var(--muted);

    margin-top: 20px;

    font-size: 1rem;
}


/* ========================================
   ABOUT
======================================== */

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(320px, 0.95fr);

    gap: clamp(50px, 8vw, 110px);

    align-items: center;
}


.about-content p {
    color: var(--muted);

    margin-top: 22px;

    max-width: 650px;
}


.about-cards {
    display: grid;

    gap: 14px;
}


.mini-card {
    position: relative;

    padding: 24px;

    border: 1px solid rgba(255, 255, 255, 0.09);

    background:
        linear-gradient(
            120deg,
            rgba(203, 178, 106, 0),
            rgba(203, 178, 106, 0)
        ),
        #101010;

    border-radius: 14px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


/* Gold glow effect */
.mini-card::before {
    content: "";

    position: absolute;

    width: 140px;
    height: 140px;

    top: 50%;
    right: -100px;

    transform: translateY(-50%);

    border-radius: 50%;

    background: rgba(203, 178, 106, 0);

    filter: blur(35px);

    pointer-events: none;

    transition:
        right 0.4s ease,
        background 0.4s ease;
}


/* Hover for ALL About cards */
.mini-card:hover {
    transform: translateX(7px);

    border-color: rgba(203, 178, 106, 0.75);

    background:
        linear-gradient(
            120deg,
            rgba(203, 178, 106, 0.08),
            rgba(203, 178, 106, 0.02)
        ),
        #101010;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.35),
        0 0 25px rgba(203, 178, 106, 0.06);
}


/* Glow enters when mouse is on card */
.mini-card:hover::before {
    right: -40px;

    background: rgba(203, 178, 106, 0.12);
}


/* Remove permanent highlight from card 02 */
.featured-card {
    border-color: rgba(255, 255, 255, 0.09);

    background: #101010;
}


.card-number {
    color: var(--gold);

    font-size: 0.72rem;

    font-weight: 800;
}


.mini-card h3 {
    margin-top: 7px;

    font-size: 1.15rem;
}


.mini-card p {
    color: var(--muted);

    margin-top: 7px;

    font-size: 0.88rem;
}


/* ========================================
   SERVICES
======================================== */

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 16px;
}


.service-card {
    position: relative;

    min-height: 230px;

    padding: 30px;

    background:
        linear-gradient(
            145deg,
            #141414,
            #0e0e0e
        );

    border: 1px solid rgba(255,255,255,0.09);

    border-radius: 14px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}


.service-card::before {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    top: -70px;
    right: -70px;

    border-radius: 50%;

    background: rgba(203,178,106,0.09);

    filter: blur(20px);
}


.service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(203,178,106,0.55);
}


.service-number {
    color: var(--gold);

    font-size: 0.74rem;

    font-weight: 800;

    letter-spacing: 0.1em;
}


.service-card h3 {
    margin-top: 35px;

    font-size: 1.25rem;
}


.service-card p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 0.9rem;
}


/* ========================================
   BENEFITS
======================================== */

.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(min(260px, 100%), 1fr));

    border-top: 1px solid rgba(255,255,255,0.08);

    border-left: 1px solid rgba(255,255,255,0.08);
}


.benefit {
    min-height: 145px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border-right: 1px solid rgba(255,255,255,0.08);

    border-bottom: 1px solid rgba(255,255,255,0.08);
}


.benefit strong {
    color: var(--gold);

    font-size: 1.05rem;
}


.benefit span {
    color: var(--muted);

    margin-top: 7px;

    font-size: 0.86rem;
}


/* ========================================
   PROCESS
======================================== */

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 12px;
}


.process-card {
    padding: 25px;

    min-height: 215px;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 12px;

    background: #101010;

    transition: 0.3s ease;
}


.process-card:hover {
    border-color: var(--border);

    transform: translateY(-5px);
}


.process-card > span {
    display: block;

    color: var(--gold);

    font-size: 1.8rem;

    font-weight: 800;

    opacity: 0.55;
}


.process-card h3 {
    margin-top: 28px;

    font-size: 1.05rem;
}


.process-card p {
    color: var(--muted);

    margin-top: 10px;

    font-size: 0.84rem;
}


/* ========================================
   PRICING
======================================== */

.pricing-wrapper {
    display: flex;

    justify-content: center;
}


.pricing-card {
    width: min(100%, 590px);

    padding: clamp(30px, 5vw, 50px);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(203,178,106,0.10),
            transparent 45%
        ),
        #101010;

    border: 1px solid rgba(203,178,106,0.45);

    border-radius: 18px;

    box-shadow:
        0 25px 80px rgba(0,0,0,0.35);
}


.pricing-top > p {
    color: var(--gold);

    font-size: 0.72rem;

    letter-spacing: 0.2em;

    font-weight: 800;
}


.pricing-top h3 {
    margin-top: 15px;

    font-size: 1rem;

    color: var(--muted);

    font-weight: 500;
}


.pricing-top h3 strong {
    display: block;

    color: #f5f5f5;

    font-size: clamp(3rem, 7vw, 5rem);

    line-height: 1;

    letter-spacing: -0.05em;
}


.pricing-top > span {
    display: block;

    margin-top: 18px;

    color: var(--muted);
}


.pricing-features {
    margin: 32px 0;

    padding: 25px 0;

    border-top: 1px solid rgba(255,255,255,0.08);

    border-bottom: 1px solid rgba(255,255,255,0.08);

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 13px 20px;
}


.pricing-features p {
    color: #d2d2d2;

    font-size: 0.87rem;
}


/* ========================================
   FAQ
======================================== */

.faq-list {
    width: min(100%, 850px);

    margin-inline: auto;

    border-top: 1px solid rgba(255,255,255,0.1);
}


.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}


.faq-question {
    width: 100%;

    padding: 24px 0;

    border: 0;

    background: transparent;

    color: #f5f5f5;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    text-align: left;

    font-weight: 700;

    cursor: pointer;
}


.faq-question span {
    color: var(--gold);

    font-size: 1.5rem;

    font-weight: 400;

    transition: 0.3s ease;
}


.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition: max-height 0.35s ease;
}


.faq-answer p {
    padding: 0 45px 25px 0;

    color: var(--muted);

    font-size: 0.92rem;
}


.faq-item.active .faq-answer {
    max-height: 250px;
}


.faq-item.active .faq-question span {
    transform: rotate(45deg);
}


/* ========================================
   CONTACT
======================================== */

.contact-section {
    position: relative;

    padding: clamp(100px, 12vw, 170px) 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(203,178,106,0.12),
            transparent 35%
        ),
        #080808;

    border-top: 1px solid rgba(255,255,255,0.05);
}


.contact-content {
    text-align: center;

    max-width: 900px;
}


.contact-content > p {
    width: min(100%, 620px);

    margin: 22px auto 0;

    color: var(--muted);
}


.contact-buttons {
    margin-top: 35px;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;
}


.service-area {
    font-size: 0.78rem !important;

    color: #777 !important;

    margin-top: 30px !important;
}


/* ========================================
   FOOTER
======================================== */

footer {
    padding: 55px 0;

    background: #050505;

    border-top: 1px solid rgba(255,255,255,0.06);
}


.footer-content {
    text-align: center;
}


.footer-logo {
    width: min(260px, 70vw);

    max-height: 90px;

    object-fit: contain;

    margin: 0 auto 20px;
}


.footer-content > p {
    color: #858585;

    font-size: 0.82rem;
}


.copyright {
    margin-top: 8px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {

    .nav-links,
    .nav-cta {
        display: none;
    }


    .menu-button {
        display: flex;
    }


    .mobile-menu {
        position: absolute;

        top: 82px;
        left: 0;

        width: 100%;

        padding: 20px 4% 28px;

        background: rgba(8,8,8,0.98);

        border-bottom: 1px solid var(--border);

        flex-direction: column;

        gap: 5px;
    }


    .mobile-menu.active {
        display: flex;
    }


    .mobile-menu a {
        padding: 13px 5px;

        color: #d4d4d4;

        border-bottom: 1px solid rgba(255,255,255,0.05);
    }


    .about-grid {
        grid-template-columns: 1fr;
    }


    .process-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    :root {
        --container: 100%;
    .services-grid {
        grid-template-columns: 1fr;
    }
    }


    .container {
        width: min(90%, 1200px);
    }


    .navbar {
        min-height: 72px;
    }


    .brand-logo {
        width: 175px;
    }


    .mobile-menu {
        top: 72px;
    }


    .hero {
        min-height: 100svh;

        padding-top: 115px;

        padding-bottom: 65px;
    }


    .hero h1 {
        font-size: clamp(2.7rem, 14vw, 4.4rem);
    }


    .hero-description {
        font-size: 0.96rem;
    }


    .hero-actions {
        flex-direction: column;

        width: 100%;
    }


    .hero-actions .button {
        width: min(100%, 330px);
    }


    .hero-features {
        flex-direction: column;

        gap: 8px;
    }


    .section-heading {
        margin-bottom: 38px;
    }


    .service-card {
        min-height: auto;
    }


    .process-grid {
        grid-template-columns: 1fr;
    }


    .process-card {
        min-height: auto;
    }


    .pricing-features {
        grid-template-columns: 1fr;
    }


    .pricing-card .button {
        width: 100%;
    }


    .contact-buttons {
        flex-direction: column;

        align-items: center;
    }


    .contact-buttons .button {
        width: min(100%, 330px);
    }

}


/* ========================================
   VERY SMALL PHONES
======================================== */

@media (max-width: 380px) {

    .brand-logo {
        width: 145px;
    }


    .hero-badge {
        letter-spacing: 0.08em;
    }


    .hero h1 {
        font-size: 2.5rem;
    }

}


/* ========================================
   LARGE / ULTRAWIDE SCREENS
======================================== */

@media (min-width: 1600px) {

    :root {
        --container: 1380px;
    }


    .hero-content {
        max-width: 1150px;
    }

}