@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* =========================================================
   AYAZ TRADING - MAIN STYLESHEET
   ========================================================= */

:root {
    --navy: #07111f;
    --panel: #0e1b2d;
    --cyan: #42d9ff;
    --purple: #8b7cff;
    --white: #f6f9fc;
    --muted: #9eafc2;
    --ink: #112238;
    --line: rgba(255,255,255,.1);
}


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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
}

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

img {
    max-width: 100%;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    min-height: 76px;
    padding: 0 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-bottom: 1px solid var(--line);

    position: sticky;
    top: 0;
    z-index: 20;

    background: rgba(7,17,31,.94);
    backdrop-filter: blur(16px);
}

.logo {
    font-weight: 800;
    letter-spacing: .08em;
    font-size: 14px;

    display: flex;
    align-items: center;
    gap: 10px;

    height: 65px;
    overflow: visible;
}

.logo img {
    width: 140px;
    height: 65px;
    object-fit: contain;
    display: block;
}

.logo span {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    border: 1px solid var(--cyan);
    border-radius: 9px;

    color: var(--cyan);
    font-size: 11px;
}

nav {
    display: flex;
    gap: 25px;

    color: #c8d3df;
    font-size: 13px;
}

nav a {
    transition: color .2s ease;
}

nav a:hover {
    color: var(--cyan);
}

.wa {
    padding: 9px 14px;

    border: 1px solid var(--line);
    border-radius: 8px;

    font-size: 12px;
    color: #fff;

    transition: .2s ease;
}

.wa:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}


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

.hero {
    min-height: 700px;

    padding: 90px 8vw;

    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;

    overflow: hidden;
    position: relative;
}

.hero:before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    right: -180px;
    top: -40px;

    background:
        radial-gradient(
            circle,
            rgba(66,217,255,.13),
            transparent 65%
        );

    pointer-events: none;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: .22em;

    color: var(--cyan);

    font-weight: 800;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.02;

    margin: 18px 0;
}

.hero h1 em {
    font-style: normal;
    color: var(--cyan);
}

.hero p {
    max-width: 650px;

    color: var(--muted);

    font-size: 17px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin: 30px 0;
}


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

.btn {
    display: inline-block;

    padding: 13px 20px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 800;

    border: 1px solid transparent;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}


/* BLUE / PRIMARY */

.btn.primary,
.primary {
    background: var(--cyan) !important;
    color: #04111a !important;
    border: 1px solid var(--cyan) !important;
}


/* WHITE / OUTLINE */

.btn.ghost,
.ghost {
    background: #fff !important;
    color: var(--ink) !important;
    border: 1px solid #d9e1e8 !important;
}


/*
   SPECIAL HERO QUOTE BUTTON

   The hero has a dark background, therefore
   the normal white ghost button is changed here
   so its text remains clearly visible.
*/

.hero .btn.ghost,
.hero .ghost {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid #8fa8bd !important;
}

.hero .btn.ghost:hover,
.hero .ghost:hover {
    background: #ffffff !important;
    color: var(--ink) !important;
    border-color: #ffffff !important;
}


/* WHATSAPP GREEN */

.btn.whatsapp,
.whatsapp {
    background: #25D366 !important;
    color: #ffffff !important;
    border: 1px solid #25D366 !important;
}

.btn.whatsapp:hover,
.whatsapp:hover {
    background: #20bd5a !important;
    border-color: #20bd5a !important;
}


/* BUTTON HOVER */

.btn:hover {
    transform: translateY(-2px);
}


/* =========================================================
   STATS
   ========================================================= */

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;

    color: #73859a;

    font-size: 10px;
    letter-spacing: .12em;
}


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

.orb {
    width: 400px;
    height: 400px;

    position: relative;

    margin: auto;
}

.core {
    position: absolute;
    inset: 135px;

    border-radius: 50%;

    display: grid;
    place-content: center;
    text-align: center;

    background:
        radial-gradient(
            circle,
            #17364d,
            #091523 65%
        );

    border: 1px solid rgba(66,217,255,.6);

    box-shadow:
        0 0 90px rgba(66,217,255,.13);
}

.core b {
    font-size: 28px;
    letter-spacing: .12em;
}

.core small {
    color: var(--cyan);
    letter-spacing: .3em;
}

.ring {
    position: absolute;

    border: 1px solid rgba(66,217,255,.25);

    border-radius: 50%;

    inset: 70px;

    animation: spin 16s linear infinite;
}

.r2 {
    inset: 30px;
}

.r3 {
    inset: 110px;

    border-color: rgba(139,124,255,.35);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   LIGHT SECTIONS
   ========================================================= */

.light {
    background: #f4f7fa;
    color: var(--ink);

    padding: 100px 8vw;
}

.heading {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;

    margin-bottom: 45px;
}

.heading h2,
.split h2,
.dark h2,
.about h2,
.quote h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;

    margin: 12px 0;
}

.heading > p {
    color: #718195;
    font-size: 12px;
}


/* =========================================================
   PRODUCT CARDS
   ========================================================= */

.cards {
    display: grid;

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

    gap: 16px;
}

