:root {
    /* Light Theme (Apple-esque) */
    --bg-base: #ffffff;
    --bg-alt: #f5f5f7;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --border-color: rgba(0, 0, 0, 0.1);
    --card-bg: rgba(255, 255, 255, 0.8);
    --nav-bg: rgba(255, 255, 255, 0.78);
    --accent: #0066cc;
    --accent-hover: #0071e3;
    --error: #e30000;
    --success: #00a63e;
    --grid-color: rgba(0, 0, 0, 0.03);
    --spotlight: radial-gradient(circle at 50% -20%, rgba(0, 102, 204, 0.05), transparent 60%);
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] {
    /* Dark Theme (SaaS/Nothing-esque) */
    --bg-base: #000000;
    --bg-alt: #0a0a0a;
    --text-main: #f5f5f7;
    --text-muted: #a1a1a6;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(20, 20, 22, 0.6);
    --nav-bg: rgba(0, 0, 0, 0.72);
    --accent: #2997ff;
    --accent-hover: #4fb0ff;
    --error: #ff3b30;
    --success: #32d74b;
    --grid-color: rgba(255, 255, 255, 0.03);
    --spotlight: radial-gradient(circle at 50% -20%, rgba(41, 151, 255, 0.15), transparent 60%);
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.7);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .badge, .logo-text, .stat-value {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Effects */
.bg-grid {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    z-index: -2;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    pointer-events: none;
}

.spotlight {
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--spotlight);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.text-gradient {
    background: linear-gradient(180deg, var(--text-main) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .text-gradient {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons & Badges */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-base);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--card-bg);
    border-color: var(--text-muted);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.25rem 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.logo {
    display: inline-flex;
    align-items: center;
    color: var(--text-main);
    text-decoration: none;
}

.logo-image {
    display: block;
    width: auto;
    max-width: 160px;
    height: 34px;
    object-fit: contain;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.theme-toggle:hover {
    color: var(--text-main);
}

.nav-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    letter-spacing: 0.01em;
}

.nav-login-btn:hover {
    background: var(--text-main);
    color: var(--bg-base);
    border-color: var(--text-main);
    transform: scale(1.03);
}

[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

@media (max-width: 768px) {
    .nav-links { display: none; }
}

/* Layout Utilities */
.section {
    padding: 8rem 0;
    position: relative;
}

.alt-bg {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 4rem;
}

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

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    min-height: clamp(560px, 70vh, 680px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 104px 0 3.5rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 0 auto 2.25rem;
    max-width: 600px;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.trust-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem 1.5rem;
    margin-top: 1.25rem;
    list-style: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-points li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-points li::before {
    content: '';
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 16px rgba(50, 215, 75, 0.45);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.bento-card.dark {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.icon-circle.accent { color: var(--accent); background: rgba(41, 151, 255, 0.1); border-color: transparent; }
.icon-circle.error { color: var(--error); background: rgba(255, 59, 48, 0.1); border-color: transparent; }
.icon-circle.neutral { color: var(--text-muted); }

/* Premium List */
.premium-list {
    list-style: none;
}

.premium-list li {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.premium-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.premium-list strong {
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.premium-list span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.premium-list.cross li {
    flex-direction: row;
    align-items: center;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.premium-list.cross li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--error);
    margin-right: 1rem;
}

.disclaimer {
    margin-top: 2rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card.large {
        grid-row: auto;
    }
}

/* Warranty Section */
.warranty-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.warranty-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.stat-value {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(180deg, var(--text-main) 0%, rgba(161, 161, 166, 0.2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-note {
    color: var(--text-muted);
    max-width: 260px;
}

.warranty-details {
    flex: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.detail-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--text-main);
}

.detail-col ul {
    list-style: none;
}

.detail-col ul li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.detail-col ul li::before {
    content: '→';
    color: var(--text-main);
}

.opacity-low { opacity: 0.7; }

@media (max-width: 900px) {
    .warranty-wrapper { flex-direction: column; }
    .warranty-details { grid-template-columns: 1fr; }
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 24px;
    height: 100%;
    width: 1px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 3rem;
}

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

.timeline-marker {
    position: absolute;
    top: 0; left: 0;
    width: 48px; height: 48px;
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-family: 'Outfit';
    z-index: 2;
}

.border-accent {
    border-color: var(--accent);
    background: linear-gradient(145deg, var(--card-bg), rgba(41, 151, 255, 0.05));
}

.pack-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pack-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pack-icon {
    color: var(--accent);
    display: flex;
    flex: 0 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.muted-copy,
.compact-list li,
.process-step p {
    color: var(--text-muted);
}

.muted-copy a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.muted-copy a:hover {
    color: var(--accent-hover);
}

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

.compact-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.compact-list li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex: 0 0 auto;
    margin-top: 0.5rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
}

.process-step {
    background: var(--bg-base);
    padding: 2rem;
    min-height: 250px;
}

.process-step span {
    display: block;
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 4rem;
}

.process-step h3 {
    margin-bottom: 1rem;
}

@media (max-width: 900px) {
    .info-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        min-height: auto;
    }

    .process-step span {
        margin-bottom: 2rem;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: auto;
        padding: 7rem 0 3.5rem;
    }

    .cta-group {
        flex-direction: column;
        padding: 0 2rem;
    }

    .trust-points {
        align-items: center;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.1rem;
    }

    .section {
        padding: 5rem 0;
    }

    .timeline-item {
        padding-left: 4rem;
    }
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-alt);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.footer-contact span {
    color: var(--text-main);
    font-weight: 600;
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--text-main);
}

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

@media (max-width: 600px) {
    .footer-top { flex-direction: column; gap: 2rem; text-align: center; }
    .footer-contact { text-align: center; }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* JS Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
