/** 
 * Dual Camera Landing Page Styles
 * Premium Glassmorphism & Modern UI 
 */

 :root {
    --bg-dark: #09090b;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    
    /* Vibrant Gradients reminiscent of App Icon */
    --brand-magenta: #ec4899;
    --brand-blue: #3b82f6;
    --brand-purple: #8b5cf6;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   Ambient Background Animations
========================================= */

.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 15% 50%, rgba(20, 20, 30, 1), var(--bg-dark) 40%);
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: float-glow 20s infinite alternate;
}

.glow-1 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.glow-2 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2), transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.glow-3 {
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 70%);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float-glow {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10%, 10%) scale(1.1); }
    66% { transform: translate(-5%, 15%) scale(0.9); }
    100% { transform: translate(-10%, -5%) scale(1.05); }
}

/* =========================================
   Glassmorphism Utilities
========================================= */

.glass-nav, .glass-card, .glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

/* =========================================
   Navigation
========================================= */

.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-top: none;
    border-left: none;
    border-right: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo, .footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.nav-title {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

/* =========================================
   Buttons
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    border: none;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-small:hover {
    background: white;
    color: black;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-magenta));
    color: white;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.6);
}

.btn-secondary {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* =========================================
   Hero Section
========================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-headline {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 16px;
}

/* =========================================
   Hero Visual (Mockup)
========================================= */

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-delay {
    animation: float 5s ease-in-out infinite alternate;
}

.floating-delay-2 {
    animation: float 7s ease-in-out infinite alternate-reverse;
}

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

.phone-mockup {
    width: 300px;
    height: 600px;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255,255,255,0.2);
    transform: rotate3d(0.5, -0.8, 0.2, 15deg);
    position: relative;
    z-index: 10;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background-color: black;
    overflow: hidden;
    position: relative;
}

/* Mockup Content Styling */
.mockup-back-camera {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #1e3a8a, #312e81);
}

.mockup-front-camera {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 80px;
    height: 110px;
    border-radius: 12px;
    background: linear-gradient(135deg, #831843, #be185d);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
}

.mockup-person {
    width: 60%;
    height: 70%;
    background-color: white;
    border-radius: 30px 30px 0 0;
    opacity: 0.9;
}

.mockup-controls {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.mockup-btn {
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}

.mockup-btn.small {
    width: 30px;
    height: 30px;
}

.mockup-btn.capture {
    width: 60px;
    height: 60px;
    border: 3px solid white;
    background: rgba(255,255,255,0.8);
}

/* Decorative Orbs */
.decoration {
    position: absolute;
    border-radius: 50%;
    z-index: 5;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 10%;
    background: linear-gradient(135deg, rgba(236,72,153,0.3), rgba(139,92,246,0.3));
}

.circle-2 {
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 5%;
    background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(16,185,129,0.3));
}

/* =========================================
   Features Section
========================================= */

.features {
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    border-radius: 24px;
    transition: transform 0.3s;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
}

.gradient-icon {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.2));
    color: #f472b6;
    border-color: rgba(236, 72, 153, 0.3);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-weight: 300;
}

/* =========================================
   Footer
========================================= */

.glass-footer {
    padding: 60px 0 40px;
    margin-top: 100px;
    border-bottom: none;
    border-left: none;
    border-right: none;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #52525b;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* =========================================
   Responsive Media Queries
========================================= */

@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-headline {
        font-size: 3.5rem;
    }
    
    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .phone-mockup {
        transform: rotate3d(0, 0, 0, 0deg);
        margin-top: 40px;
    }
}

@media (max-width: 600px) {
    .cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
    }
}
