/* style.css rewritten for Premium UI/UX */
:root {
    --primary: #16A34A;
    --primary-hover: #15803D;
    --primary-light: #DCFCE7;
    
    --accent: #F97316;
    --accent-light: #FFEDD5;
    
    --text-dark: #0F172A;
    --text-gray: #475569;
    --bg-white: #FFFFFF;
    --bg-gray: #F8FAFC;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --shadow-colored: 0 10px 25px -5px rgba(22, 163, 74, 0.4);
    --shadow-colored-accent: 0 10px 25px -5px rgba(249, 115, 22, 0.4);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', system-ui, sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-white); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

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

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

/* Typography */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.subtitle { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--text-gray); margin-bottom: 2rem; max-width: 800px; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: 12px; font-weight: 600; text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; border: 2px solid transparent;
}
.btn-large { padding: 1rem 2.5rem; font-size: 1.125rem; }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, #10B981 100%); color: white; box-shadow: var(--shadow-colored); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px -5px rgba(22, 163, 74, 0.5); }
.btn-outline { background-color: transparent; border-color: #E2E8F0; color: var(--text-dark); }
.btn-outline:hover { background-color: var(--bg-gray); border-color: #CBD5E1; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-light { background-color: white; color: var(--primary); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); color: var(--primary-hover); }

/* Navbar - Glassmorphism */
.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky; top: 0; z-index: 100;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; text-decoration: none; color: var(--text-dark); display: flex; align-items: center; gap: 0.5rem;}
.logo-accent { color: var(--primary); }

.nav-links { display: flex; gap: 2rem; align-items: center; transition: all 0.3s ease; }
.nav-links a { text-decoration: none; color: var(--text-gray); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--text-dark); padding: 0.5rem; }

/* Hero */
.hero { padding: clamp(2rem, 8vw, 8rem) 0; position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; top: -50%; left: -10%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(22,163,74,0.1) 0%, rgba(255,255,255,0) 70%); z-index: -1;
}
.hero-layout { display: flex; align-items: center; gap: 4rem; }
.hero-content { flex: 1; }

.badge {
    display: inline-block; padding: 0.5rem 1rem; background-color: var(--primary-light); color: var(--primary-hover);
    border-radius: 9999px; font-size: 0.875rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: 0.5px; text-transform: uppercase;
}

.guarantee { display: inline-block; margin-top: 1rem; font-size: 0.9rem; color: var(--text-gray); font-weight: 500; }

.hero-image { flex: 1; display: flex; justify-content: center; position: relative; }
.phone-mockup {
    width: 100%; max-width: 320px; aspect-ratio: 9/19; background-color: #0F172A; border-radius: 40px; padding: 12px;
    box-shadow: var(--shadow-xl); transform: rotate(5deg) translateY(0);
}
.phone-mockup.reveal-visible {
    animation: float 6s ease-in-out infinite;
    animation-delay: 0.8s; /* Start floating after reveal */
}
.screen { background-color: var(--bg-gray); width: 100%; height: 100%; border-radius: 30px; overflow: hidden; position: relative; }
.app-ui-fake { padding: 2rem 1.5rem; }
.ui-header { font-weight: 700; font-size: 1.5rem; margin-bottom: 2rem; }
.ui-bar { height: 12px; background-color: #E2E8F0; border-radius: 6px; margin-bottom: 1rem; }
.ui-bar.short { width: 60%; }
.ui-box { height: 120px; background-color: white; border-radius: 12px; margin-top: 2rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }


/* Features */
.features { padding: clamp(2.5rem, 6vw, 8rem) 0; background-color: var(--bg-gray); }
.section-title { text-align: center; max-width: 600px; margin: 0 auto 4rem auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.feature-card {
    background-color: white; padding: 2.5rem; border-radius: 20px; border: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: var(--shadow-sm); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: white; }
.feature-icon {
    width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.icon-green { background-color: var(--primary-light); color: var(--primary); }
.icon-orange { background-color: var(--accent-light); color: var(--accent); }
.feature-card p { color: var(--text-gray); }

/* CTA Banner */
.cta-banner { padding: clamp(3rem, 8vw, 6rem) 0; background-color: var(--primary); color: white; }
.cta-banner h2 { color: white; }
.cta-banner p { color: var(--primary-light); font-size: 1.25rem; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Footer */
footer { background-color: #0F172A; color: white; padding: clamp(2.5rem, 6vw, 4rem) 0 2rem 0; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: #94A3B8; margin-top: 1rem; max-width: 300px; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links h4 { color: white; margin-bottom: 0.5rem; font-size: 1.1rem;}
.footer-links a { color: #94A3B8; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.copyright { border-top: 1px solid #1E293B; padding-top: 2rem; text-align: center; color: #64748B; font-size: 0.875rem; }

/* Responsive Media Queries */
@media (max-width: 900px) {
    .hero-layout { flex-direction: column; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .phone-mockup { transform: none; animation: none; margin-top: 2rem; max-width: 280px;}
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links {
        position: absolute; top: 100%; left: 0; right: 0; background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column; padding: 2rem; gap: 1.5rem; box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        opacity: 0; pointer-events: none; border-bottom: 1px solid #E2E8F0; transition: all 0.3s ease;
    }
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); opacity: 1; pointer-events: all;
    }
    .cta-group { flex-direction: column; width: 100%; max-width: 300px; }
    .btn { width: 100%; }
}
