:root {
    --bg-dark: #050507; /* Deepest black/blue */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --accent-primary: #6366f1; /* Indigo */
    --accent-hover: #4f46e5;
    --pill-purple-bg: rgba(139, 92, 246, 0.15);
    --pill-purple-text: #a78bfa;
    --pill-blue-bg: rgba(59, 130, 246, 0.15);
    --pill-blue-text: #60a5fa;
    --max-width: 1140px;
    --font-family: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
}

/* Backgrounds */
.space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top center, #1e1b4b 0%, #050507 60%);
    z-index: -2;
    opacity: 0.6; /* Very subtle */
}

.stars-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 15% 15%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 35% 45%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 65% 25%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 85% 65%, rgba(255,255,255,0.4), transparent);
    background-size: 550px 550px;
    z-index: -1;
    opacity: 0.5; /* Transparent/uncluttered */
}

/* Typography */
h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-login {
    color: var(--text-main);
}

.btn-login:hover {
    opacity: 0.8;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* App Store Button */
.app-store-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 80px;
    transition: transform 0.2s;
    background: transparent;
    border: none;
    padding: 0;
}

.app-store-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-store-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-store-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(5, 5, 7, 0.6); /* Transparent glass */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Hero Section */
.hero {
    padding-top: 100px; /* Reduced since header is gone */
    padding-bottom: 80px;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 60px;
}

.hero-subtext {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-brand {
    font-size: 6rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #d8b4fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
    letter-spacing: -0.02em;
}

/* Sphere Visual */
.hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
}

.sphere-wrapper {
    width: 300px;
    height: 300px;
    position: relative;
    perspective: 1000px;
}

.sphere {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    animation: rotate 20s linear infinite;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.ring-1 { width: 220px; height: 220px; animation: spin 8s linear infinite reverse; }
.ring-2 { width: 180px; height: 180px; animation: spin 12s linear infinite; border-color: rgba(167, 139, 250, 0.3); }
.ring-3 { width: 140px; height: 140px; animation: spin 6s linear infinite reverse; }

.core-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.8), transparent 70%);
    filter: blur(24px);
}

@keyframes rotate { from { transform: translate(-50%, -50%) rotateY(0deg); } to { transform: translate(-50%, -50%) rotateY(360deg); } }
@keyframes spin { from { transform: translate(-50%, -50%) rotateX(60deg) rotate(0deg); } to { transform: translate(-50%, -50%) rotateX(60deg) rotate(360deg); } }


/* Feature Sections (Zig Zag) */
.feature-section {
    padding: 120px 0;
}

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

.reversed .feature-container {
    direction: rtl; /* Flip columns */
}
.reversed .feature-text, .reversed .feature-image {
    direction: ltr; /* Reset content */
}

.pill-label {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.purple-pill { background: var(--pill-purple-bg); color: var(--pill-purple-text); }
.blue-pill { background: var(--pill-blue-bg); color: var(--pill-blue-text); }

.feature-text h2 {
    margin-bottom: 24px;
    line-height: 1.1;
}

.feature-text p {
    font-size: 1.25rem;
}

.phone-mockup-wrapper {
    position: relative;
    border-radius: 40px;
    /* Clean, no heavy shadows as requested "transparent/uncluttered" */
}

.mockup-img {
    width: 100%;
    /* Increase size from 320px to make them bigger */
    max-width: 450px; 
    display: block;
    margin: 0 auto;
    border-radius: 40px;
    /* Optional subtle glow if desired, else plain */
}

.mockup-img:not(.no-shadow) {
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5); /* Deep shadow for depth, not glow */
}
.no-shadow {
    box-shadow: none;
}

/* Grid Features */
.grid-features-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02); /* Very subtle section distinction */
}

.centered-heading {
    text-align: center;
    margin-bottom: 64px;
}

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

.grid-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 24px;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.grid-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.card-image-container {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 24px;
    background: #000;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grid-card:hover .card-image {
    transform: scale(1.05);
}

.grid-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: var(--text-main);
}

/* CTA */
.cta-section {
    padding: 120px 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    margin-bottom: 40px;
    font-size: 1.25rem;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 16px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.5;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: var(--text-main);
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--text-main);
}

/* Animations */
.fade-in { opacity: 0; animation: fadeIn 1s forwards; }
.fade-in-up { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 900px) {
    h1 { font-size: 3rem; }
    .feature-container, .features-grid, .footer-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .reversed .feature-container { direction: ltr; }
    .nav-links { display: none; }
}
