@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Brand Color Variables */
:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --secondary: #06B6D4;
    --accent: #EC4899;
    --income: #10B981;
    --expense: #F43F5E;
    
    /* Dark Theme Default */
    --bg-color: #0B0F19;
    --surface-color: rgba(21, 29, 48, 0.7);
    --surface-border: rgba(255, 255, 255, 0.08);
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --card-bg: #151D30;
    --nav-bg: rgba(11, 15, 25, 0.8);
    --input-bg: rgba(30, 41, 59, 0.5);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --glow-color: rgba(99, 102, 241, 0.15);
    
    --primary-gradient: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%);
    --accent-gradient: linear-gradient(135deg, var(--accent) 0%, #F43F5E 100%);
    --secondary-gradient: linear-gradient(135deg, var(--secondary) 0%, #0891B2 100%);
    --glow-gradient: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(6, 182, 212, 0.4) 100%);
}

[data-theme="light"] {
    --bg-color: #F8FAFC;
    --surface-color: rgba(255, 255, 255, 0.75);
    --surface-border: rgba(15, 23, 42, 0.08);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --card-bg: #FFFFFF;
    --nav-bg: rgba(248, 250, 252, 0.8);
    --input-bg: rgba(226, 232, 240, 0.5);
    --shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.08);
    --glow-color: rgba(99, 102, 241, 0.05);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

li {
    list-style: none;
}

input, button {
    font-family: inherit;
    outline: none;
}

/* Glassmorphism utility */
.glass {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s, box-shadow 0.3s;
}

header.scrolled {
    height: 70px;
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid var(--surface-border);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFF 0%, #AAA 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Outfit', sans-serif;
    transition: 0.3s;
}

[data-theme="light"] .logo-text {
    background: linear-gradient(135deg, #0F172A 0%, #475569 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

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

/* Theme Toggle */
.theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    color: var(--text-primary);
    background: var(--input-bg);
}

.theme-btn .sun {
    display: none;
}

[data-theme="light"] .theme-btn .sun {
    display: block;
}

[data-theme="light"] .theme-btn .moon {
    display: none;
}

/* Primary Button */
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: var(--input-bg);
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--surface-border);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--surface-border);
    transform: translateY(-2px);
}

/* Mobile Toggle Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--glow-gradient);
    filter: blur(160px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.hero-glow-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--accent-gradient);
    filter: blur(150px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary) 30%, #a5b4fc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-content h1 {
    background: linear-gradient(135deg, #0F172A 30%, var(--primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
}

.download-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.badge {
    height: 48px;
    display: inline-block;
    transition: transform 0.3s;
}

.badge img {
    height: 100%;
    width: auto;
}

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

.social-proof {
    display: flex;
    align-items: center;
    gap: 32px;
}

.rating-stars {
    color: #FBBF24;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.stat-group {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Interactive Simulated Mobile Dashboard Preview */
.mockup-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 320px;
    height: 640px;
    border-radius: 40px;
    border: 12px solid #1E293B;
    background-color: #0B0F19;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 24px;
    background-color: #1E293B;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.phone-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 32px 16px 16px;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
}

.phone-screen::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

/* Simulated UI Elements */
.sim-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sim-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sim-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 12px;
}

.sim-bell {
    color: var(--text-secondary);
}

.sim-balance-card {
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
    border-radius: 20px;
    padding: 16px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.sim-balance-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--secondary);
    filter: blur(40px);
    opacity: 0.3;
}

.sim-card-label {
    font-size: 11px;
    color: #A5B4FC;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sim-card-val {
    font-size: 24px;
    font-weight: 800;
    margin: 4px 0 12px;
    font-family: 'Outfit', sans-serif;
}

.sim-card-stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 10px;
}

.sim-stat-box span {
    font-size: 9px;
    color: #C7D2FE;
    display: block;
}

.sim-stat-box p {
    font-size: 12px;
    font-weight: 700;
}

