:root {
    --bg-color: #000000;
    --bg-secondary: #1d1d1f;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --accent-color: #0071e3;
    /* Apple Blue */
    --accent-hover: #0077ed;
    --grid-gap: 24px;
    --card-radius: 28px;
    --nav-height: 60px;
    --container-width: 980px;
    /* Apple uses tighter containers for text, wider for media */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.4;
    overflow-x: hidden;
    font-size: 17px;
    /* Apple standard body size */
}

h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 56px;
    line-height: 1.07;
    font-weight: 700;
    letter-spacing: -0.005em;
}

h2 {
    font-size: 48px;
    line-height: 1.1;
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    font-size: 19px;
    /* Intro text size */
    line-height: 1.4;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 22px;
}

/* Navbar - Floating Glass */
header {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-radius: 0;
    padding: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    height: 44px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
    height: 100%;
    padding: 0 22px;
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 12px;
    color: #e8e8ed;
    opacity: 0.8;
    transition: opacity 0.3s;
    letter-spacing: -0.01em;
}

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

.btn-primary {
    background: #0071e3;
    color: #fff;
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0077ed;
    transform: scale(1);
    box-shadow: none;
}

.hamburger {
    display: none;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 150px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    margin-bottom: 6px;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 80px;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.hero-content p {
    max-width: 660px;
    margin: 0 auto 32px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.007em;
}

.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.store-badge img {
    height: 56px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.store-badge:hover img {
    opacity: 1;
}

.hero-image {
    width: 100%;
    max-width: 700px;
    margin-top: 40px;
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translateY(50px);
    opacity: 0;
}

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

/* Features - Bento Grid */
#features {
    padding: 120px 0;
    background: rgb(15, 15, 15);
    /* Slightly lighter for contrast section */
}

/* Purpose Section */
#purpose {
    padding: 100px 0 40px;
}

.purpose-content {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.purpose-content p {
    font-size: 18px;
    line-height: 1.6;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    margin-top: 10px;
}

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

.bento-card {
    background: var(--bg-secondary);
    border-radius: var(--card-radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-card:hover {
    transform: scale(1.01);
    background: #252528;
}

/* Bento Spans */
.bento-card.wide {
    grid-column: span 2;
}

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

.bento-card h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.bento-card p {
    font-size: 17px;
    color: var(--text-secondary);
}

.bento-icon {
    font-size: 40px;
    margin-bottom: auto;
    color: var(--accent-color);
}

.bento-card.tesla-card {
    background: linear-gradient(145deg, #1d1d1f 0%, #2a1a1a 100%);
}

.bento-card.tesla-card .bento-icon {
    color: #e82127;
}

/* Stats Section */
#stats {
    padding: 100px 0;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 180px;
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.stat-number {
    font-size: 64px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -2px;
    white-space: nowrap;
}

.stat-unit {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* Testimonials */
#testimonials {
    padding: 100px 0;
}

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

.testimonial-card {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.testimonial-card p {
    font-size: 17px;
    margin-bottom: 24px;
    color: #d1d1d6;
}

.author span {
    font-size: 15px;
    font-weight: 500;
}

/* FAQ */
#faq {
    padding: 100px 0;
    max-width: 700px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #333;
    background: transparent;
    margin: 0;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
}

.accordion-header {
    padding: 24px 0;
    background: transparent;
    color: var(--text-primary);
    font-size: 19px;
    font-weight: 500;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 0;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-bottom: 24px;
    opacity: 1;
    transition: max-height 0.3s ease-in, opacity 0.3s ease-in;
}

.accordion-header i {
    margin-left: auto;
    float: none;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: #000;
    font-size: 14px;
    color: var(--text-secondary);
    border-top: 1px solid #333;
}

.footer-brand h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-content {
    margin-bottom: 60px;
}

.footer-availability {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.legal-details {
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.4;
    opacity: 0.7;
}

.footer-links h4,
.footer-cta h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* Responsive styles moved to responsive.css */