
/* =========================================
   G7PAY WEBSITE - MAIN STYLESHEET
   Website: g7pay.co.in
   File: css/style.css
========================================= */

/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


/* =========================================
   ROOT VARIABLES
========================================= */

:root {
    --primary: #ff7900;
    --primary-dark: #e94b0b;
    --primary-light: #fff1d6;

    --secondary: #ffb000;
    --telegram: #229ed9;

    --text: #2b2118;
    --text-light: #665447;
    --muted: #8a7665;

    --border: #f2dfc8;
    --background: #ffffff;
    --surface: #fff8ed;

    --success: #238653;

    --radius: 14px;
    --radius-lg: 20px;

    --shadow:
        0 8px 30px rgba(116, 62, 14, 0.08);

    --shadow-hover:
        0 14px 35px rgba(255, 121, 0, 0.16);

    --container: 1140px;

    --transition: all 0.25s ease;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text);
    font-size: 15px;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(255, 121, 0, 0.38);
    outline-offset: 4px;
}

::selection {
    background: var(--primary);
    color: #ffffff;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    width: 100%;
    height: 76px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-container {
    width: 92%;
    max-width: var(--container);
    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* BRAND */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
}

.brand span {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.7px;
    color: var(--primary);
}


/* NAVIGATION */

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.nav-link {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;

    padding: 10px 11px;
    border-radius: 8px;

    white-space: nowrap;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}


/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;

    width: 43px;
    height: 43px;

    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 10px;

    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    transition: var(--transition);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;

    background: var(--text);
    border-radius: 5px;

    transition: var(--transition);
}


/* =========================================
   HERO SECTION
========================================= */

.hero-section {
    width: 100%;
    padding: 55px 20px 65px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 176, 0, 0.16),
            transparent 55%
        ),
        linear-gradient(
            180deg,
            #fffaf2 0%,
            #ffffff 100%
        );

    text-align: center;
}

.hero-inner {
    max-width: 780px;
    margin: auto;

    display: flex;
    align-items: center;
    flex-direction: column;
}


/* MAIN LOGO */

.main-logo-box {
    width: 150px;
    height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 25px;

    padding: 12px;
    margin-bottom: 25px;

    box-shadow: var(--shadow);
}

.main-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}


/* HERO HEADING */

.hero-section h1 {
    max-width: 750px;

    color: var(--text);
    font-size: clamp(25px, 4vw, 36px);

    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -1px;

    margin-bottom: 15px;
}

.hero-description {
    max-width: 650px;

    color: var(--text-light);
    font-size: 15px;
    line-height: 1.9;

    margin-bottom: 25px;
}


/* =========================================
   HERO BUTTONS
========================================= */

.hero-buttons {
    width: 100%;
    max-width: 350px;

    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;

    margin-bottom: 15px;
}

.btn {
    min-height: 53px;
    padding: 13px 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;
    border: none;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #ff9d00,
        var(--primary-dark)
    );

    box-shadow:
        0 7px 18px rgba(255, 121, 0, 0.22);
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(233, 75, 11, 0.25);
}

.btn-primary:active {
    transform: scale(0.98);
}


/* =========================================
   REFERRAL CODE BOX
========================================= */

.refer-box {
    width: 100%;
    max-width: 350px;

    min-height: 82px;
    padding: 12px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    border: 1px dashed var(--primary);
    border-radius: 13px;

    background: #ffffff;

    cursor: pointer;
    transition: var(--transition);

    margin-bottom: 14px;
}

.refer-box:hover {
    background: var(--primary-light);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.refer-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
}

.refer-box strong {
    color: var(--primary);
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: 2px;
}

.copy-text {
    color: var(--success);
    font-size: 10px;
    font-weight: 600;
}


/* =========================================
   TELEGRAM BUTTON
========================================= */

