/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Tlangau brand — app accent #AD131D, softened for web readability */
    --brand-red: #AD131D;
    --primary-color: #C73545;
    --primary-dark: #9B1824;
    --secondary-color: #7A121C;
    --accent-color: #E87680;
    --primary-alpha-05: rgba(173, 19, 29, 0.05);
    --primary-alpha-06: rgba(173, 19, 29, 0.06);
    --primary-alpha-10: rgba(173, 19, 29, 0.1);
    --primary-alpha-15: rgba(173, 19, 29, 0.15);
    --primary-alpha-20: rgba(173, 19, 29, 0.2);
    --gradient-brand: linear-gradient(135deg, #D94F5C 0%, var(--brand-red) 52%, #6E1018 100%);
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #faf7f7;
    --bg-white: #ffffff;
    --border-color: #ede4e4;
    --success-color: #48bb78;
    --error-color: #f56565;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-brand h1,
.nav-brand .brand-name {
    font-size: 1.5rem;
    color: var(--brand-red);
    margin: 0;
    font-weight: 700;
}

.nav-brand a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.brand-icon--sm {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.brand-logo {
    height: 30px;
    width: auto;
    display: block;
    object-fit: contain;
}

.brand-logo--sm {
    height: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand h3 {
    margin: 0;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1002;
}

.nav-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 3px 0;
    border-radius: 2px;
    background: var(--text-dark);
    transition:
        transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.28s ease,
        width 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.is-nav-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar.is-nav-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.navbar.is-nav-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: auto;
    width: min(320px, calc(100vw - 2rem));
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    background: var(--bg-white);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    transition:
        max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.32s ease,
        visibility 0.32s ease,
        transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
}

.navbar.is-nav-open .nav-menu {
    max-height: 520px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.nav-menu__links {
    list-style: none;
    margin: 0;
    padding: 0.65rem 0;
}

.nav-menu__links li {
    margin: 0;
}

.nav-menu__links a {
    display: block;
    padding: 0.85rem 1.25rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-menu__links a:hover,
.nav-menu__links a:focus-visible {
    background: rgba(173, 19, 29, 0.06);
    color: var(--brand-red);
}

.nav-menu__links a[aria-current="page"] {
    color: var(--brand-red);
    font-weight: 600;
}

/* Legacy pages still using .nav-links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: var(--brand-red);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.hero-availability {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    opacity: 0.92;
}

.hero-availability a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-availability a:hover {
    opacity: 0.85;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Locations page */
.locations-page {
    padding: 3.5rem 0 4rem;
    background: var(--bg-white);
}

.locations-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.locations-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.locations-header p {
    color: var(--text-light);
    line-height: 1.6;
}

.locations-status {
    text-align: center;
    color: var(--text-light);
    padding: 2rem 0;
}

.locations-status--error {
    color: #b42318;
}

.locations-list {
    display: grid;
    gap: 2rem;
}

.locations-district {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    background: #fafafa;
}

.locations-district__title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    color: var(--brand-red);
}

.locations-district__bundles {
    display: grid;
    gap: 1rem;
}

.locations-bundle {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.locations-bundle__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.1rem 1.25rem;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.locations-bundle__toggle:hover,
.locations-bundle__toggle:focus-visible {
    background: rgba(173, 19, 29, 0.04);
}

.locations-bundle__heading {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.locations-bundle__title {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.locations-bundle__meta {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.locations-bundle__chevron {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--brand-red);
    border-bottom: 2px solid var(--brand-red);
    transform: rotate(45deg);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: -4px;
}

.locations-bundle.is-open .locations-bundle__chevron {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.locations-bundle__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.locations-bundle.is-open .locations-bundle__body {
    grid-template-rows: 1fr;
}

.locations-bundle__body-inner {
    overflow: hidden;
}

.locations-subpoints {
    margin: 0;
    padding: 0 1.25rem 1.1rem 2.45rem;
    color: var(--text-dark);
}

.locations-subpoints li {
    margin: 0.35rem 0;
}

.locations-muted {
    color: var(--text-light);
    list-style: none;
    margin-left: -1.2rem;
}

.locations-empty {
    text-align: center;
    color: var(--text-light);
    padding: 2rem 0;
}

.locations-updated {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: -1.25rem;
}

.store-badge img {
    height: 44px;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
    transition: transform 0.15s ease;
}

.store-badge:hover img {
    transform: translateY(-1px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* Features Section */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* What is Tlangau */
.about-tlangau {
    background: var(--bg-white);
}

.about-tlangau__content {
    max-width: 820px;
    margin: 0 auto;
}

.about-tlangau__heading {
    font-size: 1.15rem;
    color: var(--brand-red);
    margin: 1.75rem 0 0.5rem;
    font-weight: 700;
}

.about-tlangau__heading:first-of-type {
    margin-top: 0.5rem;
}

.about-tlangau__content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.1rem;
}

.about-tlangau__content p:last-child {
    margin-bottom: 0;
}

.about-tlangau__content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.about-tlangau__content em {
    font-style: italic;
    color: var(--text-dark);
}

/* How It Works */
.how-it-works {
    background: var(--bg-white);
}

.section__lang-toggle {
    display: flex;
    justify-content: center;
    margin: -1.5rem 0 1.75rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-brand);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
}

/* Pricing Section */
.pricing {
    background: var(--bg-light);
}

/* Admin vs Client */
.roles-visual {
    background: var(--bg-light);
}

.roles-lead {
    text-align: center;
    color: var(--text-light);
    margin: -1rem auto 2rem;
    max-width: 780px;
    font-size: 1.05rem;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.role-card {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 1.75rem;
    border: 1px solid var(--border-color);
}

.role-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.role-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-light);
    line-height: 1.75;
}

.role-card li {
    margin: 0.35rem 0;
}

.role-card--admin {
    border-top: 4px solid var(--brand-red);
}

.role-card--client {
    border-top: 4px solid var(--primary-color);
}

/* Screenshots */
.screenshots {
    background: var(--bg-white);
}

.screenshots-lead {
    text-align: center;
    color: var(--text-light);
    margin: -1rem auto 2rem;
    max-width: 780px;
    font-size: 1.05rem;
}

.screenshots-scroller {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0.25rem 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable both-edges;
    max-width: 1100px;
    margin: 0 auto;
}

.screenshot {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: min(320px, 82vw);
    background: var(--bg-light);
    border-radius: 18px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 0.75rem;
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

/* Sticky CTA (mobile) */
.sticky-get-app {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1100;
    text-align: center;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: var(--gradient-brand);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.sticky-get-app[hidden] {
    display: none;
}

@media (min-width: 769px) {
    .sticky-get-app {
        display: none;
    }
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-light);
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 0.25rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* FAQ Section */
.faq {
    background: var(--bg-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* From Developer */
.from-developer {
    background: var(--bg-light);
}

.from-developer .section-title {
    text-align: left;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
    max-width: 820px;
}

.from-developer__content {
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
}

.from-developer__content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.85;
    margin: 0;
}

/* Payment Section */
.payment-section {
    padding: 3rem 0;
    min-height: 80vh;
    background: var(--bg-light);
}

.payment-container {
    max-width: 900px;
    margin: 0 auto;
}

.payment-header {
    text-align: center;
    margin-bottom: 3rem;
}

.payment-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.payment-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.payment-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.order-summary {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.order-summary h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0 0;
    margin-top: 1rem;
    border-top: 2px solid var(--border-color);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.total-amount {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.payment-form-container {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.payment-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.payment-method-card {
    position: relative;
}

.payment-method-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-method-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.payment-method-card input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background: var(--primary-alpha-10);
}

.method-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.payment-info {
    margin: 2rem 0;
}

.info-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.info-box h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.info-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.btn-payment {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.amount-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.payment-security {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}


/* QR Code Container */
.qr-code-container {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qr-code-wrapper {
    text-align: center;
}

.qr-code-wrapper h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.qr-code-image {
    display: inline-block;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin: 1rem 0;
}

.qr-code-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
}

.qr-instructions {
    margin: 1.5rem 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    text-align: left;
    color: var(--text-dark);
    line-height: 1.8;
}

.qr-instructions strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.payment-link-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.payment-link-section p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Validation Messages */
.validation-message {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.validation-message.success {
    background: rgba(72, 187, 120, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.validation-message.error {
    background: rgba(245, 101, 101, 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.error-message {
    background: rgba(245, 101, 101, 0.1);
    color: var(--error-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--error-color);
    font-weight: 500;
}

/* Success Section */
.success-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    padding: 2rem 0;
}

.success-container {
    max-width: 600px;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.success-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.success-message {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.success-info {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.info-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.help-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.help-box h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.help-box p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.help-box a {
    color: var(--primary-color);
    text-decoration: none;
}

.help-box a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #2a1819 0%, #1a1011 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .payment-content {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 3rem 0;
    }

    section {
        padding: 3rem 0;
    }

    .pricing-card,
    .payment-form-container,
    .success-container {
        padding: 1.5rem;
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 3rem 0;
    background: var(--bg-light);
    min-height: 80vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.legal-section:first-of-type h2 {
    border-top: none;
    padding-top: 0;
}

.legal-section h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
    margin: 1rem 0;
    padding-left: 2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.important-notice {
    background: rgba(245, 101, 101, 0.1);
    border-left: 4px solid var(--error-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
    color: var(--text-dark);
    font-weight: 500;
}

/* Contact Page Styles */
.contact-page {
    padding: 3rem 0;
    background: var(--bg-light);
    min-height: 80vh;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.help-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.help-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.help-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.contact-form-container {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-form-card > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 100%;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="email"],
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.faq-preview {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.faq-preview h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.faq-preview p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.faq-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive for Legal and Contact Pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 2rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .faq-links {
        flex-direction: column;
    }

    .faq-links .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 1.5rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }
}

/* ==================== LOADING / SPINNER ==================== */

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Large loading spinner for success page */
.loading-spinner-large {
    width: 60px;
    height: 60px;
    border: 5px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* ==================== VERIFY PROGRESS BAR ==================== */

.verify-progress {
    margin: 2rem 0;
    padding: 0 1rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-brand);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

/* ==================== SERVICE SELECTION CARDS ==================== */

.service-selection {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card {
    display: block;
    cursor: pointer;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px var(--primary-alpha-15);
}

.service-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-card input[type="checkbox"]:checked ~ .service-card-content {
    background: var(--primary-alpha-06);
}

.service-card:has(input:checked) {
    border-color: var(--primary-color);
    box-shadow: 0 2px 12px var(--primary-alpha-20);
}

.service-card:has(input:checked)::after {
    content: "✓";
    position: absolute;
    top: 8px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.service-card-content {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    gap: 14px;
    transition: background 0.25s ease;
}

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: white;
}

.service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.service-info strong {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.service-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.service-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    white-space: nowrap;
    padding-right: 4px;
}

.service-card-free {
    cursor: default;
    border-style: dashed;
    border-color: #48bb78;
    opacity: 0.85;
}

.service-card-free:hover {
    border-color: #48bb78;
    box-shadow: none;
}

.service-free-badge {
    color: #48bb78 !important;
    font-size: 0.85rem !important;
    background: rgba(72, 187, 120, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
}

.service-quick-select {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.quick-select-btn {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.quick-select-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-alpha-05);
}

.service-error {
    color: var(--error-color);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(245, 101, 101, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(245, 101, 101, 0.2);
}

.summary-line-item {
    font-size: 0.9rem;
    padding: 0.5rem 0 !important;
    border-bottom: none !important;
    color: var(--text-light);
}

/* Responsive tweaks for service cards */
@media (max-width: 480px) {
    .service-card-content {
        padding: 12px;
        gap: 10px;
    }

    .service-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .service-info strong {
        font-size: 0.9rem;
    }
}

/* Premium pricing explorer (homepage + get-app page) */
.pricing-lead {
    text-align: center;
    color: var(--text-light);
    margin: -1rem auto 2rem;
    max-width: 720px;
    font-size: 1.05rem;
}

.pricing-card--interactive {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.pricing-card--get-app {
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    border-radius: 16px;
    background: var(--bg-white);
}

.pricing-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pricing-card-top h3 {
    margin: 0;
    text-align: left;
}

.toggle-group--compact {
    flex-shrink: 0;
}

.toggle-group--compact .toggle-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
}

.toggle-group--period {
    display: inline-flex;
    margin: 0 auto 1.25rem;
    background: var(--bg-light);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

.price--hero {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.price--hero-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price--hero .amount {
    font-size: 4rem;
}

.price--hero-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding-bottom: 0.45rem;
}

.price-suffix {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.2;
    white-space: nowrap;
}

.price-bundle-save {
    display: inline-block;
    font-size: 0.68rem;
}

.price--hero .price-bundle-save[hidden] {
    display: none;
}

.save-tag--inline {
    font-size: 0.62rem;
    vertical-align: middle;
}

.pricing-hint--card {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.pricing-features-interactive {
    text-align: left;
    margin-bottom: 0.5rem;
}

.pricing-service-pick {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.5rem;
    border: none;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: background 0.15s;
}

.pricing-service-pick:hover {
    background: var(--primary-alpha-06);
}

.pricing-service-pick.is-selected {
    background: var(--primary-alpha-10);
}

.pricing-service-pick.is-selected .pricing-service-pick__text strong {
    color: var(--primary-color);
}

.pricing-service-pick--free {
    cursor: default;
    grid-template-columns: auto 1fr auto;
}

.pricing-service-pick__icon {
    font-size: 1.15rem;
    width: 1.5rem;
    text-align: center;
}

.pricing-service-pick__text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.pricing-service-pick__text strong {
    font-weight: 600;
}

.pricing-service-pick__price {
    font-weight: 600;
    color: var(--text-dark);
}

.pricing-features--meta {
    text-align: left;
    margin-bottom: 1.5rem;
}

.pricing-explorer {
    max-width: 960px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
}

.premium-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.toggle-group {
    display: inline-flex;
    background: var(--bg-light);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

.toggle-btn {
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
}

.toggle-btn.is-active {
    background: var(--gradient-brand);
    color: #fff;
}

.pricing-explorer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
}

.pricing-explorer-summary {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-total {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.pricing-hint,
.pricing-save-note {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.premium-service-row {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.premium-service-row input {
    width: 18px;
    height: 18px;
}

.premium-service-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.premium-service-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.premium-service-text strong {
    font-size: 0.95rem;
}

.premium-service-text small {
    color: var(--text-light);
    font-size: 0.82rem;
}

.premium-service-price {
    text-align: right;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.save-tag {
    display: inline-block;
    background: var(--brand-red);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 5px;
    white-space: nowrap;
}

.premium-free-list {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.premium-free-heading {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.premium-free-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.free-badge {
    background: var(--success-color);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
}

.payment-container--wide {
    max-width: 1100px;
}

.store-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.store-pricing-card {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.store-pricing-card__head h2 {
    margin: 0;
    font-size: 1.5rem;
}

.store-pricing-card__head p {
    margin: 0.25rem 0 0;
    color: var(--text-light);
}

.store-pricing-card__period h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: var(--primary-color);
}

.store-price-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.store-price-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.92rem;
}

.store-price-list li.bundle-line {
    color: var(--text-light);
    font-size: 0.85rem;
}

.store-pricing-card__free p {
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.store-get-btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.store-pricing-footnote {
    text-align: center;
    color: var(--text-light);
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .pricing-explorer-grid,
    .store-pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .roles-grid {
        grid-template-columns: 1fr;
    }
}