/* Rytelink - Premium Black & White Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #000000;
    --bg-darker: #050505;
    --bg-light-grey: #F8F9FA;
    --bg-white: #FFFFFF;
    
    --text-dark: #FFFFFF;
    --text-muted-dark: rgba(255, 255, 255, 0.6);
    
    --text-light: #111111;
    --text-muted-light: rgba(17, 17, 17, 0.6);
    
    --primary: #000000;
    --primary-light: #333333;
    --accent: #FF6B00;
    
    --border-dark: rgba(255, 255, 255, 0.1);
    --border-light: rgba(0, 0, 0, 0.1);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    font-size: 16px;
    overflow-x: hidden;
}
@media (max-width: 768px) {
    html { font-size: 14px; } /* Scales down paddings, margins, fonts globally */
}

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

body {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-light-grey);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==================
   TYPOGRAPHY
   ================== */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; line-height: 1.2; margin-bottom: 1.5rem; }
h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 600; line-height: 1.3; margin-bottom: 1rem; }
h4 { font-size: clamp(18px, 2.5vw, 22px); font-weight: 500; line-height: 1.4; margin-bottom: 1rem; }
p { font-size: 16px; font-weight: 400; line-height: 1.6; margin-bottom: 1.5rem; color: var(--text-muted-light); }

.text-lg { font-size: 18px; font-weight: 400; line-height: 1.6; }
.text-sm { font-size: 14px; font-weight: 400; line-height: 1.5; }
.text-caption { font-size: 12px; font-weight: 400; line-height: 1.4; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.section-text { font-size: 1.125rem; max-width: 600px; }
.text-center { text-align: center; }

/* ==================
   LAYOUT UTILS
   ================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

.section {
    padding: 6rem 0;
    position: relative;
}

@media (max-width: 992px) {
    .section {
        padding: 4.5rem 0;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
}

.section-alt {
    background-color: var(--bg-light-grey);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================
   BUTTONS
   ================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
    font-size: 0.95rem;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(1px);
}

.btn-nav-cta {
    background-color: #FFFFFF;
    color: #000000;
    padding: 0.75rem 1.5rem;
}
.btn-nav-cta:hover {
    background-color: #f0f0f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-hero-primary {
    background-color: #FFFFFF;
    color: #000000;
    font-size: 1rem;
}
.btn-hero-primary:hover {
    box-shadow: 0 15px 30px rgba(255,255,255,0.2);
}

.btn-hero-outline {
    background-color: #0A0A0A;
    color: #FFFFFF;
    border: 1px solid var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}
.btn-hero-outline i {
    font-size: 1.5rem;
}
.btn-hero-outline:hover {
    background-color: rgba(255, 107, 0, 0.1);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
}

/* Official store badges */
.store-badge-link {
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}
.store-badge-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}
.store-badge-img {
    height: 52px;
    width: auto;
    display: block;
}
/* Apple badge has extra padding built in — compensate to match Google badge height visually */
.store-badge-apple {
    height: 36px;
    padding: 0 6px;
}

/* Black buttons for light grey sections */
.payments-cta-btn, .wealth-cta-btn, .global-cta-btn, .econtents-cta-btn, .airports-cta-btn {
    background-color: #000000;
    color: #FFFFFF;
    margin-top: 2rem;
}
.payments-cta-btn:hover, .wealth-cta-btn:hover, .global-cta-btn:hover, .econtents-cta-btn:hover, .airports-cta-btn:hover {
    background-color: #333333;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* ==================
   NAVIGATION
   ================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-dark); /* Dark header */
    padding: 1.5rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

#navbar.scrolled {
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 35px;
    margin-left: -6px;
    filter: brightness(0) invert(1); /* Logo white on dark background */
}

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

.nav-links li a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    opacity: 0.8;
}

.nav-links li a:hover {
    opacity: 1;
}

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

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

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    margin-right: 0;
}

.nav-hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #FFFFFF;
    transition: var(--transition);
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.nav-mobile.active, .nav-mobile.open {
    display: block;
}

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

