
/* =========================================================
   ARWALLET INFORMATION WEBSITE
   File: css/style.css
   Theme: Premium Yellow / White / Charcoal
   Domain: arwalletpay.com
========================================================= */


/* =========================================================
   01. ROOT VARIABLES
========================================================= */

:root {
    --primary: #f5b900;
    --primary-dark: #d99b00;
    --primary-light: #fff3c4;
    --primary-soft: #fffaf0;

    --dark: #202020;
    --dark-soft: #303030;

    --text: #454545;
    --text-light: #737373;

    --white: #ffffff;
    --light: #fafafa;
    --light-yellow: #fffdf5;

    --border: #eeeeee;
    --border-yellow: #f3e2a8;

    --success: #16865d;

    --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.04);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 14px 35px rgba(0, 0, 0, 0.09);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;

    --container: 1160px;

    --transition: 0.3s ease;
}


/* =========================================================
   02. RESET AND GLOBAL STYLES
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--white);
    color: var(--text);
    font-size: 15px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

ul,
ol {
    padding-left: 22px;
}

p {
    color: var(--text);
    margin-bottom: 15px;
}

h1,
h2,
h3,
h4 {
    color: var(--dark);
    line-height: 1.35;
    font-weight: 800;
}

h1 {
    font-size: clamp(29px, 4.5vw, 46px);
}

h2 {
    font-size: clamp(24px, 3vw, 34px);
}

h3 {
    font-size: 19px;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

section {
    position: relative;
}

::selection {
    background: var(--primary);
    color: var(--dark);
}


/* =========================================================
   03. 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);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* BRAND */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    color: var(--dark);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.brand img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 12px;
}

.brand span {
    color: var(--dark);
}

.brand:hover span {
    color: var(--primary-dark);
}


/* MAIN NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav > a,
.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #444;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
}

.main-nav > a:hover,
.dropdown-toggle:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.main-nav > a.active {
    color: var(--dark);
    background: var(--primary-light);
}


/* DROPDOWN */

.nav-dropdown {
    position: relative;
}

.dropdown-toggle span {
    font-size: 16px;
    transition: transform var(--transition);
}

.nav-dropdown.open .dropdown-toggle span {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 220px;
    padding: 9px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 13px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-dropdown.open .dropdown-menu,
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    border-radius: 7px;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    color: var(--dark);
    background: var(--primary-light);
}


/* MOBILE MENU BUTTON */

.menu-toggle {
    width: 43px;
    height: 43px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--primary);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--primary-dark);
}

.menu-toggle span {
    width: 21px;
    height: 2px;
    background: var(--dark);
    border-radius: 5px;
    transition: var(--transition);
}

.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);
}


/* =========================================================
   04. HERO SECTION
========================================================= */

.hero-section {
    padding: 72px 0 75px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(245, 185, 0, 0.17),
            transparent 55%
        ),
        linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
    text-align: center;
}

.hero-container {
    max-width: 900px;
}

.hero-logo {
    width: 154px;
    height: 154px;
    margin: 0 auto 24px;
    padding: 5px;
    border: 1px solid var(--border-yellow);
    border-radius: 30px;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(217, 155, 0, 0.13);
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

.hero-label,
.eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-section h1 {
    max-width: 850px;
    margin: 0 auto 18px;
    color: var(--dark);
    letter-spacing: -1.4px;
}

.hero-description {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.9;
}

.hero-buttons {
    max-width: 540px;
    margin: 31px auto 17px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.btn {
    min-height: 54px;
    padding: 13px 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.btn span {
    font-size: 17px;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 6px 17px rgba(245, 185, 0, 0.22);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(217, 155, 0, 0.25);
}

.btn-secondary {
    background: var(--dark);
    color: var(--white);
}

.btn-secondary:hover {
    background: #414141;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.hero-note {
    margin-bottom: 0;
    color: #888;
    font-size: 12px;
}


/* =========================================================
   05. GENERAL SECTION STYLES
========================================================= */

.section {
    padding: 76px 0;
}

.intro-section,
.download-section {
    background: var(--light);
}

.overview-section {
    background: var(--light-yellow);
}

.registration-section {
    background: #fffdf7;
}

.safety-section {
    background: #fffdf5;
}

.faq-section {
    background: var(--light);
}

.final-section {
    padding-top: 45px;
    background: var(--white);
}

.section-heading {
    max-width: 740px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 13px;
    letter-spacing: -0.8px;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 15px;
}


/* =========================================================
   06. CONTENT CARDS
========================================================= */

.content-card {
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.content-card h2 {
    margin-bottom: 17px;
}

.content-card h3 {
    position: relative;
    margin: 25px 0 10px;
    padding-left: 15px;
    font-size: 18px;
}

.content-card h3:first-child {
    margin-top: 0;
}

.content-card h3::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 4px;
    height: 19px;
    background: var(--primary);
    border-radius: 5px;
}

.content-card p {
    margin-bottom: 15px;
    color: #606060;
    font-size: 14px;
    line-height: 1.95;
}

.content-card p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   07. INFORMATION GRID
========================================================= */

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 19px;
}

.info-card {
    min-height: 215px;
    padding: 25px 21px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-yellow);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--dark);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
}

