:root {
    --primary: #F26522;
    --primary-light: #f78d59;
    --primary-dark: #c24b12;
    --bg-color: #f0f0ef;
    --bg-dark: #e8e8e7;
    --text-main: #111111;
    --text-muted: #6b7280;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.07);
    --shadow-color: rgba(0, 0, 0, 0.08);
    --card-radius: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    height: 100%;
}

/* Lock scroll only on homepage (snap container) */
body:has(#page-wrap) {
    overflow: hidden;
}

/* Inner pages: white background — removes the gray shade from page headers */
body:not(:has(#page-wrap)) {
    background-color: var(--card-bg);
}

/* Scroll snap container */
#page-wrap {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* Solid clean utility */
.glass {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
    border-radius: 32px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 4%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(240, 240, 239, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar.scrolled {
    background: rgba(240, 240, 239, 0.97);
    box-shadow: 0 1px 0 var(--border-color);
    padding: 0.9rem 4%;
}

/* Navbar solid variant for inner pages */
.navbar-solid {
    background: rgba(240, 240, 239, 0.97) !important;
    box-shadow: 0 1px 0 var(--border-color);
}

/* Tagline in navbar */
.nav-tagline {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--text-muted);
    opacity: 0.8;
}

/* ── Inner page layout ─────────────────────────── */
.page-header {
    padding: 10rem 4% 4rem;
    text-align: center;
    background: transparent;
}

.page-header h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
}

.content-section {
    padding: 4rem 4% 6rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Inner page cards */
.inner-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 2.4rem 2.8rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.09);
}

.inner-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--primary);
    margin-bottom: 0.9rem;
}

.inner-card p,
.inner-card li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.inner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

/* Section divider label */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    border: 1px solid var(--border-color);
}

.section-label i {
    color: var(--primary);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    padding: 0.85rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    letter-spacing: -0.2px;
}

.btn-primary {
    background: var(--text-main);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #222222;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-secondary {
    background-color: var(--card-bg);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.btn-secondary:hover {
    background-color: var(--text-main);
    color: white;
}

.cta-button {
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    box-shadow: 0 8px 24px rgba(242,101,34,0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7rem 4% 4rem;
    position: relative;
    overflow: hidden;
    gap: 3rem;
}

.hero-content {
    flex: 1.1;
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.0;
    margin-bottom: 1.4rem;
    font-weight: 900;
    letter-spacing: -3px;
    color: var(--text-main);
}

.highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.75;
}

/* Search Bar */
.search-container {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    max-width: 580px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-container:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(242, 101, 34, 0.25);
}

.search-icon {
    color: var(--text-muted);
    margin-left: 1.2rem;
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 0.95rem;
    flex: 1;
    padding: 0.5rem 1.2rem 0.5rem 0;
}

.search-input::placeholder {
    color: #64748b;
}

.search-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background: var(--primary-light);
}

.popular-tags {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.popular-tags span {
    color: var(--text-main);
    cursor: pointer;
    margin-left: 5px;
    transition: color 0.2s ease;
}

.popular-tags span:hover {
    color: var(--primary);
    text-decoration: underline;
}

.hero-image {
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.app-mockup {
    width: 290px;
    height: 580px;
    border-radius: 40px;
    background: #ffffff;
    border: 10px solid #e2e8f0;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.1),
                0 0 30px rgba(242, 101, 34, 0.15);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    height: 60px;
    background: rgba(248, 250, 252, 0.9);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 1rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.mockup-logo {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.mockup-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mockup-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.8rem;
    display: flex;
    gap: 0.8rem;
}

.mockup-img {
    width: 60px;
    height: 60px;
    background: #1e293b;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.mockup-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mockup-title {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.75rem;
}

.mockup-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
}

.mockup-location {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.mockup-button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    align-self: flex-start;
}

/* Sections */
.section {
    padding: 5rem 4%;
}

.bg-dark {
    background-color: var(--bg-dark);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 3rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    padding: 2.5rem;
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 320px;
    flex-shrink: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(242, 101, 34, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(242, 101, 34, 0.15);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px var(--shadow-color);
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex: 1;
}

/* How It Works Section with Tabs */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(242,101,34,0.12);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(242, 101, 34, 0.35);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Timeline Layout */
.timeline {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    left: -2rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 3px solid var(--primary);
    z-index: 2;
    transition: background-color 0.3s ease;
}

.timeline-item:hover .timeline-badge {
    background: var(--primary);
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.timeline-step {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.timeline-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Guidelines Grid */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.guideline-card {
    padding: 2rem;
    border-radius: 20px;
}

.guideline-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 700;
}

.guideline-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guideline-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.guideline-list li strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.2rem;
}

/* About Snippet Section */
.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6));
    padding: 4rem 3rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
}