.nav-mobile ul li a {
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 600;
    display: block;
}

@media (max-width: 992px) {
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
}

/* ==================
   HERO SECTION
   ================== */
.hero {
    background-color: var(--bg-dark); /* Dark background */
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0) 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.hero-content p {
    color: var(--text-muted-dark);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.feature-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 107, 0, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.app-badges {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
}

.mockup-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5));
}

/* Let original SVG orange accents shine through */
.mockup-container svg, 
.payments-image-wrap svg, 
.global-image-wrap svg,
.econtents-visual svg,
.airports-visual svg {
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.05));
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons { justify-content: center; }
    .app-badges { justify-content: center; width: 100%; margin-top: 1rem; }
    .hero-image { width: 100%; overflow: hidden; }
    .mockup-container { max-width: 100%; }
}

/* ==================
   COMMON SECTIONS (Vision, Payments, Investments, Marketplace, E-contents, Airports)
   All these are LIGHT GREY
   ================== */
.vision-section, .payments-section, .wealth-section, .global-section, .econtents-section, .airports-section {
    background-color: var(--bg-light-grey);
    color: var(--text-light);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: #555555;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.section-title {
    color: #000000;
}

.section-text {
    color: var(--text-muted-light);
}

.payments-layout, .wealth-layout, .global-layout, .econtents-layout, .airports-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Alternating Layouts */
.econtents-layout, .airports-layout {
    grid-template-columns: 1fr 1fr;
}
@media (min-width: 993px) {
    .econtents-layout .econtents-content { order: 1; }
    .econtents-layout .econtents-visual { order: 2; }
    
    .airports-layout .airports-content { order: 1; }
    .airports-layout .airports-visual { order: 2; }
}

@media (max-width: 992px) {
    .payments-layout, .wealth-layout, .global-layout, .econtents-layout, .airports-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .payments-visual, .wealth-visual, .global-visual, .econtents-visual, .airports-visual {
        order: -1;
    }
}
@media (max-width: 768px) {
    .payments-layout, .wealth-layout, .global-layout, .econtents-layout, .airports-layout {
        gap: 2rem;
    }
}

/* Feature Lists */
.pay-feature-item, .wealth-feature-item, .global-feature-item, .econtents-feature-item, .airports-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.pay-feature-icon, .wealth-feature-icon, .global-feature-icon, .econtents-feature-icon, .airports-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: #FFFFFF;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.pay-feature-text strong, .wealth-feature-item strong, .global-feature-item strong, .econtents-feature-item strong, .airports-feature-item strong {
    display: block;
    color: #000000;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.pay-feature-text span, .wealth-feature-item span, .global-feature-item span, .econtents-feature-item span, .airports-feature-item span {
    color: var(--text-muted-light);
    font-size: 0.95rem;
}

/* Vision Specific */
.vision-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.vision-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.vision-tag-wrapper {
    text-align: center;
}
.vision-tag-wrapper .feature-tag {
    background-color: #FFFFFF;
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: var(--accent);
}

@media (max-width: 768px) {
    .vision-text-grid { grid-template-columns: 1fr; }
}

/* ==================
   SVG / VISUALS Adjustments for Light Grey BGs
   ================== */
