:root {
    --bg-color: #000000;
    --text-color: #f5f5f7;
    --accent-color: #2997ff;
    --gray-text: #86868b;
    --nav-height: 48px;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    perspective: 1000px; /* Enable 3D space */
}

/* Navigation */
.premium-nav {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    height: var(--nav-height);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    max-width: 980px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.8rem;
    margin-left: 20px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.btn-buy {
    background: var(--accent-color);
    padding: 4px 10px;
    border-radius: 980px;
    color: white !important;
    opacity: 1 !important;
}

/* Sections */
section {
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-section {
    min-height: 90vh;
    justify-content: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 70%);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(180deg, #ffb6ff, #b344ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 6rem;
    }
}

.hero-sub {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-top: 10px;
}

.hero-price {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-top: 10px;
}

.hero-links {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.link-primary, .link-secondary {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
}

.link-secondary:hover {
    text-decoration: underline;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Visuals */
.hero-image-real {
    max-width: 800px;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.1));
}

.control-image-real {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

.iphone-mockup {
    display: none; /* Hide old mockup */
}

.screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e50, #000000);
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

.dynamic-island {
    width: 80px;
    height: 25px;
    background: black;
    border-radius: 20px;
    margin: 10px auto;
}

/* Features */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.5rem;
    color: var(--gray-text);
    max-width: 600px;
}

.chip-visual {
    width: 200px;
    height: 200px;
    background: #111;
    border: 1px solid #333;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.chip-icon {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #666);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.camera-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    width: 100%;
    max-width: 980px;
}

.camera-item {
    background: #111;
    padding: 30px;
    border-radius: 20px;
}

.camera-item .icon {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.camera-item h3 {
    font-size: 2rem;
    margin: 10px 0;
}

.camera-item p {
    color: var(--gray-text);
}

/* Footer */
.premium-footer {
    background: #111;
    padding: 40px 0;
    border-top: 1px solid #333;
    color: var(--gray-text);
    font-size: 0.8rem;
    text-align: center;
}

@media (max-width: 768px) {
    .camera-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* Apple Intelligence */
.ai-section {
    position: relative;
    overflow: hidden;
}

.ai-glow {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,100,200,0.2) 0%, rgba(100,100,255,0.2) 50%, transparent 70%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    animation: pulseGlow 5s infinite alternate;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.ai-demo {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.ai-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Camera Control */
.camera-control-section {
    background: #000;
}

.control-visual {
    margin-top: 50px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.side-button-zone {
    width: 300px;
    height: 60px;
    background: #1c1c1e;
    border-radius: 30px;
    position: relative;
    border: 1px solid #333;
}

.side-button {
    width: 80px;
    height: 40px;
    background: #444;
    border-radius: 20px;
    position: absolute;
    top: 10px;
    right: 20px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.finger-gesture {
    font-size: 2rem;
    position: absolute;
    top: 30px;
    right: 30px;
    animation: slideGesture 2s infinite;
}

@keyframes slideGesture {
    0% { transform: translateX(0); }
    50% { transform: translateX(-40px); }
    100% { transform: translateX(0); }
}

/* Display Section */
.display-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.display-info h3 {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #fff 50%, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* New Details */
.color-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
}

.color-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #333;
    cursor: pointer;
    transition: transform 0.3s;
}

.color-circle:hover {
    transform: scale(1.1);
}

.battery-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}

.battery-item h3 {
    font-size: 3rem;
    color: #2ecc71;
    margin: 0;
    background: none;
    background-clip: text;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

.specs-table {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    border-collapse: collapse;
    color: #ccc;
    text-align: left;
}

.specs-table th, .specs-table td {
    padding: 20px;
    border-bottom: 1px solid #333;
}

.specs-table th {
    width: 30%;
    color: #fff;
    font-weight: 600;
}