.about-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.supporters-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.supporters-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.supporter-card {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    padding: 1.2rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    color: var(--text-main);
    transition: all 0.3s ease;
    cursor: default;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.supporter-card:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Floating PWA Install Button */
.pwa-badge {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(242, 101, 34, 0.4);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pwa-badge:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 25px rgba(242, 101, 34, 0.6);
}

/* PWA Install Modal */
.pwa-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: rgba(2, 6, 17, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.pwa-modal.active {
    display: flex;
}

.modal-content {
    max-width: 500px;
    width: 100%;
    padding: 2.5rem;
    border-radius: 24px;
    position: relative;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.instructions {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.instruction-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.step-num {
    background: rgba(242, 101, 34, 0.15);
    color: var(--primary);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-txt {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.step-txt strong {
    color: var(--text-main);
}

/* Footer */
.footer {
    background-color: var(--text-main);
    padding: 3rem 4% 2rem;
    border-top: none;
    color: rgba(255,255,255,0.6);
    scroll-snap-align: start;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.footer-tagline {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.35);
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 1.2rem;
    line-height: 1.3;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 0;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    margin: 1rem 0;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 5rem;
    flex-wrap: wrap;
}

.link-group h4 {
    margin-bottom: 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.link-group a {
    display: block;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.link-group a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-muted);
    font-size: 0.88rem;
}

.company-info {
    margin-top: 0.6rem;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 9rem;
        gap: 3.5rem;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero h1 {
        font-size: 3.2rem;
    }
    .hero p {
        margin: 0 auto 2.2rem;
    }
    .search-container {
        margin: 0 auto 1.5rem;
    }
    .hero-image {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    .nav-links {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    .footer-links {
        gap: 3rem;
    }
}

/* Sub-pages Typography Styles */

.content-section h2 {
    color: var(--text-main);
    margin: 2.5rem 0 1.2rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.content-section h3 {
    color: var(--text-main);
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.content-section p {
    margin-bottom: 1.2rem;
    line-height: 1.75;
    font-size: 1rem;
}

.content-section ul {
    margin-left: 1.8rem;
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.content-section li {
    font-size: 1rem;
    line-height: 1.6;
}

.content-section a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.content-section a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.terms-acceptance-note {
    background: rgba(242, 101, 34, 0.05);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-top: 3rem;
    font-style: italic;
    color: var(--text-main);
}

/* Split Layout Sections */
.split-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 5rem 4%;
    max-width: 100%;
}

.split-left {
    flex: 0 0 320px;
    max-width: 320px;
}

.split-right {
    flex: 1;
}
.section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.split-left .section-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Horizontal Steps (How It Works)/* Step Cards */
.horizontal-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.step-card-v3 {
    width: 100%;
    max-width: 250px;
    min-height: 250px;
    padding: 2rem 1.5rem;
    border-radius: var(--card-radius);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    background: var(--card-bg);
    border: none;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    flex: none;
    margin: 0 auto;
}

.step-card-v3:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.step-icon {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: block;
}

.step-card-v3 h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.step-card-v3 p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Vibrant Colorful Cards */
.card-color-1 { background: #FF3366; color: white; border: none; }
.card-color-2 { background: #00D2FF; color: #0A0A0A; border: none; }
.card-color-3 { background: #FFD500; color: #0A0A0A; border: none; }
.card-color-4 { background: #00E676; color: #0A0A0A; border: none; }
.card-color-5 { background: #D500F9; color: white; border: none; }
.card-color-6 { background: #1A1A1A; color: white; border: none; }
.card-color-7 { background: #FFFFFF; color: #0A0A0A; border: none; }
.card-color-8 { background: #2979FF; color: white; border: none; }

.card-color-2 h3, .card-color-2 p, .card-color-2 .icon-circle i,
.card-color-3 h3, .card-color-3 p, .card-color-3 .icon-circle i,
.card-color-4 h3, .card-color-4 p, .card-color-4 .icon-circle i,
.card-color-7 h3, .card-color-7 p, .card-color-7 .step-icon i { color: #0A0A0A !important; }

.card-color-1 h3, .card-color-1 p, .card-color-1 .icon-circle i,
.card-color-5 h3, .card-color-5 p, .card-color-5 .step-icon i,
.card-color-6 h3, .card-color-6 p, .card-color-6 .step-icon i,
.card-color-8 h3, .card-color-8 p, .card-color-8 .step-icon i { color: #FFFFFF !important; }

/* Uniform Brand Card — clean white fintech style */
.card-brand {
    background: var(--card-bg);
    color: var(--text-main);
    border: none;
    box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}
.card-brand h3 { color: var(--text-main); font-weight: 700; }
.card-brand p { color: var(--text-muted); }
.card-brand .step-icon i { color: var(--primary); font-size: 1.6rem; }

/* Responsive adjustments */
@media (max-width: 1200px) {
    .split-layout {
        flex-direction: column;
        align-items: flex-start;
    }
    .split-left {
        flex: none;
        width: 100%;
        margin-bottom: 4rem;
    }
    .split-left .section-title, .split-left .section-subtitle {
        text-align: center !important;
    }
    .split-left div[style*="margin-top"] {
        text-align: center;
    }
    .staggered-col.mt-mid {
        margin-top: 3rem;
    }
    .staggered-col.mt-low {
        margin-top: 6rem;
    }
}
@media (max-width: 992px) {
    .staggered-grid {
        flex-direction: column;
    }
    .staggered-col.mt-mid, .staggered-col.mt-low {
        margin-top: 0;
    }
    .horizontal-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .horizontal-steps {
        grid-template-columns: 1fr;
    }
}
}

/* Hero Mockup Wrapper - clips the image to rounded corners */
.mockup-wrapper {
    height: 35vh;
    max-height: 3.5in;
    width: auto;
    border-radius: 44px;
    overflow: hidden;
    box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.3),
                0 0 50px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
    flex-shrink: 0;
}

/* Hero Mockup Image */
.hero-mockup-img {
    height: 100%;
    width: auto;
    display: block;
}

/* App Announcement Section */
.app-announcement {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 4% 4rem;
    text-align: center;
    background: var(--bg-color);
}

.announcement-content {
    max-width: 720px;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.announcement-content h1 {
    font-size: 6rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -4px;
    margin-bottom: 1.8rem;
    color: var(--text-main);
}

.announcement-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.announcement-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.announcement-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.announcement-meta span:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(242,101,34,0.12);
}

.announcement-meta span i {
    color: var(--primary);
}

/* Categories Strip */
.categories-strip {
    padding: 4rem 4%;
    background: var(--card-bg);
    border-radius: 0;
}

.categories-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
}

.category-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-icon-item:hover {
    transform: translateY(-5px);
}

.cat-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.category-icon-item:hover .cat-icon-circle {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(242, 101, 34, 0.25);
}

.category-icon-item span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: -0.2px;
}

/* Hero text-only (no image) */
.hero-text-only {
    justify-content: center;
    text-align: center;
    padding-top: 7rem;
    padding-bottom: 5rem;
    min-height: 60vh;
    background: none;
}

.hero-text-only .hero-content {
    margin: 0 auto;
}

.hero-text-only p {
    margin-left: auto;
    margin-right: auto;
}

/* Popup Overlay */
#popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

#popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

#popup-box {
    background: var(--card-bg);
    border-radius: 28px;
    padding: 2.8rem 2.8rem 2.4rem;
    max-width: 520px;
    width: 90%;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#popup-overlay.active #popup-box {
    transform: translateY(0) scale(1);
}

#popup-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--bg-color);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#popup-close:hover {
    background: var(--primary);
    color: white;
}

#popup-icon {
    width: 60px;
    height: 60px;
    background: rgba(242, 101, 34, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

#popup-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    margin-bottom: 0.9rem;
}

#popup-desc {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.8rem;
}

.popup-cats-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.popup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.popup-tags span {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.2s ease;
    cursor: default;
}

.popup-tags span:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* =============================================
   UNIFIED SECTION SYSTEM
   Matches the aesthetic of Section 1 & 2
   ============================================= */

/* Full-height sections with scroll snap */
.full-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 5%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
}

.full-section.alt-bg {
    background: var(--card-bg);
}

/* Inner content wrapper */
.section-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-inner.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Badge pill (same as announcement badge) */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2.2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Hero-scale heading */
.hero-heading {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -4px;
    color: var(--text-main);
    margin-bottom: 2rem;
}

/* Section-scale heading (slightly smaller) */
.section-heading {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 900;
    line-height: 0.97;
    letter-spacing: -3px;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

/* Hero paragraph */
.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* Section paragraph */
.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 3.5rem;
}

/* Coming soon note */
.coming-soon-note {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    margin-top: 0;
}

/* Pill row (meta tags row) */
.pill-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pill-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pill-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pill-tag i {
    color: var(--primary);
}

/* Feature / Step cards grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    width: 100%;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 2rem 1.8rem;
    text-align: left;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.full-section.alt-bg .feature-card {
    background: var(--bg-color);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

.card-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Category icon grid */
.icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2rem;
    width: 100%;
}

.icon-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 90px;
}

.icon-tile:hover {
    transform: translateY(-5px);
}

.tile-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.icon-tile:hover .tile-icon {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(242, 101, 34, 0.3);
}

.icon-tile span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-heading {
        letter-spacing: -2px;
    }
    .section-heading {
        letter-spacing: -2px;
    }
}

@media (max-width: 600px) {
    .card-grid {
        grid-template-columns: 1fr 1fr;
    }
    .full-section {
        padding: 7rem 5% 4rem;
        min-height: unset;
    }
}