.payments-image-wrap, .wealth-chart-card, .global-image-wrap, .econtents-image-wrap, .airports-image-wrap {
    background: #FFFFFF;
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

/* ROI Meter */
.roi-meter {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}
.roi-meter-label { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-weight: 600; color: #000; }
.roi-meter-value { color: #000; font-weight: 800; }
.roi-meter-track { height: 8px; background: #eee; border-radius: 4px; overflow: hidden; margin-bottom: 0.5rem; }
.roi-meter-fill { height: 100%; width: 75%; background: var(--accent); border-radius: 4px; }
.roi-meter-compare { display: flex; justify-content: space-between; font-size: 0.875rem; color: #666; align-items: center; }
.roi-badge { background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; font-weight: 600; }

.wealth-chart-card {
    background: #FFFFFF;
    color: #000;
}
.chart-header { display: flex; justify-content: space-between; margin-bottom: 2rem; font-weight: 600; }
.chart-trend { color: #000; background: #f0f0f0; padding: 4px 8px; border-radius: 6px; }
.chart-bars { display: flex; justify-content: space-between; align-items: flex-end; height: 150px; margin-bottom: 2rem; }
.chart-bar-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: #666; height: 100%; justify-content: flex-end;}
.chart-bar { width: 30px; background: #eaeaea; border-radius: 6px 6px 0 0; height: var(--bar-h); transition: var(--transition); }
.chart-bar:hover, .chart-bar-active { background: var(--accent); }
.chart-footer { display: flex; justify-content: space-between; border-top: 1px solid #eaeaea; padding-top: 1rem; }
.chart-stat { display: flex; flex-direction: column; }
.chart-stat-val { font-weight: 800; font-size: 1.2rem; }
.chart-stat-lbl { font-size: 0.8rem; color: #666; }

.wealth-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ==================
   SECURITY SECTION (Light Grey)
   ================== */
#security {
    background-color: var(--bg-light-grey);
    padding: 6rem 0;
}
.security-inner {
    background-color: #FFFFFF;
    border-radius: 40px;
    padding: 5rem 3rem;
    margin: 0 auto;
    max-width: 1200px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}
.security-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}
.security-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 1rem;
}
.security-eyebrow-dot {
    width: 8px; height: 8px; background-color: var(--accent); border-radius: 50%;
}
.security-title {
    color: #000;
}
.security-subtitle {
    color: #666;
}
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.security-item {
    text-align: center;
    padding: 2rem;
}
.security-icon-wrap {
    width: 64px; height: 64px;
    background-color: var(--bg-light-grey);
    color: #000;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}
.security-item h3 {
    color: #000;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.security-item p {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .security-grid { grid-template-columns: 1fr; }
    .security-inner { padding: 3rem 1.5rem; margin: 0 1rem; }
}
@media (max-width: 768px) {
    .security-inner { padding: 2rem 1rem; margin: 0; border-radius: 20px; }
}

/* ==================
   FAQ SECTION (Light Grey)
   ================== */
#faq {
    background-color: var(--bg-light-grey);
}
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}
.faq-item {
    background-color: #FFFFFF;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.05);
}
.faq-question {
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: #000;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    color: #666;
    transition: all 0.3s ease;
}
.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    max-height: 500px;
}

/* ==================
   DOWNLOAD CTA SECTION (Dark Mode)
   ================== */
.download-section {
    background-color: var(--bg-dark);
    padding: 6rem 0;
}
.download-card {
    background-color: #111111;
    border-radius: 40px;
    padding: 5rem 2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}
.download-title {
    color: #FFFFFF;
    margin-bottom: 1rem;
}
.download-subtitle {
    color: var(--text-muted-dark);
    max-width: 500px;
    margin: 0 auto 3rem;
}
.download-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.download-store-btn {
    background-color: #0A0A0A;
    color: #FFFFFF;
    border: 1px solid var(--accent);
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}
.download-store-btn i {
    font-size: 1.5rem;
}
.download-store-btn:hover {
    background-color: rgba(255, 107, 0, 0.1);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
}

@media (max-width: 768px) {
    .download-store {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }
}

/* ==================
   FOOTER (Dark Mode)
   ================== */
footer {
    background-color: var(--bg-darker);
    color: var(--text-dark);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-about {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
}

.footer-title {
    color: #FFFFFF;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted-dark);
    font-size: 0.875rem;
}
.footer-bottom p {
    color: inherit;
    margin-bottom: 0;
    font-size: inherit;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================
   ANIMATIONS & EFFECTS
   ================== */
.fun-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.econtents-visual svg, .airports-visual svg {
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.05));
}

/* ==================
   WHATSAPP FLOAT
   ================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: #FFFFFF;
}