.telegram-button {
    width: 100%;
    max-width: 350px;

    min-height: 50px;
    padding: 12px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: var(--telegram);

    border-radius: 12px;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.telegram-button:hover {
    background: #1688c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 158, 217, 0.20);
}

.hero-note {
    max-width: 500px;

    color: var(--muted);
    font-size: 11px;

    margin-top: 17px;
}


/* =========================================
   MAIN CONTENT
========================================= */

.main-content {
    width: 92%;
    max-width: 850px;

    margin: auto;
}

.content-section {
    width: 92%;
    max-width: 850px;

    margin: 25px auto;
    padding: 28px 30px;

    background: #ffffff;
    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow:
        0 4px 20px rgba(116, 62, 14, 0.035);

    scroll-margin-top: 95px;
    transition: var(--transition);
}

.main-content .content-section {
    width: 100%;
}

.content-section:hover {
    border-color: #f5d6ad;
}

.content-section h2 {
    position: relative;

    color: var(--text);
    font-size: 20px;
    font-weight: 750;
    line-height: 1.5;

    margin-bottom: 15px;
    padding-left: 14px;
}

.content-section h2::before {
    content: "";

    position: absolute;
    top: 4px;
    left: 0;

    width: 4px;
    height: 75%;

    background: var(--primary);
    border-radius: 5px;
}

.content-section h3 {
    color: var(--primary-dark);

    font-size: 15px;
    font-weight: 700;

    margin: 20px 0 7px;
}

.content-section p {
    color: var(--text-light);

    font-size: 14px;
    line-height: 1.95;

    margin-bottom: 12px;
}

.content-section p:last-child {
    margin-bottom: 0;
}


/* INTRODUCTION */

#introduction {
    margin-top: 40px;
    background: linear-gradient(
        135deg,
        #ffffff,
        #fff7e9
    );
}

.section-heading {
    margin-bottom: 15px;
}

.section-label {
    display: inline-block;

    color: var(--primary);
    background: var(--primary-light);

    padding: 5px 12px;
    border-radius: 30px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;

    margin-bottom: 12px;
}

.section-heading h2 {
    padding-left: 0;
}

.section-heading h2::before {
    display: none;
}


/* =========================================
   QUICK LINKS
========================================= */

.quick-links-section {
    background: var(--surface);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-links-grid a {
    min-height: 50px;
    padding: 12px 15px;

    display: flex;
    align-items: center;

    color: var(--primary-dark);
    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 10px;

    font-size: 12px;
    font-weight: 650;

    transition: var(--transition);
}

.quick-links-grid a::after {
    content: "→";
    margin-left: auto;
    padding-left: 8px;
}

.quick-links-grid a:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}


/* =========================================
   FINAL CTA
========================================= */

.final-cta {
    width: 92%;
    max-width: 850px;

    margin: 35px auto 55px;
    padding: 40px 25px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #ff9d00,
            #d9470a
        );

    border-radius: 22px;
    box-shadow: var(--shadow-hover);
}

.final-cta h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;

    margin-bottom: 10px;
}

.final-cta p {
    max-width: 600px;

    color: rgba(255,255,255,0.85);
    font-size: 13px;

    margin: 0 auto 22px;
}

.final-cta .btn {
    color: var(--primary);
    background: #ffffff;

    min-width: 150px;
}

.final-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    width: 100%;

    background: #2b1b12;
    color: #ffffff;

    padding: 55px 0 0;
}

.footer-container {
    width: 92%;
    max-width: var(--container);

    margin: auto;
    padding-bottom: 40px;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 35px;
}


/* FOOTER BRAND */

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 17px;
}

.footer-logo img {
    width: 40px;
    height: 40px;

    object-fit: contain;
    border-radius: 9px;
}

.footer-logo span {
    color: #ffffff;

    font-size: 21px;
    font-weight: 800;
}

.footer-brand p {
    max-width: 280px;

    color: #aab7cc;
    font-size: 12px;
    line-height: 1.9;
}


/* FOOTER LINKS */

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-links h3 {
    color: #ffffff;

    font-size: 14px;
    font-weight: 750;

    margin-bottom: 8px;
}

.footer-links a {
    color: #aab7cc;

    font-size: 12px;

    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}


/* FOOTER BOTTOM */

