/* ==========================================================================
   CSS Variables & Global Resets
   ========================================================================== */
   :root {
    /* Primary Colors */
    --color-primary: #003366; /* Deep Blue */
    --color-secondary: #2E8B57; /* Sea Green / Light Green */
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #F4F7F6; /* Soft light background */
    --bg-light-blue: #EBF1F5;
    --bg-light-green: #E8F5E9;
    --bg-light-yellow: #FFF9E6;

    /* Text Colors */
    --text-dark: #1A202C;
    --text-muted: #4A5568;
    --text-white: #ffffff;

    /* Status/Accents */
    --accent-blue: #3182CE;
    --accent-green: #38A169;
    --accent-yellow: #D69E2E;

    /* Shadows & Border Radius */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

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

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--color-secondary);
}

.center {
    text-align: center;
}

.text-blue { color: var(--accent-blue) !important; }
.text-green { color: var(--accent-green) !important; }
.text-yellow { color: var(--accent-yellow) !important; }

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 5rem 0;
}

.section-white {
    background-color: var(--bg-white);
}

.section-light {
    background-color: var(--bg-light);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Utilities */
.mt-3 { margin-top: 1.5rem; }
.w-100 { width: 100%; text-align: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-white) !important;
}

.btn-primary:hover {
    background-color: #002244;
    color: var(--text-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--bg-light-blue);
    transform: translateY(-2px);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 0.10rem 0;
}

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

.logo-img {
    height: 80px;
}

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

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 9rem 0 5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #004d40 100%);
    overflow: hidden;
    color: var(--text-white);
}

.hero h1 {
    color: var(--text-white);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
}

.hero .highlight {
    color: #A3E4D7; /* Light mint green for contrast */
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

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

.app-badges {
    display: flex;
    gap: 15px;
}

.hero-badges {
    margin-top: 2rem;
}

.app-badges img {
    height: 45px;
    border-radius: 8px;
    transition: var(--transition);
}

.app-badges img:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.arch-container {
    width: 100%;
    max-width: 400px;
    height: 500px;
    background-color: var(--bg-white);
    border-radius: 200px 200px 20px 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--bg-white);
}

.arch-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--bg-white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 3s ease-in-out infinite;
}

.floating-badge .badge-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-light-green);
    color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.9rem;
    line-height: 1.2;
    color: var(--text-dark);
}

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

/* ==========================================================================
   Stats Banner
   ========================================================================== */
.stats-banner {
    background-color: var(--color-primary);
    padding: 2rem 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item i {
    color: var(--color-secondary);
    font-size: 1.3rem;
}

/* ==========================================================================
   Icon Grids (Problem & Legal Sections)
   ========================================================================== */
.icon-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.icon-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.icon-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.bg-light-green { background-color: #E8F5E9; }
.bg-light-blue { background-color: #EBF8FF; }
.bg-light-yellow { background-color: #FFFBEB; }

/* ==========================================================================
   Services Grid (Features Section)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-light-blue);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-top: 1rem;
}

.service-link:hover {
    gap: 12px;
}

/* ==========================================================================
   Split Sections (About, Coming Soon)
   ========================================================================== */
.split-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
}

.bullet-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.bullet-icon {
    width: 30px;
    height: 30px;
    background-color: var(--bg-light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rounded-image-container {
    background-color: var(--bg-light-blue);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
}

.about-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-icon-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    font-size: 3rem;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.price-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.price-card:hover {
    box-shadow: var(--shadow-lg);
}

.price-card.featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.recommend {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--text-white);
    padding: 4px 15px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-features {
    text-align: left;
    margin: 2rem 0;
}

.price-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features i {
    color: var(--color-secondary);
}

/* ==========================================================================
   Coming Soon & Mockup
   ========================================================================== */
.status-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 400px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background-color: var(--color-secondary);
    border-radius: 4px;
}

.app-mockup-placeholder {
    display: flex;
    justify-content: center;
}

.mockup-inner {
    width: 280px;
    height: 580px;
    background-color: var(--bg-white);
    border: 12px solid var(--text-dark);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--color-primary);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

footer p, footer a {
    color: rgba(255,255,255,0.8);
}

footer a:hover {
    color: var(--color-secondary);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .split-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content, .arch-container {
        max-width: 100%;
    }
    
    .floating-badge {
        left: 20px;
    }

    .app-badges.hero-badges {
        justify-content: center;
    }

    .bullet-list li {
        text-align: left;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
    .price-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Add JS to toggle */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.5rem;
    }
}

/* Simple fade-in animation handled by main.js */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
