/* DROIDHOUSE - Next-Level Promo Webpage Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
    --bg-dark: #06080d;
    --bg-card: rgba(13, 17, 26, 0.72);
    --bg-card-hover: rgba(20, 27, 42, 0.85);
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-glass-bright: rgba(56, 189, 248, 0.5);
    
    --accent-blue: #38bdf8;
    --accent-cyan: #06b6d4;
    --accent-indigo: #6366f1;
    --accent-green: #10b981;
    --siren-pale-blue: #7dd3fc;
    --siren-electric-blue: #0284c7;
    --siren-white: #ffffff;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   SPLASH SCREEN ANIMATION
   ========================================== */
.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: #05070a;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s var(--ease-apple), visibility 0.8s ease;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    max-width: 90vw;
}

.splash-img {
    width: clamp(180px, 22vw, 260px);
    height: auto;
    filter: drop-shadow(0 0 55px rgba(56, 189, 248, 0.85));
    transform: scale(0.7) translateX(-20px);
    opacity: 0;
    animation: splashImageEnter 1.1s var(--ease-apple) 0.1s forwards;
}

@keyframes splashImageEnter {
    0% { transform: scale(0.7) translateX(-30px); opacity: 0; filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.2)); }
    100% { transform: scale(1) translateX(0); opacity: 1; filter: drop-shadow(0 0 60px rgba(56, 189, 248, 0.9)); }
}

.splash-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-40px);
    animation: splashTextSlideRight 1.2s var(--ease-apple) 1.5s forwards;
}

@keyframes splashTextSlideRight {
    0% { opacity: 0; transform: translateX(-40px); }
    100% { opacity: 1; transform: translateX(0); }
}

.splash-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5.5vw, 4.6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 0 50px rgba(56, 189, 248, 0.7);
}

.splash-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    font-weight: 600;
    color: var(--accent-blue);
    margin-top: 8px;
    letter-spacing: -0.01em;
}

/* ==========================================
   VIBRANT PALE BLUE & WHITE SIREN LIGHTS FX
   ========================================== */
.siren-canvas-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: radial-gradient(circle at 50% 10%, #0a1120 0%, var(--bg-dark) 80%);
}

.siren-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: screen;
}

/* Orb 1: Pale Blue Siren Strobe Top Left */
.siren-orb-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.65) 0%, rgba(2, 132, 199, 0.25) 55%, transparent 75%);
    animation: sirenBlueStrobe 4s ease-in-out infinite alternate;
}

/* Orb 2: Bright White Siren Strobe Top Right */
.siren-orb-2 {
    top: 5%;
    right: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(224, 242, 254, 0.3) 50%, transparent 75%);
    animation: sirenWhiteStrobe 4s ease-in-out infinite alternate 2s;
}

/* Orb 3: Pale Cyan/Blue Center Glow */
.siren-orb-3 {
    top: 40%;
    left: 25%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.5) 0%, rgba(56, 189, 248, 0.2) 60%, transparent 80%);
    animation: sirenBlueStrobe 6s ease-in-out infinite alternate 1s;
}

/* Orb 4: Pure White Siren Pulse Bottom */
.siren-orb-4 {
    bottom: -10%;
    right: 15%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(56, 189, 248, 0.25) 60%, transparent 80%);
    animation: sirenWhiteStrobe 5s ease-in-out infinite alternate 0.5s;
}

@keyframes sirenBlueStrobe {
    0% { opacity: 0.35; transform: scale(0.9) translate(0, 0); }
    50% { opacity: 0.85; transform: scale(1.15) translate(4%, 6%); }
    100% { opacity: 0.45; transform: scale(0.95) translate(-3%, 4%); }
}

@keyframes sirenWhiteStrobe {
    0% { opacity: 0.85; transform: scale(1.15) translate(-4%, -4%); }
    50% { opacity: 0.3; transform: scale(0.85) translate(3%, -6%); }
    100% { opacity: 0.75; transform: scale(1.1) translate(5%, 3%); }
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 50%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 85%);
}

/* ==========================================
   LIQUID GLASSMORPHISM NAVIGATION BAR
   ========================================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 1100px);
    z-index: 1000;
    padding: 12px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.14) 0%,
        rgba(15, 23, 42, 0.68) 40%,
        rgba(6, 9, 15, 0.82) 100%
    );
    backdrop-filter: blur(36px) saturate(220%) contrast(110%);
    -webkit-backdrop-filter: blur(36px) saturate(220%) contrast(110%);
    border-radius: 999px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.65), 
        0 0 35px rgba(56, 189, 248, 0.25),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.45),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    transition: all 0.45s var(--ease-apple);
    overflow: hidden;
}

/* Liquid Refractive Sheen Overlay */
.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    padding: 1.5px;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(56, 189, 248, 0.45) 35%, 
        rgba(255, 255, 255, 0.12) 70%, 
        rgba(6, 182, 212, 0.35) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Liquid Light Refractive Flare */