.cards article,
.cards > a.card {
    background: #fff;

    border: 1px solid #e0e7ee;

    border-radius: 14px;

    overflow: hidden;
}

.cards > a.card {
    display: block;

    color: inherit;
    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.cards > a.card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(17,34,56,.08);
}

.cards article {
    padding: 28px;
    min-height: 255px;
}

.cards i {
    font-style: normal;
    font-size: 28px;
}

.cards p,
.about p,
.split p,
.quote p {
    color: #657489;
    font-size: 14px;
}

.cards .link {
    display: inline-block;

    margin-top: 8px;

    color: #126c7e;

    font-weight: 800;
    font-size: 12px;
}


/* =========================================================
   PRODUCT IMAGES
   ========================================================= */

.product-image {
    width: 100%;
    height: 190px;

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

    background: #f4f7fa;

    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* =========================================================
   DISTRIBUTION
   ========================================================= */

.split {
    padding: 100px 8vw;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;
    align-items: center;

    background: #edf2f6;

    color: var(--ink);
}

.link {
    color: #126c7e;
    font-weight: 800;
}

.panel {
    background: var(--navy);

    border-radius: 18px;

    padding: 42px;

    display: grid;
    gap: 17px;
}

.panel small {
    color: var(--cyan);
    letter-spacing: .2em;
}

.panel strong {
    font-size: 28px;

    border-bottom: 1px solid var(--line);

    padding-bottom: 10px;
}


/* =========================================================
   DARK SECTION
   ========================================================= */

.dark {
    padding: 100px 8vw;

    background: #091526;
}

.steps {
    margin-top: 45px;

    display: grid;

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

    gap: 1px;

    background: var(--line);
}

.steps > div {
    padding: 30px;

    background: #0e1b2d;
}

.steps b {
    color: var(--cyan);

    font-size: 12px;
}

.steps p {
    color: var(--muted);

    font-size: 13px;
}


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

.about {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;
}


/* =========================================================
   CONTACT / QUOTE
   ========================================================= */

.quote {
    padding: 100px 8vw;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;
}

.quote form {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}

.quote input,
.quote textarea {
    width: 100%;

    padding: 14px;

    border: 1px solid var(--line);

    border-radius: 8px;

    background: var(--panel);

    color: #fff;

    font: inherit;
}

.quote input::placeholder,
.quote textarea::placeholder {
    color: #718195;
}

.quote textarea {
    grid-column: 1 / -1;

    min-height: 130px;

    resize: vertical;
}

.quote button {
    grid-column: 1 / -1;
}


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

footer {
    padding: 50px 8vw;

    border-top: 1px solid var(--line);

    display: flex;

    justify-content: space-between;

    gap: 30px;

    color: var(--muted);

    font-size: 12px;
}

footer .logo {
    color: #fff;
}

footer .logo img {
    width: 120px;
    height: 60px;
}


/* =========================================================
   CONFIRMATION PAGE
   ========================================================= */

.confirm {
    padding: 15vh 8vw;

    min-height: 70vh;
}

.confirm h1 {
    font-size: 52px;
}

.confirm p {
    max-width: 650px;

    color: var(--muted);

    margin-bottom: 30px;
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 900px) {

    header {
        padding: 0 5vw;
    }

    nav {
        display: none;
    }

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

        min-height: auto;

        padding:
            70px 8vw
            80px;
    }

    .orb {
        display: none;
    }

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

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

    .split,
    .about,
    .quote {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .heading {
        display: block;
    }

    .heading > p {
        margin-top: 20px;
    }

    .quote form {
        grid-template-columns: 1fr;
    }

    .quote textarea,
    .quote button {
        grid-column: auto;
    }

    footer {
        display: block;
    }

    footer > div + div {
        margin-top: 30px;
    }

    .wa {
        display: none;
    }
}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 560px) {

    header {
        min-height: 70px;

        padding: 0 20px;

        justify-content: center;
    }

    .logo {
        height: 60px;
    }

    .logo img {
        width: 120px;
        height: 60px;
    }

    .hero {
        padding:
            65px 24px
            70px;
    }

    .hero h1 {
        font-size: 48px;

        line-height: 1.02;
    }

    .hero p {
        font-size: 16px;
    }

    .buttons {
        flex-direction: column;

        width: 100%;
    }

    .buttons .btn {
        width: 100%;

        text-align: center;
    }

    .stats {
        gap: 18px;

        margin-top: 25px;
    }

    .light,
    .split,
    .dark,
    .quote {
        padding:
            70px 24px;
    }

    .cards,
    .steps {
        grid-template-columns: 1fr;
    }

    .heading h2,
    .split h2,
    .dark h2,
    .about h2,
    .quote h2 {
        font-size: 36px;
    }

    .cards > a.card {
        min-height: auto;
    }

    .product-image {
        height: 210px;
    }

    .panel {
        padding: 30px;
    }

    .panel strong {
        font-size: 23px;
    }

    .quote input,
    .quote textarea {
        font-size: 14px;
    }

    footer {
        padding:
            40px 24px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .hero {
        padding-left: 20px;
        padding-right: 20px;
    }

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

    .light,
    .split,
    .dark,
    .quote {
        padding-left: 20px;
        padding-right: 20px;
    }

}