
/* =========================================
   SUPERPAY WEBSITE
   MAIN STYLESHEET
   File: css/style.css
   Theme: Royal Blue + Golden Gold
========================================= */


/* =========================================
   1. ROOT VARIABLES
========================================= */

:root {

    --primary: #123b82;
    --primary-dark: #09265b;
    --primary-light: #2459a8;

    --secondary: #f5a900;
    --secondary-dark: #d88b00;
    --secondary-light: #fff5d9;

    --orange: #ff8500;
    --green: #138b36;

    --text: #17233a;
    --muted: #64748b;

    --background: #ffffff;
    --surface: #f7f9fd;

    --border: #e8edf5;

    --white: #ffffff;

    --radius: 16px;

    --shadow:
        0 8px 28px rgba(18, 59, 130, 0.08);

    --shadow-hover:
        0 14px 35px rgba(18, 59, 130, 0.14);

    --transition: all 0.25s ease;

}


/* =========================================
   2. RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {

    font-family: Arial, Helvetica, sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.7;

    -webkit-font-smoothing: antialiased;

}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================
   3. HEADER
========================================= */

.site-header {

    width: 100%;

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid var(--border);

    box-shadow:
        0 3px 15px rgba(18, 59, 130, 0.04);

    backdrop-filter: blur(12px);

}

.header-inner {

    width: 100%;

    max-width: 1200px;

    min-height: 76px;

    margin: auto;

    padding: 10px 22px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

}


/* =========================================
   4. WEBSITE LOGO
========================================= */

.brand {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

    font-size: 23px;

    font-weight: 900;

    letter-spacing: -0.7px;

    color: var(--primary-dark);

}

.brand img {

    width: 46px;

    height: 46px;

    object-fit: contain;

    border-radius: 10px;

    background: #ffffff;

}

.brand span {

    background:
        linear-gradient(
            90deg,
            var(--primary-dark),
            var(--primary),
            #d89a00
        );

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

}


/* =========================================
   5. DESKTOP NAVIGATION
========================================= */

.main-nav {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 5px;

}

.main-nav a {

    display: inline-flex;

    align-items: center;

    padding: 10px 11px;

    border-radius: 9px;

    color: #42516a;

    font-size: 13px;

    font-weight: 700;

    transition: var(--transition);

}

.main-nav a:hover {

    background: #eef3ff;

    color: var(--primary);

}

.main-nav a:focus-visible {

    outline: 2px solid var(--secondary);

    outline-offset: 3px;

}


/* =========================================
   6. MOBILE MENU BUTTON
========================================= */

.menu-toggle {

    display: none;

    width: 44px;

    height: 43px;

    padding: 10px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: #ffffff;

    cursor: pointer;

}

.menu-toggle span {

    display: block;

    width: 100%;

    height: 2.5px;

    margin: 5px 0;

    border-radius: 5px;

    background: var(--primary);

    transition: var(--transition);

}

.menu-toggle:hover {

    border-color: var(--secondary);

}


/* =========================================
   7. HERO SECTION
========================================= */

.hero {

    width: 100%;

    padding: 55px 20px 48px;

    text-align: center;

    background:

        radial-gradient(
            ellipse at 50% 0%,
            #fff1d5 0%,
            #f5f7ff 38%,
            #ffffff 78%
        );

    border-bottom: 1px solid #f0f2f7;

}


/* =========================================
   8. MAIN LOGO
========================================= */

.hero-mark {

    width: 125px;

    height: 125px;

    margin: 0 auto 20px;

    padding: 5px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ffffff;

    border: 2px solid #f2c65b;

    border-radius: 25px;

    box-shadow:

        0 8px 25px rgba(18, 59, 130, 0.12),

        0 3px 8px rgba(245, 169, 0, 0.12);

}

.hero-mark img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    border-radius: 19px;

}


/* =========================================
   9. HERO EYEBROW
========================================= */

.eyebrow {

    display: block;

    margin-bottom: 10px;

    color: var(--secondary-dark);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;

}


/* =========================================
   10. HERO HEADING
========================================= */

.hero h1 {

    max-width: 850px;

    margin: 0 auto 14px;

    color: var(--primary-dark);

    font-size: clamp(28px, 4vw, 43px);

    line-height: 1.2;

    font-weight: 900;

    letter-spacing: -1.1px;

}


/* =========================================
   11. HERO DESCRIPTION
========================================= */

.hero-description {

    max-width: 700px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;

}


/* =========================================
   12. HERO BUTTON CONTAINER
========================================= */