.info-card h3 {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.info-card p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   08. NOTICE BOX
========================================================= */

.notice-box {
    margin: 23px 0;
    padding: 18px 20px;
    background: var(--primary-soft);
    border: 1px solid var(--border-yellow);
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    color: #5b4a1c;
    font-size: 13px;
    line-height: 1.8;
}

.notice-box strong {
    display: block;
    margin-bottom: 4px;
    color: var(--dark);
}


/* =========================================================
   09. REGISTRATION AND DOWNLOAD
========================================================= */

.registration-section .content-card,
.download-section .content-card {
    max-width: 930px;
    margin: 0 auto;
}

.registration-section .content-card > .btn {
    margin-top: 5px;
}

.download-section .content-card {
    border-top: 3px solid var(--primary);
}


/* =========================================================
   10. SAFETY CONTENT
========================================================= */

.safety-content {
    margin-top: 25px;
}

.safety-section .info-card {
    border-top: 3px solid var(--primary);
}


/* =========================================================
   11. COMMUNITY SECTION
========================================================= */

.community-section {
    padding: 53px 0;
    background: var(--primary);
}

.community-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.community-inner > div {
    max-width: 690px;
}

.community-inner .eyebrow {
    color: #594000;
    margin-bottom: 8px;
}

.community-inner h2 {
    margin-bottom: 10px;
    font-size: 27px;
}

.community-inner p {
    margin-bottom: 0;
    color: #594719;
    font-size: 14px;
}

.btn-dark {
    flex-shrink: 0;
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: #3d3d3d;
    transform: translateY(-3px);
}


/* =========================================================
   12. FAQ SECTION
========================================================= */

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--border-yellow);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    position: relative;
    padding: 19px 52px 19px 20px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    list-style: none;
    cursor: pointer;
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 19px;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    background: var(--primary-light);
    border-radius: 8px;
    color: var(--dark);
    font-size: 20px;
    font-weight: 500;
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: "−";
    background: var(--primary);
}

.faq-item summary:hover {
    background: var(--primary-soft);
}

.faq-item p {
    padding: 0 20px 19px;
    margin: 0;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.9;
}


/* =========================================================
   13. FINAL SECTION
========================================================= */

.final-section .content-card {
    max-width: 1000px;
    margin: 0 auto;
    border-top: 3px solid var(--primary);
}


/* =========================================================
   14. FOOTER
========================================================= */

.site-footer {
    padding: 65px 0 0;
    background: #202020;
    color: #d2d2d2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 35px;
    padding-bottom: 45px;
}

.footer-logo {
    margin-bottom: 18px;
    color: var(--white);
}

.footer-logo span {
    color: var(--white);
}

.footer-brand p {
    max-width: 340px;
    margin-bottom: 18px;
    color: #b7b7b7;
    font-size: 13px;
    line-height: 1.9;
}

.footer-social {
    display: inline-flex;
    padding: 9px 15px;
    background: rgba(245, 185, 0, 0.13);
    border: 1px solid rgba(245, 185, 0, 0.25);
    border-radius: 8px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    transition: var(--transition);
}

.footer-social:hover {
    background: var(--primary);
    color: var(--dark);
}

.footer-links h3 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 15px;
}

