
/* =====================================================
   ARBPAY WEBSITE
   File: css/style.css
   Design: Premium Golden Yellow & White
   Logo Based Theme
===================================================== */

/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ROOT VARIABLES */
:root {
    --primary: #F2B900;
    --primary-dark: #D99500;
    --primary-light: #FFF4CC;

    --secondary: #FFD34F;
    --text: #292313;
    --text-light: #756B55;

    --white: #ffffff;
    --background: #ffffff;
    --surface: #FFFCF4;

    --border: #F0E5C8;

    --success: #16845d;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 4px 16px rgba(110, 79, 0, 0.06);
    --shadow-md: 0 12px 35px rgba(110, 79, 0, 0.12);

    --container: 1140px;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--background);
    font-size: 15px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #A96E00;
}

button {
    font: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

/* ACCESSIBILITY */
.skip-link {
    position: absolute;
    top: -100px;
    left: 15px;
    z-index: 9999;
    padding: 10px 16px;
    background: var(--primary-dark);
    color: var(--white);
    border-radius: 8px;
}

.skip-link:focus {
    top: 15px;
}

:focus-visible {
    outline: 3px solid rgba(242, 185, 0, 0.55);
    outline-offset: 3px;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: var(--text);
}

.brand:hover {
    color: var(--primary-dark);
}

.brand-logo {
    width: 43px;
    height: 43px;
    object-fit: cover;
    border-radius: 11px;
}

.brand-name {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.8px;
    color: #C98B00;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 9px;
    color: #62583E;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-light);
    color: #A96E00;
}

.menu-toggle {
    display: none;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 11px;
    cursor: pointer;
}

.menu-toggle span {
    width: 19px;
    height: 2px;
    background: var(--text);
    border-radius: 5px;
    transition: transform 0.2s ease;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 75px 0 80px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 202, 50, 0.22),
            transparent 55%
        ),
        linear-gradient(180deg, #FFFCF2 0%, #ffffff 100%);
    text-align: center;
}

.hero-container {
    max-width: 850px;
    margin: 0 auto;
}

.hero-logo-wrap {
    width: 170px;
    height: 170px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--white);
    border: 1px solid #F0DFAD;
    border-radius: 30px;
    box-shadow: 0 12px 35px rgba(180, 125, 0, 0.16);
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    padding: 7px 15px;
    border: 1px solid #F1D98D;
    border-radius: 50px;
    background: var(--primary-light);
    color: #A96E00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-section h1 {
    max-width: 780px;
    margin: 0 auto 18px;
    color: var(--text);
    font-size: clamp(32px, 5vw, 51px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1.8px;
}

.hero-section h1 span {
    color: #D99A00;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 27px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 auto 20px;
}