.hero-actions {

    max-width: 750px;

    margin: 26px auto 0;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

}


/* =========================================
   13. COMMON BUTTON
========================================= */

.button {

    min-height: 51px;

    padding: 12px 21px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border: 1px solid transparent;

    border-radius: 12px;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    transition: var(--transition);

}

.button:hover {

    transform: translateY(-3px);

}

.button:focus-visible {

    outline: 3px solid var(--secondary);

    outline-offset: 3px;

}


/* =========================================
   14. REGISTER BUTTON
========================================= */

.button-primary {

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #174b9c,
            #09265b
        );

    border-color: var(--primary);

    box-shadow:
        0 7px 17px rgba(18, 59, 130, 0.20);

}

.button-primary:hover {

    background:
        linear-gradient(
            135deg,
            #09265b,
            #174b9c
        );

    box-shadow:
        0 10px 22px rgba(18, 59, 130, 0.24);

}


/* =========================================
   15. REFER CODE BUTTON
========================================= */

.button-outline {

    color: var(--primary-dark);

    background: #ffffff;

    border: 1px solid #e8c15a;

    box-shadow:
        0 5px 15px rgba(245, 169, 0, 0.08);

}

.button-outline strong {

    color: #b77b00;

    font-weight: 900;

}

.button-outline:hover {

    background: var(--secondary-light);

    border-color: var(--secondary);

}


/* =========================================
   16. TELEGRAM BUTTON
========================================= */

.button-telegram {

    color: #0879bd;

    background: #eaf6ff;

    border: 1px solid #cce8fa;

}

.button-telegram:hover {

    color: #ffffff;

    background: #168acb;

    border-color: #168acb;

}


/* =========================================
   17. COPY MESSAGE
========================================= */

.copy-feedback {

    min-height: 20px;

    margin: 12px auto 0;

    color: var(--green);

    font-size: 13px;

    font-weight: 800;

}

.hero-note {

    max-width: 650px;

    margin: 10px auto 0;

    color: var(--muted);

    font-size: 12px;

}


/* =========================================
   18. COMMON CONTENT WRAPPER
========================================= */

.content-wrap {

    width: min(1100px, calc(100% - 40px));

    margin-left: auto;

    margin-right: auto;

}


/* =========================================
   19. INTRODUCTION
========================================= */

.intro {

    padding-top: 48px;

    padding-bottom: 20px;

}

.section-heading {

    max-width: 850px;

    margin: 0 auto 27px;

    text-align: center;

}

.section-heading h2 {

    margin-bottom: 12px;

    color: var(--primary-dark);

    font-size: clamp(25px, 3vw, 34px);

    line-height: 1.3;

    font-weight: 900;

    letter-spacing: -0.7px;

}

.section-heading p {

    color: var(--muted);

    font-size: 15px;

    line-height: 1.85;

}


/* =========================================
   20. MAIN CONTENT GRID
========================================= */

.content-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 17px;

    padding-top: 10px;

    padding-bottom: 55px;

}


/* =========================================
   21. CONTENT CARDS
========================================= */

.content-card {

    position: relative;

    padding: 23px 24px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow:
        0 5px 20px rgba(18, 59, 130, 0.035);

    transition: var(--transition);

    scroll-margin-top: 95px;

}

.content-card:hover {

    border-color: #e7c56b;

    box-shadow: var(--shadow-hover);

    transform: translateY(-3px);

}


/* =========================================
   22. CARD LEFT ACCENT
========================================= */

.content-card::before {

    content: "";

    position: absolute;

    top: 22px;

    left: 0;

    width: 3px;

    height: 36px;

    border-radius: 0 5px 5px 0;

    background:
        linear-gradient(
            180deg,
            var(--secondary),
            var(--primary)
        );

}


/* =========================================
   23. CARD HEADING
========================================= */

.content-card h2 {

    margin-bottom: 10px;

    color: var(--primary-dark);

    font-size: 18px;

    line-height: 1.45;

    font-weight: 850;

    letter-spacing: -0.2px;

}


/* =========================================
   24. CARD PARAGRAPH
========================================= */

.content-card p {

    margin: 0;

    color: #5b687d;

    font-size: 14px;

    line-height: 1.85;

}


/* =========================================
   25. CONTENT LINKS
========================================= */

.content-card a {

    color: var(--primary);

    font-weight: 700;

    text-decoration: underline;

}


/* =========================================
   26. FAQ SECTION
========================================= */

.faq {

    padding-top: 48px;

    padding-bottom: 60px;

    border-top: 1px solid var(--border);

}

