:root {
    --bg-color: #fafafa;
    --card-bg: rgba(0, 0, 0, 0.04);
    --accent-primary: #007aff;
    --accent-secondary: #5856d6;
    --text-main: #1d1d1f;
    --text-dim: #333336;
    --glass-border: rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

* {
    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-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a.active {
    color: var(--accent-primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Common Section Styles */
.screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.order .section-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 800;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Hero Section */
.hero {
    padding-top: 150px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.gradient-text {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Skill: Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-content {
    text-align: center;
    width: 200px;
}

.loader-brand {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

#loader-bar {
    width: 0%;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

#loader-percent {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Skill: Fixed Canvas */
.canvas-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    clip-path: circle(0% at 50% 50%); /* Start hidden */
}

#hero-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Skill: Dark Overlay */
#dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Skill: Scroll Container */
#scroll-container {
    position: relative;
    width: 100%;
    min-height: 800vh;
    z-index: 10;
}

.scroll-section {
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5vw;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.scroll-section.active {
    opacity: 1;
    pointer-events: all;
}

/* Hero Standalone */
.hero-standalone {
    position: fixed;
    top: 0;
    z-index: 10;
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    padding-top: 50px; /* Lower the content */
}


.hero-tagline {
    color: var(--text-dim);
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(255,255,255,0.4);
}

.hero-description {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 30px;
    opacity: 0.8;
}
.features {
    background: radial-gradient(circle at bottom right, rgba(88, 86, 214, 0.05), transparent 40%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 in a row for desktop */
    gap: 20px;
}

.feature-card {
    padding: 20px; /* Reduced for smaller size */
    text-align: center;
    border-radius: 12px;
    transition: transform 0.3s, background 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 0, 0, 0.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-card .icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.feature-card p {
    color: var(--text-dim);
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5); /* subtle glow to lift from video */
}

/* Specs Section */
.specs-wrapper {
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--accent-primary);
    width: 40%;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

/* Order Section */
.order {
    background: radial-gradient(circle at top left, rgba(0, 122, 255, 0.05), transparent 40%);
}

.order-box {
    padding: 15px;
    max-width: 280px; /* Even smaller for desktop/browser */
    margin: 0 auto;
    text-align: center;
}

.promo-text {
    margin-bottom: 5px;
    font-size: 0.85rem;
    line-height: 1.2;
}

.promo-text span {
    color: #ff3b30;
    font-weight: 700;
}

.price-tag {
    margin-bottom: 10px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-right: 5px;
}

.new-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-form input {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-main);
    font-size: 1rem;
}

.order-form input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.btn {
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn.primary {
    background: var(--gradient);
    color: white;
}

.btn.primary:hover {
    box-shadow: 0 0 20px rgba(0, 122, 255, 0.5);
    transform: scale(1.05);
}

.btn.secondary {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn.secondary:hover {
    background: var(--glass-border);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.order-container {
    display: flex;
    justify-content: flex-end; /* Right align for desktop */
    width: 100%;
}

footer {
    padding: 40px;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
    background: #f0f0f2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .glass-nav {
        padding: 15px 20px;
    }
    .nav-links {
        display: none;
    }
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .gradient-text {
        font-size: 2.5rem;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-image {
        order: -1;
    }
    .order-box {
        padding: 30px;
        max-width: 450px; /* Increased size for mobile for easier interaction */
        width: 90%;
    }
    .order-container {
        justify-content: center; /* Center align for mobile */
    }
    .order .section-title {
        font-size: 1.5rem; /* Larger title for mobile */
    }
    .new-price {
        font-size: 2.2rem; /* Larger price for mobile visibility */
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 in a row for mobile */
        gap: 15px;
    }
    .feature-card {
        padding: 15px;
    }
}
