:root {
    --bg-color: #0b0f19;
    --bg-alt: #111827;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-orange: #ff7e39; /* energy, warmth, daily activity */
    --accent-purple: #bd5eff; /* mystery, alchemy */
    --accent-blue: #38bdf8;   /* intellect, logic, science */
    --accent-1: var(--accent-blue);
    --accent-2: var(--accent-purple);
    --card-bg: rgba(30, 41, 59, 0.4); /* glassmorphism */
    --card-border: rgba(148, 163, 184, 0.12); /* ultra-fine borders */
    --nav-bg: rgba(11, 15, 25, 0.85);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Blobs */
.blob-bg {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, var(--accent-purple), transparent 65%); }
.blob-2 { top: 40%; right: -20%; width: 40vw; height: 40vw; background: radial-gradient(circle, var(--accent-blue), transparent 65%); animation-delay: -5s; }
.blob-3 { bottom: -20%; left: 20%; width: 60vw; height: 60vw; background: radial-gradient(circle, var(--accent-orange), transparent 65%); animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 0;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

/* Buttons */
.btn-outline {
    border: 1px solid var(--card-border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px -5px rgba(129, 140, 248, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px -5px rgba(129, 140, 248, 0.5);
}

.mt-4 { margin-top: 2rem; }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section {
    padding: 6rem 0;
}
.bg-alt {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}
.text-center { text-align: center; }

/* Typography */
.text-gradient {
    background: linear-gradient(to right, var(--accent-orange) 5%, var(--accent-purple) 50%, var(--accent-blue) 95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}
.section-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}
.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Features Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}
.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-1);
    margin-bottom: 1.5rem;
}
.card-icon .material-icons-round {
    font-size: 32px;
}
.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.card-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #06090f;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--card-border);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}
.footer-left h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.footer-left p {
    color: var(--text-secondary);
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-links h4 {
    margin-bottom: 1rem;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--accent-1);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.25rem; }
    .nav-links { display: none; }
    .section { padding: 4rem 0; }
    .footer-content { flex-direction: column; }
}

/* Showcase Sections */
.showcase-container {
    padding: 2rem 0 6rem 0;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.showcase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.showcase-row:nth-child(even) {
    flex-direction: row-reverse;
}

.showcase-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-text-wrapper {
    flex: 1.2;
}

.showcase-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--accent-1);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.showcase-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.showcase-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.showcase-bullets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.showcase-bullet {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.showcase-bullet-icon {
    color: var(--accent-1);
    margin-top: 0.2rem;
}

.showcase-bullet-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.showcase-bullet-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Device Mockup Wrapper */
.device-mockup {
    position: relative;
    width: 280px;
    height: 570px;
    border-radius: 40px;
    background: #000;
    border: 12px solid rgba(30, 41, 59, 0.85); /* bezel border */
    box-shadow: 
        0 0 0 2px rgba(148, 163, 184, 0.1), /* outer fine silver rim */
        0 25px 50px -12px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.device-mockup:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 
        0 0 0 2px rgba(148, 163, 184, 0.2),
        0 35px 60px -15px rgba(0, 0, 0, 0.85);
}

/* Speaker & Dynamic Island */
.device-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 25px;
    background: #000;
    border-radius: 15px;
    z-index: 10;
}

.device-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #000;
}

.device-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .showcase-row, .showcase-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .showcase-bullets {
        text-align: left;
    }
}

/* Device Mockup Slideshow Styles */
.device-screen-slideshow {
    position: relative;
}

.device-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.device-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.device-slide.active {
    opacity: 1;
    position: relative;
    z-index: 2;
}

.device-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.device-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.device-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.device-dot.active {
    background: var(--accent-1);
    transform: scale(1.25);
}

