/* ==========================================================================
   Swipe — Official App Theme CSS Design System
   Matches App Color Palette: Dark #09090B, Surface #1B1C20, Accent #14D9C4
   ========================================================================== */

:root {
    --bg-dark: #09090B;
    --bg-secondary: #141417;
    --bg-card: #1B1C20;
    --bg-card-hover: #23252A;
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(20, 217, 196, 0.3);

    /* App Theme Accents */
    --accent-teal: #14D9C4;
    --accent-blue: #4F8CFF;
    --accent-warning: #F59E0B;
    --accent-green: #22C55E;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-muted: #6B7280;

    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.teal-accent { color: var(--accent-teal); }
.blue-accent { color: var(--accent-blue); }

/* Glass & Buttons */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-glass-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 99px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.glow-btn {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    color: #09090B;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(20, 217, 196, 0.4);
}

.glow-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 0 40px rgba(20, 217, 196, 0.7);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: white;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 2px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

.nav-actions {
    display: flex;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: white;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 80px;
    position: relative;
}

.hero-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(20, 217, 196, 0.12);
    border: 1px solid rgba(20, 217, 196, 0.3);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-teal);
    margin-bottom: 30px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-teal);
    box-shadow: 0 0 10px var(--accent-teal);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: 68px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    max-width: 960px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 720px;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-hero {
    padding: 18px 40px;
    font-size: 17px;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.stars {
    color: #ffb703;
    letter-spacing: 2px;
}

/* Real App Image Wrapper */
.hero-real-image-wrapper {
    position: relative;
    max-width: 900px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 217, 196, 0.25), rgba(79, 140, 255, 0.15), transparent 70%);
    filter: blur(80px);
    z-index: 1;
}

.hero-real-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    border-radius: 36px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 30px rgba(20, 217, 196, 0.2);
    border: 1px solid var(--border-glass-hover);
}

/* Feature Split Sections */
.sms-sync-section, .bill-aggregator-section {
    padding: 120px 0;
}

.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-split.reverse {
    grid-template-columns: 1fr 1fr;
}

.section-tag {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-teal);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.check-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(20, 217, 196, 0.15);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-list strong {
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
}

.check-list p {
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-real-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-glass-hover);
    margin: 0 auto;
    display: block;
}

.aggregator-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.agg-stat-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.agg-num {
    font-size: 28px;
    font-weight: 800;
}

.agg-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Supported Banks */
.banks {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.01);
    border-y: 1px solid var(--border-glass);
}

.section-header.center {
    text-align: center;
}

.bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.bank-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-smooth);
}

.bank-badge:hover {
    border-color: var(--accent-teal);
    transform: translateY(-3px);
}

.bank-icon { font-size: 24px; }
.bank-name { font-weight: 600; font-size: 15px; }

/* Security */
.security {
    padding: 100px 0;
}

.security-card {
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.sec-left h2 {
    font-size: 38px;
    margin-bottom: 16px;
}

.sec-left p {
    color: var(--text-secondary);
}

.sec-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sec-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 16px;
}

.sec-icon { font-size: 24px; margin-bottom: 8px; display: block; }
.sec-item h4 { font-size: 18px; margin-bottom: 4px; }
.sec-item p { font-size: 14px; color: var(--text-secondary); }

/* CTA Banner */
.cta-banner {
    padding: 100px 0;
}

.cta-inner {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 217, 196, 0.15), rgba(79, 140, 255, 0.1));
    border: 1px solid var(--border-glass-hover);
    border-radius: 36px;
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 200px;
    background: var(--accent-teal);
    filter: blur(100px);
    opacity: 0.25;
}

.cta-inner h2 {
    font-size: 44px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-inner p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 30px;
    background: #050608;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 48px; }
    .feature-split, .feature-split.reverse, .security-card { grid-template-columns: 1fr; }
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 36px; }
    .section-title { font-size: 32px; }
}
