/* 
   NIVA PREMIUM LIGHT THEME
*/

:root {
    /* Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F4F7F9;
    --text-main: #1A1D23;
    --text-muted: #6B7280;
    
    /* Brand Gradients & Accents */
    --brand-pink: #FF3366;
    --brand-purple: #8C33FF;
    --brand-gradient: linear-gradient(135deg, var(--brand-pink), var(--brand-purple));
    
    /* UI Elements */
    --border-color: #E5E7EB;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.08);
    --shadow-colored: 0 15px 30px rgba(255, 51, 102, 0.2);
}

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

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

/* ================== UTILITIES ================== */
.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ================== BUTTONS ================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 51, 102, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-sm { padding: 10px 24px; font-size: 0.95rem; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }

/* ================== NAVBAR ================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

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

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

.nav-link:hover {
    color: var(--brand-pink);
}

/* ================== HERO SECTION ================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for navbar */
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(255,51,102,0.05), transparent 40%),
                radial-gradient(circle at bottom left, rgba(140,51,255,0.05), transparent 40%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

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

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-secondary);
    color: var(--brand-purple);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(140, 51, 255, 0.1);
}

.title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    color: #1A1D23;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
}

.action-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: var(--border-color);
}

/* ================== HERO IMAGE/VISUAL ================== */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.app-showcase {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 450px;
}

.app-image {
    max-width: 250px;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    border: 6px solid #FFFFFF;
    background: #FFF;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
}

.img-center {
    position: relative;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    width: 100%;
    max-width: 280px;
}

.img-left {
    position: absolute;
    left: 10%;
    z-index: 2;
    transform: translateX(-60%) scale(0.8) rotate(-8deg);
    opacity: 0.8;
    animation: float 6s ease-in-out infinite 1s;
}

.img-right {
    position: absolute;
    right: 10%;
    z-index: 1;
    transform: translateX(60%) scale(0.8) rotate(8deg);
    opacity: 0.8;
    animation: float 6s ease-in-out infinite 2s;
}

.img-left:hover, .img-right:hover {
    transform: translateX(0) scale(1) rotate(0);
    z-index: 4;
    opacity: 1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

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

.visual-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, rgba(255,51,102,0.15), rgba(140,51,255,0.15));
    filter: blur(60px);
    border-radius: 50%;
    z-index: 1;
}

/* Floating Decorative Cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 12px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.8);
    z-index: 5;
    white-space: nowrap;
}

.card-1 {
    top: 25%;
    left: -100px;
    animation: float 5s ease-in-out infinite reverse;
}

.card-2 {
    bottom: 25%;
    right: -100px;
    animation: float 7s ease-in-out infinite;
}

.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E8F0FE;
    color: #1A73E8;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
}

.icon-circle.gradient-bg {
    background: var(--brand-gradient);
    color: white;
}

.card-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

/* ================== FEATURES SECTION ================== */
.features {
    padding: 120px 20px;
    background: var(--bg-secondary);
    text-align: center;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 70px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-main);
    letter-spacing: -1px;
}

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

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--bg-primary);
    padding: 50px 30px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 51, 102, 0.1);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: rgba(255, 51, 102, 0.05);
    color: var(--brand-pink);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 30px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ================== FOOTER ================== */
.footer {
    background: var(--bg-primary);
    padding: 80px 20px 30px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 10px;
}

.footer-links h4, .footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-links a:hover {
    color: var(--brand-pink);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--brand-gradient);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    max-width: 1200px;
    margin: 0 auto;
}

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

/* ================== RESPONSIVE ================== */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content {
        margin-top: 40px;
    }
    
    .action-buttons, .hero-stats {
        justify-content: center;
    }
    
    .title {
        font-size: 3.5rem;
    }
    
    .nav-links {
        display: none; /* Can add hamburger menu later */
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2.8rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .footer-top {
        flex-direction: column;
    }
}
