/* ============================================
   Abundera Rentals — Landing Page
   ============================================ */

/* --- Fonts --- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #08090a;
    --surface-1: #0f1012;
    --surface-2: #161719;
    --surface-3: #1e1f22;
    --text: #f5f5f5;
    --text-secondary: #d4d4d4;
    --text-muted: #888;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --blue: #60a5fa;
    --purple: #a78bfa;
    --green: #34d399;
    --pink: #fb7185;
    --radius: 12px;
    --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- Background Orbs --- */
.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.12; }
.orb-1 { width: 600px; height: 600px; background: var(--purple); top: -200px; right: -100px; animation: float1 25s ease-in-out infinite; }
.orb-2 { width: 500px; height: 500px; background: var(--blue); bottom: -150px; left: -100px; animation: float2 30s ease-in-out infinite; }
.orb-3 { width: 400px; height: 400px; background: var(--green); top: 50%; left: 50%; transform: translate(-50%, -50%); animation: float3 20s ease-in-out infinite; }
@keyframes float1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-80px, 60px); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(60px, -80px); } }
@keyframes float3 { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-40%, -60%); } }

/* --- Layout --- */
main, .site-header, .site-footer { position: relative; z-index: 1; }
main { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* --- Header --- */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 960px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-size: 1.1rem; font-weight: 500; }
.logo strong { font-weight: 700; }
.header-nav { display: flex; align-items: center; gap: 8px; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; padding: 6px 12px; border-radius: 8px; transition: color 0.2s, background 0.2s; }
.nav-link:hover { color: var(--text); background: var(--surface-2); }

/* --- Hero --- */
.hero { text-align: center; padding: 80px 0 60px; }
.hero-badge { display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 0.8125rem; font-weight: 500; color: var(--purple); background: rgba(167, 139, 250, 0.1); border: 1px solid rgba(167, 139, 250, 0.2); margin-bottom: 24px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; background: linear-gradient(135deg, var(--text), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { color: var(--text-muted); font-size: 1.125rem; margin-top: 16px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius); font-size: 0.9375rem; font-weight: 500; font-family: inherit; cursor: pointer; transition: all 0.2s; border: none; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: #b99dfc; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-outline:hover { color: var(--text); border-color: var(--border-hover); background: var(--surface-1); }

/* --- Problem --- */
.problem { padding: 40px 0; text-align: center; }
.problem h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 32px; letter-spacing: -0.02em; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.problem-card { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-1); text-align: center; }
.problem-number { width: 32px; height: 32px; border-radius: 50%; background: rgba(239, 68, 68, 0.1); color: #ef4444; font-weight: 700; font-size: 0.8125rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.problem-card p { color: var(--text-muted); font-size: 0.875rem; }
.problem-footer { color: var(--text-secondary); font-size: 0.9375rem; font-weight: 500; }

/* --- How It Works --- */
.how-it-works { padding: 60px 0; text-align: center; }
.how-it-works h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 32px; letter-spacing: -0.02em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-1); text-align: left; transition: border-color 0.2s; }
.step:hover { border-color: var(--border-hover); }
.step-number { width: 36px; height: 36px; border-radius: 50%; background: rgba(167, 139, 250, 0.1); color: var(--purple); font-weight: 700; font-size: 0.875rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.8125rem; line-height: 1.6; }

/* --- Features --- */
.features { padding: 60px 0; }
.features h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 32px; letter-spacing: -0.02em; text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-1); transition: border-color 0.2s; }
.feature-card:hover { border-color: var(--border-hover); }
.feature-icon { margin-bottom: 14px; }
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.8125rem; line-height: 1.6; }

/* --- Audience --- */
.audience { padding: 40px 0; }
.audience h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 32px; letter-spacing: -0.02em; text-align: center; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-1); }
.audience-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--purple); }
.audience-card p { color: var(--text-muted); font-size: 0.8125rem; line-height: 1.6; }

/* --- Waitlist --- */
.waitlist { padding: 60px 0 80px; }
.waitlist-card { padding: 40px; border: 1px solid rgba(167, 139, 250, 0.15); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(167, 139, 250, 0.05), rgba(96, 165, 250, 0.05)); text-align: center; }
.waitlist-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.waitlist-card > p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 24px; }
.waitlist-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.waitlist-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-1); color: var(--text); font-size: 0.9375rem; font-family: inherit; outline: none; transition: border-color 0.2s; }
.waitlist-form input:focus { border-color: var(--purple); }
.waitlist-form input::placeholder { color: var(--text-muted); }
.waitlist-note { margin-top: 12px; font-size: 0.8125rem; color: var(--text-muted); min-height: 20px; }
.waitlist-note.success { color: var(--green); }
.waitlist-note.error { color: #ef4444; }

/* --- Footer --- */
.site-footer { border-top: 1px solid var(--border); padding: 24px; }
.footer-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.8125rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 0.75rem; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .audience-grid { grid-template-columns: 1fr; }
    .hero { padding: 60px 0 40px; }
    .waitlist-form { flex-direction: column; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
    main { padding: 0 16px; }
    .site-header { padding: 12px 16px; }
    .hero h1 { font-size: 1.75rem; }
    .problem-grid { grid-template-columns: 1fr; }
}