.navbar::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        60deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.18) 50%, 
        transparent 100%
    );
    transform: rotate(25deg);
    pointer-events: none;
    animation: liquidGlare 7s ease-in-out infinite alternate;
}

@keyframes liquidGlare {
    0% { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(250%) rotate(25deg); }
}

.navbar.scrolled {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(10, 15, 26, 0.88) 40%,
        rgba(4, 7, 12, 0.96) 100%
    );
    box-shadow: 
        0 28px 70px rgba(0, 0, 0, 0.8), 
        0 0 45px rgba(56, 189, 248, 0.4),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.65);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-blue);
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    color: #040914;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
    transition: all 0.3s var(--ease-apple);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.8);
}

/* ==========================================
   HERO SECTION (Apple iMac Scroll Zoom)
   ========================================== */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 900px;
    margin-bottom: 22px;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 35%, var(--accent-blue) 75%, var(--siren-pale-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: 38px;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 14px;
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: #030712;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.35s var(--ease-apple);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(56, 189, 248, 0.7), 0 0 30px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    backdrop-filter: blur(16px);
    transition: all 0.35s var(--ease-apple);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Apple iMac Scroll-Driven Zoom Container */
.hero-stage {
    width: min(92%, 1150px);
    margin: 0 auto;
    position: relative;
}

.imac-mockup-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.85), 0 0 80px rgba(56, 189, 248, 0.35);
    transform: scale(0.88);
    transition: transform 0.1s ease-out, box-shadow 0.4s ease;
    will-change: transform;
}

.imac-screen-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(10, 14, 23, 0.9);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mac-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.mac-dot-red { background-color: #ff5f56; }
.mac-dot-yellow { background-color: #ffbd2e; }
.mac-dot-green { background-color: #27c93f; }

.mac-screen-title {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.imac-screen-img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    transition: transform 0.6s var(--ease-apple);
}

/* ==========================================
   FEATURE HIGHLIGHTS SHOWCASE & TABS
   ========================================== */
.section-padding {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-family: var(--font-heading);
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.showcase-container {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.showcase-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.showcase-tab {
    padding: 18px 20px;
    border-radius: 16px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s var(--ease-apple);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.showcase-tab:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.showcase-tab.active {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.4);
    color: var(--text-primary);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}

.tab-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-title svg {
    color: var(--accent-blue);
}

.tab-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.showcase-tab.active .tab-desc {
    color: var(--text-secondary);
}

.showcase-view {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(6, 9, 15, 0.85);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: opacity 0.4s ease, transform 0.6s var(--ease-apple);
    opacity: 0;
    position: absolute;
    inset: 0;
    padding: 16px;
    transform: scale(0.94);
}

.showcase-img.active {
    opacity: 1;
    position: relative;
    transform: scale(1);
}

/* ==========================================
   FEATURE CARDS GRID (Scroll Zoom-In)
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    transition: all 0.4s var(--ease-apple);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: var(--border-glass-bright);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.2);
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    margin-bottom: 22px;
}

.feature-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-card-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: rgba(4, 7, 13, 0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.feature-card-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s var(--ease-apple);
}

.feature-card:hover .feature-card-img {
    transform: scale(1.05);
}

/* ==========================================
   COMPARISON TABLE / FREEDOM MATRIX
   ========================================== */
.comparison-section {
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.5) 50%, transparent 100%);
}

.comparison-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(24px);
    overflow-x: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.comparison-table th.highlight-col {
    color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.08);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.comparison-table td.highlight-col {
    background: rgba(56, 189, 248, 0.05);
    font-weight: 600;
}

.check-icon {
    color: var(--accent-green);
    font-weight: bold;
}
.cross-icon {
    color: #ef4444;
}

/* ==========================================
   DOWNLOAD CTA SECTION
   ========================================== */
.cta-box {
    position: relative;
    background: linear-gradient(135deg, rgba(14, 23, 42, 0.92) 0%, rgba(15, 28, 54, 0.96) 100%);
    border: 1px solid var(--border-glass-bright);
    border-radius: 32px;
    padding: 70px 40px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), 0 0 60px rgba(56, 189, 248, 0.3);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.cta-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px auto;
    position: relative;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 50px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* ==========================================
   APPLE.COM/IMAC SCROLL REVEAL & ZOOM-IN
   ========================================== */
.reveal {
    opacity: 0;
    transform: scale(0.92) translateY(30px);
    transition: opacity 0.9s var(--ease-apple), transform 0.9s var(--ease-apple);
}

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

/* Responsive adjustments */
@media (max-width: 900px) {
    .showcase-container {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding-top: 130px;
    }

    .splash-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .splash-text {
        align-items: center;
    }
}