.footer-bottom {
    width: 92%;
    max-width: var(--container);

    margin: auto;
    padding: 20px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-bottom p,
.footer-bottom a {
    color: #aab7cc;
    font-size: 11px;
}

.footer-bottom a:hover {
    color: #ffffff;
}


/* =========================================
   RESPONSIVE TABLET
========================================= */

@media (max-width: 1000px) {

    .header-container {
        width: 94%;
        gap: 12px;
    }

    .main-navigation {
        gap: 1px;
    }

    .nav-link {
        font-size: 10px;
        padding: 9px 7px;
    }

    .brand span {
        font-size: 20px;
    }

    .header-logo {
        width: 38px;
        height: 38px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

}


/* =========================================
   RESPONSIVE MOBILE
========================================= */

@media (max-width: 768px) {

    /* HEADER */

    .site-header {
        height: 68px;
    }

    .header-container {
        width: 92%;
    }

    .brand span {
        font-size: 21px;
    }

    .header-logo {
        width: 40px;
        height: 40px;
    }

    /* MENU BUTTON */

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }

    /* MOBILE NAVIGATION */

    .main-navigation {
        position: absolute;

        top: 68px;
        left: 0;

        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;

        padding: 15px 4% 20px;

        background: #ffffff;

        border-bottom: 1px solid var(--border);

        box-shadow: 0 12px 22px rgba(92, 48, 14, 0.10);

        visibility: hidden;
        opacity: 0;

        transform: translateY(-12px);

        pointer-events: none;

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }

    .main-navigation.active {
        visibility: visible;
        opacity: 1;

        transform: translateY(0);

        pointer-events: auto;
    }

    .nav-link {
        width: 100%;

        display: block;

        padding: 12px 15px;

        font-size: 13px;
        border-radius: 9px;
    }

    /* ANIMATED MENU ICON */

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* HERO */

    .hero-section {
        padding: 40px 18px 45px;
    }

    .main-logo-box {
        width: 125px;
        height: 125px;

        margin-bottom: 22px;
        border-radius: 21px;
    }

    .hero-section h1 {
        font-size: 26px;
        letter-spacing: -0.7px;
    }

    .hero-description {
        font-size: 13px;
    }

    /* CONTENT */

    .main-content {
        width: 92%;
    }

    .content-section {
        width: 92%;

        margin: 18px auto;
        padding: 22px 19px;

        border-radius: 15px;
    }

    .main-content .content-section {
        width: 100%;
    }

    .content-section h2 {
        font-size: 18px;
    }

    .content-section h3 {
        font-size: 14px;
    }

    .content-section p {
        font-size: 13px;
        line-height: 1.9;
    }

    #introduction {
        margin-top: 25px;
    }

    /* QUICK LINKS */

    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    /* CTA */

    .final-cta {
        padding: 32px 20px;
        border-radius: 17px;
    }

    .final-cta h2 {
        font-size: 21px;
    }

    .final-cta p {
        font-size: 12px;
    }

    /* FOOTER */

    .site-footer {
        padding-top: 40px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;

        padding-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {

    body {
        font-size: 14px;
    }

    .hero-section {
        padding: 32px 15px 40px;
    }

    .hero-section h1 {
        font-size: 23px;
    }

    .main-logo-box {
        width: 112px;
        height: 112px;
    }

    .hero-description {
        font-size: 12px;
    }

    .content-section {
        padding: 19px 16px;
    }

    .content-section h2 {
        font-size: 17px;
    }

    .content-section p {
        font-size: 12px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-brand p {
        max-width: 100%;
    }

}


/* =========================================
   REDUCED MOTION ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}


/* =========================================
   G7PAY APP SCREENSHOTS SECTION
========================================= */

.screenshot-section {
    padding-top: 55px;
    padding-bottom: 55px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.screenshot-card {
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(92, 48, 14, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(92, 48, 14, 0.11);
}

.screenshot-image {
    width: 100%;
    max-width: 250px;
    margin: 0 auto 18px;
    padding: 7px;
    background: #fff3df;
    border: 1px solid #f1ddc5;
    border-radius: 22px;
    overflow: hidden;
}

.screenshot-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 2;
    object-fit: contain;
    border-radius: 15px;
}

.screenshot-card h3 {
    color: #17233a;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
}

.screenshot-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.screenshot-note {
    margin: 25px auto 0;
    max-width: 750px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

/* TABLET */
@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .screenshot-card {
        padding: 12px;
    }

    .screenshot-image {
        max-width: 220px;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
        max-width: 330px;
        margin-left: auto;
        margin-right: auto;
    }

    .screenshot-image {
        max-width: 240px;
    }

    .screenshot-card h3 {
        font-size: 16px;
    }
}

/* =========================================
   END OF G7PAY STYLESHEET
========================================= */


/* =========================================
   G7PAY LOGO-INSPIRED ORANGE THEME
========================================= */

.brand span {
    color: #ed5a0b;
}

.section-label {
    color: #d94b08;
    background: #fff0d2;
}

.main-logo-box {
    border-color: #f3d5a9;
    background: linear-gradient(145deg, #fff9e9, #ffffff);
}

.refer-box {
    border-color: #f28a16;
}

.refer-box strong {
    color: #e94b0b;
}

.screenshot-image {
    background: linear-gradient(145deg, #fff0d2, #fff8ed);
    border-color: #f2d5ad;
}

.quick-links-grid a {
    color: #b94a0b;
}

.quick-links-grid a:hover {
    background: linear-gradient(135deg, #ff9800, #ed4d0b);
    border-color: #ed4d0b;
}

.final-cta {
    background: linear-gradient(135deg, #ff9d00 0%, #f36b0b 55%, #e9430b 100%);
}

@media (prefers-reduced-motion: reduce) {
    .screenshot-card:hover,
    .btn-primary:hover,
    .telegram-button:hover {
        transform: none;
    }
}
