:root {
    --bg-base: #030407;
    --text-primary: #FFFFFF;
    --text-secondary: #9BA1A6;
    --accent-blue: #0A84FF;
    --accent-blue-hover: #409CFF;
    --accent-blue-glow: rgba(10, 132, 255, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Prevent horizontal scroll from orbs */
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', 'Inter', sans-serif;
}

/* Ambient Background Orbs */
.background-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(10, 132, 255, 0.35); /* Primary Blue */
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(157, 78, 221, 0.25); /* Purple */
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: rgba(0, 245, 212, 0.2); /* Teal */
    top: 40%;
    left: 40%;
    animation-delay: -10s;
    animation-duration: 18s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.1); }
    100% { transform: translate(-30px, -50px) scale(0.9); }
}

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

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.2);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #FFF, #A0A5AA);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
    box-shadow: 0 4px 14px var(--accent-blue-glow);
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(64, 156, 255, 0.6);
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

.official-badge-link {
    display: inline-block;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.official-badge-link:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
}

.app-store-badge {
    height: 50px; /* Standard badge height */
    width: auto;
    display: block;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 48px;
    gap: 60px;
}

.hero-content {
    flex: 1.2;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.tag .icon { margin-right: 8px; font-size: 14px; }

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
}

.highlight-gradient {
    background: linear-gradient(90deg, #0A84FF 0%, #32C5FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 520px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 32px;
    align-items: center;
}

/* Phone Mockup Styling */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    perspective: 1000px;
}

.phone-mockup {
    width: 340px;
    height: 680px;
    background: #000;
    /* Realistic border gradient */
    border: 14px solid #000;
    border-radius: 56px;
    position: relative;
    box-shadow: 
        0 40px 80px rgba(0,0,0,0.6), 
        0 0 0 1px rgba(255,255,255,0.2), /* inner rim */
        0 0 0 3px rgba(255,255,255,0.05); /* outer casing */
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(2deg);
    animation: hover-phone 6s infinite ease-in-out alternate;
}

/* Dynamic Island Notch */
.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

/* Glass Reflection overlay */
.phone-reflection {
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(115deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 100%);
    z-index: 5;
    pointer-events: none;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 42px; /* inner radius */
    overflow: hidden;
    background: #111;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes hover-phone {
    0% { transform: rotateY(-5deg) rotateX(2deg) translateY(0px); }
    100% { transform: rotateY(-5deg) rotateX(2deg) translateY(-20px); }
}


/* Stats Section */
.stats-section {
    text-align: center;
    max-width: 800px;
    margin: 100px auto 40px;
    padding: 0 40px;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    padding: 24px 40px;
    border-radius: 100px;
    text-align: left;
}

.stat-badge strong {
    display: block;
    font-size: 24px;
    margin-bottom: 4px;
    font-family: 'Outfit';
}

.stat-badge span {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.info-icon {
    font-size: 32px;
    margin-right: 20px;
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 48px;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-heading p {
    font-size: 18px;
    color: var(--text-secondary);
}

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

.feature-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #FFF;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.bg-gradient-blue { background: linear-gradient(135deg, rgba(10,132,255,0.2) 0%, rgba(10,132,255,0.05) 100%); border: 1px solid rgba(10,132,255,0.2);}
.bg-gradient-purple { background: linear-gradient(135deg, rgba(157,78,221,0.2) 0%, rgba(157,78,221,0.05) 100%); border: 1px solid rgba(157,78,221,0.2);}
.bg-gradient-teal { background: linear-gradient(135deg, rgba(0,245,212,0.2) 0%, rgba(0,245,212,0.05) 100%); border: 1px solid rgba(0,245,212,0.2);}
.bg-gradient-orange { background: linear-gradient(135deg, rgba(255,152,0,0.2) 0%, rgba(255,152,0,0.05) 100%); border: 1px solid rgba(255,152,0,0.2);}
.bg-gradient-dark { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); }


.wide-card {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.wide-card .feature-icon { margin-bottom: 0; flex-shrink: 0; width: 80px; height: 80px; font-size: 36px;}

/* Perfect For Section (Full Width CTA) */
.perfect-for {
    max-width: 1200px;
    margin: 120px auto;
    padding: 0 48px;
}

.full-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    background: radial-gradient(circle at right, rgba(10,132,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
}

.perfect-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.perfect-content ul {
    list-style: none;
}

.perfect-content li {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.cta-actions {
    flex-shrink: 0;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 48px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 16px;
}

.footer-brand .copyright {
    font-size: 12px;
    margin-top: 40px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Responsive Handling */
@media (max-width: 1024px) {
    .hero-title { font-size: 60px; }
    .features-grid { grid-template-columns: 1fr; }
    .wide-card { flex-direction: column; align-items: flex-start; gap: 20px;}
    .full-width { flex-direction: column; align-items: flex-start; gap: 40px; }
}

@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; gap: 40px; margin-top: 40px; }
    .hero-subtitle { margin: 0 auto 30px; }
    .hero-actions { justify-content: center; }
    .phone-mockup { transform: rotateY(0) rotateX(0); animation: hover-phone-mobile 6s infinite ease-in-out alternate; }
    .stat-badge { flex-direction: column; text-align: center; gap: 16px; padding: 24px; }
    .info-icon { margin-right: 0;}
    .footer-content { flex-direction: column; gap: 40px; }
}

@keyframes hover-phone-mobile {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-15px); }
}