.faq details {

    max-width: 850px;

    margin: 11px auto;

    padding: 17px 20px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 13px;

    transition: var(--transition);

}

.faq details:hover {

    border-color: #e7c56b;

}

.faq summary {

    position: relative;

    color: var(--primary-dark);

    font-size: 15px;

    font-weight: 800;

    cursor: pointer;

}

.faq details[open] {

    background: #fffdf8;

    border-color: #e8c15a;

}

.faq details p {

    margin-top: 12px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;

}


/* =========================================
   27. FOOTER
========================================= */

.site-footer {

    padding: 43px 20px 18px;

    background:
        linear-gradient(
            135deg,
            #09265b,
            #102f68
        );

    color: #ffffff;

    border-top: 4px solid var(--secondary);

}


/* =========================================
   28. FOOTER INNER
========================================= */

.footer-inner {

    width: 100%;

    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 35px;

}


/* =========================================
   29. FOOTER BRAND
========================================= */

.brand-footer {

    color: #ffffff;

}

.brand-footer span {

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #ffd45e
        );

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

}

.brand-footer img {

    width: 42px;

    height: 42px;

    background: #ffffff;

    border-radius: 10px;

}

.footer-brand p {

    max-width: 340px;

    margin-top: 13px;

    color: #c0cce0;

    font-size: 13px;

    line-height: 1.8;

}


/* =========================================
   30. FOOTER LINKS
========================================= */

.footer-links {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 5px;

}

.footer-links h2 {

    margin-bottom: 9px;

    color: #ffd45e;

    font-size: 15px;

    font-weight: 850;

}

.footer-links a {

    padding: 5px 0;

    color: #c4d0e4;

    font-size: 13px;

    font-weight: 600;

    transition: var(--transition);

}

.footer-links a:hover {

    color: #ffd45e;

    padding-left: 5px;

    background: transparent;

}


/* =========================================
   31. FOOTER BOTTOM
========================================= */

.footer-bottom {

    width: 100%;

    max-width: 1100px;

    margin: 28px auto 0;

    padding-top: 16px;

    border-top: 1px solid rgba(255,255,255,.14);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    color: #aebed6;

    font-size: 11px;

}


/* =========================================
   32. INNER PAGES HERO
========================================= */

.page-hero {

    padding: 50px 20px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #fff3da,
            #eef3ff,
            #ffffff
        );

    border-bottom: 1px solid var(--border);

}

.page-hero h1 {

    color: var(--primary-dark);

    font-size: clamp(27px, 4vw, 39px);

    font-weight: 900;

}


/* =========================================
   33. INNER PAGE CONTENT
========================================= */

.page-content {

    max-width: 850px;

    margin: 40px auto 65px;

    padding: 0 22px;

}

.page-content h2 {

    margin-top: 28px;

    margin-bottom: 10px;

    color: var(--primary-dark);

    font-size: 21px;

}

.page-content p,
.page-content li {

    color: #58677e;

    font-size: 15px;

    line-height: 1.85;

}

.page-content a {

    color: var(--primary);

    font-weight: 700;

    text-decoration: underline;

}


/* =========================================
   34. BUTTON ACTIVE EFFECT
========================================= */

.button:active {

    transform: scale(.97);

}


/* =========================================
   35. SELECTION COLOR
========================================= */

::selection {

    color: #ffffff;

    background: var(--primary);

}


/* =========================================
   36. SCROLLBAR
========================================= */

::-webkit-scrollbar {

    width: 8px;

}

::-webkit-scrollbar-track {

    background: #f1f4f9;

}

::-webkit-scrollbar-thumb {

    background: #b9c7df;

    border-radius: 10px;

}

::-webkit-scrollbar-thumb:hover {

    background: var(--primary);

}


/* =========================================
   37. TABLET RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .header-inner {

        gap: 12px;

    }

    .main-nav {

        gap: 2px;

    }

    .main-nav a {

        padding: 9px 7px;

        font-size: 12px;

    }

}


/* =========================================
   38. MOBILE NAVIGATION
========================================= */

@media (max-width: 900px) {

    .header-inner {

        min-height: 68px;

    }

    .menu-toggle {

        display: block;

    }

    .main-nav {

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 3px;

        max-height: 0;

        overflow: hidden;

        padding: 0 20px;

        background: #ffffff;

        border-bottom: 0 solid var(--border);

        opacity: 0;

        visibility: hidden;

        transition:
            max-height .3s ease,
            opacity .25s ease,
            padding .3s ease;

    }

    .main-nav.is-open {

        max-height: 450px;

        padding: 12px 20px 18px;

        border-bottom-width: 1px;

        opacity: 1;

        visibility: visible;

    }

    .main-nav a {

        width: 100%;

        padding: 11px 13px;

        font-size: 14px;

        border-radius: 9px;

    }

    .content-grid {

        grid-template-columns: 1fr;

    }

    .footer-inner {

        grid-template-columns: 1fr 1fr;

    }

    .footer-brand {

        grid-column: 1 / -1;

    }

}