.sim-stat-box.inc p { color: var(--income); }
.sim-stat-box.exp p { color: #FDA4AF; }

.sim-section-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sim-section-title a {
    font-size: 11px;
    color: var(--primary);
}

.sim-chart-box {
    height: 90px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
    padding: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.sim-chart-bar {
    width: 20px;
    background: var(--primary);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    transition: height 1s ease;
    position: relative;
}

.sim-chart-bar:nth-child(even) {
    background: var(--secondary);
}

.sim-transactions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sim-tx-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 41, 59, 0.4);
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.sim-tx-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sim-tx-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.sim-tx-details p {
    font-size: 12px;
    font-weight: 600;
}

.sim-tx-details span {
    font-size: 9px;
    color: var(--text-secondary);
}

.sim-tx-amount {
    font-size: 12px;
    font-weight: 700;
}

.sim-tx-amount.neg { color: var(--expense); }
.sim-tx-amount.pos { color: var(--income); }

/* Decorative phone background glow decoration */
.phone-glow-ring {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(20px);
    z-index: -1;
}

/* Features Grid Section */
.features-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-card {
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.15);
}

.bento-card.large {
    grid-column: span 2;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.bento-card.large .card-icon {
    background: var(--primary-gradient);
    color: white;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Card graphical displays */
.card-graphic {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Live Budget Simulator widget inside a feature card */
.widget-budget-visual {
    width: 100%;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--surface-border);
}

.widget-budget-item {
    margin-bottom: 12px;
}

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

.widget-budget-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.widget-budget-bar-bg {
    height: 8px;
    background: var(--input-bg);
    border-radius: 4px;
    overflow: hidden;
}

.widget-budget-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* Interactive Tools Area */
.interactive-section {
    padding: 80px 0;
    position: relative;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Splitter Calculator */
.calc-container {
    padding: 32px;
    border-radius: 24px;
}

.calc-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.calc-icon {
    color: var(--secondary);
}

.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 16px;
    color: var(--text-secondary);
    font-weight: 600;
}

.calc-input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--surface-border);
    color: var(--text-primary);
    padding: 12px 16px 12px 32px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: border-color 0.3s;
}

.calc-input:focus {
    border-color: var(--primary);
}

/* Styled HTML Range Sliders */
.slider-group {
    margin-bottom: 24px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.slider-val {
    color: var(--primary);
}

.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--input-bg);
    outline: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-gradient);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
    transition: transform 0.1s;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results {
    background: var(--input-bg);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--surface-border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.result-box {
    text-align: center;
}

.result-box:first-child {
    border-right: 1px solid var(--surface-border);
}

.result-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.result-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
}

/* FAQ Accordion Section */
.faq-section {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 24px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Legal/Text Pages (Privacy & Terms) */
.legal-container {
    padding: 140px 0 100px;
}

.legal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 120px;
}

.legal-nav-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.legal-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
    padding: 4px 0;
    border-left: 2px solid transparent;
    padding-left: 12px;
}

.legal-nav-link:hover, .legal-nav-link.active {
    color: var(--text-primary);
    border-left-color: var(--primary);
}

.legal-content {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 48px;
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.legal-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: 16px;
}

.legal-text h2 {
    font-size: 1.6rem;
    margin: 32px 0 16px;
    scroll-margin-top: 100px; /* offset for sticky navbar */
}

.legal-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-text ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-text li {
    list-style-type: disc;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* Footer Section */
footer {
    border-top: 1px solid var(--surface-border);
    padding: 80px 0 40px;
    background-color: rgba(11, 15, 25, 0.4);
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--input-bg);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid var(--surface-border);
}

.social-icon:hover {
    color: white;
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-link:hover {
    color: var(--primary);
}

.footer-newsletter p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    background: var(--input-bg);
    border: 1px solid var(--surface-border);
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.newsletter-input:focus {
    border-color: var(--primary);
}

.newsletter-btn {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.newsletter-btn:hover {
    opacity: 0.9;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--surface-border);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

/* Responsiveness Rules */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-card.large {
        grid-column: span 2;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    header {
        height: 70px;
    }
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding-top: 48px;
        transition: 0.3s;
        z-index: 999;
        border-top: 1px solid var(--surface-border);
    }
    .nav-menu.open {
        left: 0;
    }
    .nav-actions {
        display: none; /* simple design choice for small screens */
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 32px;
    }
    .download-badges {
        justify-content: center;
    }
    .social-proof {
        flex-direction: column;
        gap: 16px;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card.large {
        grid-column: span 1;
    }
    .tools-grid {
        grid-template-columns: 1fr;
    }
    .legal-grid {
        grid-template-columns: 1fr;
    }
    .legal-sidebar {
        display: none;
    }
    .legal-content {
        padding: 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