.btn {
    min-height: 52px;
    min-width: 175px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 25px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #FFD02F, #E7A900);
    color: #352700;
    box-shadow: 0 7px 18px rgba(204, 145, 0, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #F2BD16, #D99500);
    color: #292313;
    box-shadow: 0 10px 23px rgba(204, 145, 0, 0.27);
}

.btn-outline {
    background: var(--white);
    color: #A96E00;
    border-color: #EAD18C;
}

.btn-outline:hover {
    background: var(--primary-light);
    color: #855900;
}

.hero-disclaimer {
    max-width: 690px;
    margin: 0 auto;
    color: #8A806B;
    font-size: 12px;
    line-height: 1.8;
}

/* GENERAL CONTENT SECTIONS */
.content-section {
    padding: 65px 0;
    scroll-margin-top: 90px;
}

.content-section:nth-of-type(even) {
    background: var(--surface);
}

.intro-section {
    background: var(--white);
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 32px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: clamp(25px, 3.5vw, 34px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.8px;
}

.section-heading p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.85;
}

.section-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 50px;
    background: var(--primary-light);
    color: #A96E00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* CONTENT CARDS */
.content-card {
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.content-card:hover {
    border-color: #E8D18C;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.content-card h2,
.content-card h3 {
    margin-bottom: 13px;
    color: var(--text);
    font-weight: 800;
    line-height: 1.4;
}

.content-card h2 {
    font-size: 23px;
}

.content-card h3 {
    font-size: 18px;
}

.content-card p {
    margin-bottom: 13px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.9;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.content-card ul,
.content-card ol {
    margin: 12px 0 15px;
    padding-left: 22px;
    color: var(--text-light);
}

.content-card li {
    margin-bottom: 8px;
    padding-left: 3px;
    font-size: 14px;
    line-height: 1.8;
}

.content-card li::marker {
    color: #D99A00;
}

.text-link {
    color: #A96E00;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(217, 154, 0, 0.35);
    text-underline-offset: 3px;
}

.text-link:hover {
    color: #855900;
    text-decoration-color: #D99500;
}

/* FINAL GUIDE SECTION */
.final-guide-section {
    padding: 70px 0;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 205, 65, 0.20),
            transparent 45%
        ),
        #FFFCF4;
}

.final-guide-card {
    max-width: 850px;
    margin: 0 auto;
    padding: 38px;
    border: 1px solid #F0DFAE;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.final-guide-card h2 {
    margin-bottom: 15px;
    color: var(--text);
    font-size: clamp(25px, 4vw, 35px);
    font-weight: 900;
    line-height: 1.3;
}

.final-guide-card p {
    margin-bottom: 17px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.9;
}

.final-guide-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.final-note {
    margin-top: 22px;
    padding: 13px 16px;
    border-radius: 10px;
    background: var(--surface);
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.8;
}

/* FAQ SECTION */
.faq-section {
    padding: 70px 0;
    background: var(--white);
}

.faq-list {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 13px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--white);
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: #E8D18C;
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    position: relative;
    display: block;
    padding: 19px 52px 19px 20px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 19px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--primary-light);
    color: #A96E00;
    font-size: 19px;
    font-weight: 500;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 0 20px 19px;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.9;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* PAGE HERO - LEGAL PAGES */
.page-hero {
    padding: 65px 0;
    background: linear-gradient(180deg, #FFF9E8, #ffffff);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 13px;
    color: var(--text);
    font-size: clamp(30px, 5vw, 43px);
    font-weight: 900;
    line-height: 1.25;
}

.page-hero p {
    max-width: 740px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.85;
}

.breadcrumb {
    padding: 14px 0;
    color: var(--text-light);
    font-size: 13px;
}

.breadcrumb a {
    color: #A96E00;
    font-weight: 600;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content .content-card {
    margin-bottom: 20px;
}

.legal-content .content-card h2 {
    font-size: 20px;
}

.legal-content .content-card ul {
    padding-left: 22px;
}

.legal-notice {
    margin: 20px 0;
    padding: 22px;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    background: var(--primary-light);
    color: #68521C;
    font-size: 14px;
    line-height: 1.9;
}

.legal-updated {
    margin-bottom: 20px;
    color: #8A806B;
    font-size: 13px;
}

/* FOOTER */
.site-footer {
    padding: 55px 0 0;
    background: #292313;
    color: #E8DFC9;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 35px;
    padding-bottom: 35px;
}

.footer-brand {
    max-width: 380px;
}

.footer-brand h3 {
    margin-bottom: 13px;
    color: var(--white);
    font-size: 21px;
    font-weight: 900;
}

.footer-brand p {
    color: #C9BFA8;
    font-size: 13px;
    line-height: 1.9;
}

.footer-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    object-fit: cover;
    border-radius: 11px;
    background: var(--white);
}

.footer-links h3 {
    margin-bottom: 17px;
    color: var(--white);
    font-size: 15px;
    font-weight: 800;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
    list-style: none;
}

.footer-links a {
    color: #C9BFA8;
    font-size: 13px;
}

.footer-links a:hover {
    color: #FFD34F;
}

.footer-disclosure {
    padding: 19px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #C9BFA8;
    font-size: 12px;
    line-height: 1.9;
}

.footer-bottom {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 17px 0;
    color: #B7AA8C;
    font-size: 12px;
}

.footer-bottom a {
    color: #E8DFC9;
}

.footer-bottom a:hover {
    color: #FFD34F;
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFD34F, #E7A900);
    color: #352700;
    font-size: 20px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover {
    background: #D99500;
    color: var(--white);
    transform: translateY(-3px);
}

/* TABLES, IF PRESENT */
.content-card table {
    width: 100%;
    margin: 18px 0;
    border-collapse: collapse;
    font-size: 13px;
}

.content-card th,
.content-card td {
    padding: 12px;
    border: 1px solid var(--border);
    text-align: left;
}

.content-card th {
    background: var(--primary-light);
    color: #A96E00;
    font-weight: 700;
}

.content-card td {
    color: var(--text-light);
}

/* RESPONSIVE: TABLET */
@media (max-width: 900px) {
    .header-container {
        min-height: 70px;
    }

    .main-navigation {
        gap: 2px;
    }

    .nav-link {
        padding: 8px 9px;
        font-size: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 600px;
    }
}

/* RESPONSIVE: MOBILE */
@media (max-width: 700px) {
    html {
        scroll-padding-top: 75px;
    }

    .container {
        width: min(91%, var(--container));
    }

    .header-container {
        min-height: 66px;
        position: relative;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 19px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: absolute;
        top: calc(100% + 1px);
        left: -5%;
        right: -5%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 13px 5% 18px;
        border-bottom: 1px solid var(--border);
        background: var(--white);
        box-shadow: 0 12px 20px rgba(110, 79, 0, 0.09);
    }

    .main-navigation.is-open {
        display: flex;
    }

    .nav-link {
        justify-content: flex-start;
        padding: 11px 13px;
        font-size: 13px;
    }

    .hero-section {
        padding: 55px 0 60px;
    }

    .hero-logo-wrap {
        width: 140px;
        height: 140px;
        margin-bottom: 21px;
        border-radius: 25px;
    }

    .hero-section h1 {
        font-size: clamp(29px, 8vw, 39px);
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        width: 100%;
        max-width: 400px;
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .content-section {
        padding: 48px 0;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .content-card {
        padding: 20px;
        margin-bottom: 15px;
    }

    .content-card h2 {
        font-size: 21px;
    }

    .content-card h3 {
        font-size: 17px;
    }

    .final-guide-section,
    .faq-section {
        padding: 50px 0;
    }

    .final-guide-card {
        padding: 25px 19px;
    }

    .final-guide-buttons {
        flex-direction: column;
    }

    .final-guide-buttons .btn {
        width: 100%;
    }

    .faq-item summary {
        padding: 16px 45px 16px 15px;
        font-size: 13px;
    }

    .faq-item summary::after {
        right: 13px;
    }

    .faq-answer {
        padding: 0 15px 16px;
        font-size: 12px;
    }

    .page-hero {
        padding: 48px 0;
    }

    .legal-notice {
        padding: 17px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 28px 18px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .site-footer {
        padding-top: 42px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .back-to-top {
        right: 13px;
        bottom: 13px;
        width: 39px;
        height: 39px;
    }
}

/* RESPONSIVE: SMALL MOBILE */
@media (max-width: 380px) {
    body {
        font-size: 14px;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .hero-logo-wrap {
        width: 125px;
        height: 125px;
    }

    .content-card {
        padding: 17px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}

/* REDUCED MOTION ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