/* =========================================
   39. SMALL TABLETS
========================================= */

@media (max-width: 700px) {

    .hero {

        padding: 45px 18px 38px;

    }

    .hero h1 {

        font-size: 30px;

    }

    .hero-description {

        font-size: 14px;

    }

    .content-card {

        padding: 21px;

    }

}


/* =========================================
   40. MOBILE RESPONSIVE
========================================= */

@media (max-width: 560px) {

    .header-inner {

        padding: 9px 15px;

    }

    .brand {

        font-size: 20px;

        gap: 8px;

    }

    .brand img {

        width: 42px;

        height: 42px;

    }

    .hero {

        padding: 37px 15px 34px;

    }

    .hero-mark {

        width: 112px;

        height: 112px;

        border-radius: 22px;

    }

    .hero h1 {

        font-size: 27px;

        letter-spacing: -.6px;

    }

    .hero-description {

        font-size: 13px;

        line-height: 1.8;

    }

    .hero-actions {

        width: 100%;

        max-width: 350px;

        flex-direction: column;

        gap: 11px;

    }

    .button {

        width: 100%;

        min-height: 49px;

        font-size: 13px;

    }

    .content-wrap {

        width: calc(100% - 30px);

    }

    .intro {

        padding-top: 38px;

    }

    .section-heading h2 {

        font-size: 25px;

    }

    .section-heading p {

        font-size: 13px;

    }

    .content-grid {

        gap: 13px;

    }

    .content-card {

        padding: 19px 20px;

    }

    .content-card h2 {

        font-size: 17px;

    }

    .content-card p {

        font-size: 13px;

    }

    .faq {

        padding-top: 35px;

        padding-bottom: 42px;

    }

    .faq details {

        padding: 15px;

    }

    .faq summary {

        font-size: 14px;

    }

    .footer-inner {

        grid-template-columns: 1fr;

        gap: 23px;

    }

    .footer-brand {

        grid-column: auto;

    }

    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

        gap: 7px;

        font-size: 10px;

    }

}


/* =========================================
   41. EXTRA SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .brand {

        font-size: 18px;

    }

    .hero h1 {

        font-size: 24px;

    }

    .hero-mark {

        width: 100px;

        height: 100px;

    }

    .content-card h2 {

        font-size: 16px;

    }

}


/* =========================================
   42. ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

    }

}

/* =========================================
   SUPERPAY SCREENSHOT SECTION
========================================= */

.screenshot-section {
    padding: 75px 20px;
    background: #f7f9fd;
}

.screenshot-container {
    max-width: 1150px;
    margin: 0 auto;
}

.screenshot-heading {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

.screenshot-heading h2 {
    color: #17233a;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    margin: 13px 0;
}

.screenshot-heading p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.screenshot-card {
    background: #ffffff;
    padding: 12px;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(23, 35, 58, 0.05);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(23, 35, 58, 0.10);
}

.screenshot-image {
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 12px;
    background: #eef3ff;
}

.screenshot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.35s ease;
}

.screenshot-image img:hover {
    transform: scale(1.035);
}

.screenshot-card h3 {
    color: #17233a;
    font-size: 15px;
    font-weight: 700;
    margin: 15px 3px 6px;
}

.screenshot-card p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 3px 5px;
}

.screenshot-note {
    text-align: center;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
    margin-top: 28px;
}


/* LIGHTBOX */

.screenshot-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 18, 35, 0.94);
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.screenshot-lightbox.active {
    display: flex;
}

.screenshot-lightbox img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #17233a;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}


/* TABLET */

@media (max-width: 900px) {
    .screenshot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}


/* MOBILE */

@media (max-width: 520px) {
    .screenshot-section {
        padding: 55px 15px;
    }

    .screenshot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .screenshot-card {
        padding: 8px;
        border-radius: 13px;
    }

    .screenshot-card h3 {
        font-size: 13px;
    }

    .screenshot-card p {
        font-size: 12px;
    }

    .screenshot-lightbox {
        padding: 15px;
    }
}


/* =========================================
   SUPERPAY CSS END
========================================= */