.footer-links a {
    display: block;
    width: fit-content;
    margin-bottom: 11px;
    color: #b7b7b7;
    font-size: 13px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-links p {
    margin-bottom: 10px;
    color: #b7b7b7;
    font-size: 12px;
    line-height: 1.8;
}


/* FOOTER DISCLAIMER */

.footer-disclaimer {
    padding: 22px 24px;
    background: #292929;
    border: 1px solid #393939;
    border-radius: 12px;
}

.footer-disclaimer h3 {
    margin-bottom: 9px;
    color: var(--primary);
    font-size: 14px;
}

.footer-disclaimer p {
    margin-bottom: 0;
    color: #bdbdbd;
    font-size: 12px;
    line-height: 1.9;
}


/* FOOTER BOTTOM */

.footer-bottom {
    min-height: 72px;
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #393939;
}

.footer-bottom p {
    margin: 0;
    color: #a9a9a9;
    font-size: 12px;
}

.footer-bottom a {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.footer-bottom a:hover {
    color: var(--white);
}


/* =========================================================
   15. RESPONSIVE DESIGN - TABLETS
========================================================= */

@media (max-width: 1050px) {

    .header-inner {
        gap: 12px;
    }

    .main-nav > a,
    .dropdown-toggle {
        padding: 9px 8px;
        font-size: 12px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

}


/* =========================================================
   16. MOBILE NAVIGATION
========================================================= */

@media (max-width: 900px) {

    .header-inner {
        min-height: 70px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - 70px);
        padding: 12px 20px 22px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        overflow-y: auto;
        background: var(--white);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
    }

    .main-nav.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav > a,
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 12px 15px;
        font-size: 14px;
        text-align: left;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        max-height: 0;
        padding: 0 9px;
        margin-top: 0;
        overflow: hidden;
        border: 0;
        border-radius: 9px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .nav-dropdown.open .dropdown-menu {
        max-height: 350px;
        padding: 8px 9px;
        margin-top: 5px;
        border: 1px solid var(--border);
    }

    .dropdown-menu a {
        padding: 11px 13px;
    }

    .community-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 23px;
    }

}


/* =========================================================
   17. RESPONSIVE DESIGN - MOBILE
========================================================= */

@media (max-width: 600px) {

    body {
        font-size: 14px;
    }

    .container {
        width: calc(100% - 30px);
    }

    .brand {
        font-size: 21px;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .header-inner {
        min-height: 65px;
    }

    .hero-section {
        padding: 48px 0 52px;
    }

    .hero-logo {
        width: 126px;
        height: 126px;
        border-radius: 25px;
        margin-bottom: 21px;
    }

    .hero-logo img {
        border-radius: 20px;
    }

    .hero-section h1 {
        font-size: 29px;
        letter-spacing: -0.9px;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.8;
    }

    .hero-buttons {
        grid-template-columns: 1fr;
        gap: 11px;
        margin-top: 24px;
    }

    .btn {
        width: 100%;
        min-height: 51px;
    }

    .section {
        padding: 54px 0;
    }

    .section-heading {
        margin-bottom: 27px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .section-heading p {
        font-size: 13px;
    }

    .content-card {
        padding: 23px 19px;
        border-radius: 15px;
    }

    .content-card h3 {
        font-size: 16px;
    }

    .content-card p {
        font-size: 13px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .info-card {
        min-height: auto;
        padding: 22px;
    }

    .info-card h3 {
        font-size: 16px;
    }

    .notice-box {
        padding: 15px;
        font-size: 12px;
    }

    .community-section {
        padding: 42px 0;
    }

    .community-inner h2 {
        font-size: 24px;
    }

    .community-inner p {
        font-size: 13px;
    }

    .faq-item summary {
        padding: 16px 45px 16px 15px;
        font-size: 13px;
    }

    .faq-item p {
        padding: 0 15px 17px;
        font-size: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 35px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-disclaimer {
        padding: 19px;
    }

    .footer-bottom {
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }

}


/* =========================================================
   18. SMALL MOBILE DEVICES
========================================================= */

@media (max-width: 360px) {

    .container {
        width: calc(100% - 24px);
    }

    .brand {
        font-size: 19px;
    }

    .hero-section h1 {
        font-size: 26px;
    }

    .hero-logo {
        width: 112px;
        height: 112px;
    }

    .content-card {
        padding: 19px 15px;
    }

}


/* =========================================================
   19. ACCESSIBILITY AND MOTION
========================================================= */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--primary-dark);
    outline-offset: 4px;
}

@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;
    }

}
