:root {
    --bg-color: #07090E;
    --primary-color: #00F2FE;
    --primary-glow: rgba(0, 242, 254, 0.3);
    --secondary-color: #7F00FF;
    --secondary-glow: rgba(127, 0, 255, 0.3);
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.12);
    
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.45);
}

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

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

/* Background Glow Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.glow-orb.primary {
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--primary-glow);
}

.glow-orb.secondary {
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--secondary-glow);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

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

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

.nav-cta {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    color: var(--text-primary) !important;
}

.nav-cta:hover {
    background: var(--glass-highlight);
    border-color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 6rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.title {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
}

.interactive-prompt {
    margin-top: 2rem;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    font-style: italic;
    animation: bounce 2s infinite;
}

/* App Store Button */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1.5rem;
    background: #000;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.store-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px var(--primary-glow);
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-text .small {
    font-size: 0.65rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 2px;
}

.store-text .big {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

/* Phone Mockup */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #1a1a1a;
    position: relative;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(0, 242, 254, 0.1);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.phone-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a1a1a;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.app-header {
    padding: 3rem 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.app-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.app-controls {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    width: 100%;
}

.control-card {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.c-icon {
    font-size: 1.5rem;
}

.app-tabbar {
    height: 70px;
    background: rgba(7, 9, 14, 0.9);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 10px;
}

.tab {
    font-size: 1.25rem;
    opacity: 0.5;
}

.tab.active {
    opacity: 1;
    filter: drop-shadow(0 0 8px var(--primary-color));
}

/* Interactive App Eject Button (Inside Phone) */
.action-area {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eject-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-eject {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #00A3FF);
    border: none;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0 20px var(--primary-glow), 0 4px 10px rgba(0,0,0,0.4);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-eject:hover {
    transform: scale(1.05);
}

.btn-eject:active {
    transform: scale(0.95);
}

.btn-text {
    color: #000;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    max-width: 80px;
}

.ripple-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    pointer-events: none;
}

.is-ejecting .ripple-ring {
    animation: ripple 2s cubic-bezier(0.0, 0.2, 0.8, 1) infinite;
}
.is-ejecting .ring-2 { animation-delay: 0.6s; }
.is-ejecting .ring-3 { animation-delay: 1.2s; }

.is-ejecting .btn-eject {
    animation: shake 0.5s linear infinite;
    background: linear-gradient(135deg, #FF1744, #FF5252);
    box-shadow: 0 0 30px rgba(255, 23, 68, 0.4);
}

.status-text {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    height: 20px;
    text-align: center;
    transition: color 0.3s ease;
}

/* Floating Badges next to Phone */
.floating-badge {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 20;
    animation: float 4s ease-in-out infinite;
}

.feature-1 {
    top: 20%;
    right: -20px;
    border-left: 3px solid var(--primary-color);
}

.feature-2 {
    bottom: 25%;
    left: -40px;
    border-left: 3px solid var(--secondary-color);
    animation-delay: 2s;
}


/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 5%;
}

.feature-card {
    padding: 2rem;
    border-radius: 24px;
    transition: transform 0.3s ease, background 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--glass-highlight);
    border-color: rgba(255,255,255,0.15);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0,242,254,0.1), rgba(127,0,255,0.1));
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
}

.icon {
    font-size: 1.5rem;
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    padding: 3rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

/* Simple Pages (Privacy, Terms) */
.page-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 5%;
}

.page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.page-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.page-content h2 {
    margin: 2rem 0 1rem;
    font-family: 'Outfit', sans-serif;
}

.page-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Animations */
@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes shake {
    0% { transform: translate(0, 0); }
    25% { transform: translate(2px, -2px); }
    50% { transform: translate(-2px, 2px); }
    75% { transform: translate(2px, 2px); }
    100% { transform: translate(0, 0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
    }
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .floating-badge { display: none; }
    .interactive-prompt { animation: bounce-down 2s infinite; }
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@media (max-width: 768px) {
    .title { font-size: 2.5rem; }
    .hero { padding: 2rem 5%; }
    .footer { flex-direction: column; text-align: center; }
    .footer-links a { margin: 0 0.75rem; }
    .nav-links { display: none; }
}
