/* Global CSS - Variables, Reset, Typography, Header, Footer */

:root {
    --primary-color: #fcc01b;
    --secondary-color: #3B99FC;
    --hover-color: #E6B400;
    --text-color: #1A1A1A;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #FFFFFF;
    --black: #000000;
    --gray-bg: #F9F9F9;
    --gray-light: #DDDDDD;
    --border-color: #DDDDDD;

    --font-family: 'Outfit', sans-serif;
    --max-width: 1200px;
    
    /* Specific Dimensions */
    --plan-img-height: 150px;
    --card-min-width: 300px;
    /* Design Tokens */
    --border-radius-sm: 10px;
    --border-radius: 20px;
    --border-radius-lg: 40px;
    --border-radius-pill: 50px;

    --section-padding-desktop: 80px;
    --section-padding-mobile: 60px;
    --section-gap: 100px;
    
    --spacing-xs: 10px;
    --spacing-sm: 15px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
    --spacing-xl: 40px;
    --spacing-2xl: 60px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.05);
    --shadow-blue: 0 20px 40px rgba(59, 153, 252, 0.2);

    /* Typography Scale */
    --font-hero: 3.5rem;
    --font-h1: 3rem;
    --font-h2: 2.5rem;
    --font-h3: 1.5rem;
    --font-title: 1.25rem;
    --font-large: 1.1rem;
    --font-body: 1rem;
    --font-small: 0.9rem;
    /* Font Weights */
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extra-bold: 800;

    /* Line Heights */
    --line-height-tight: 1.1;
    --line-height-normal: 1.2;
    --line-height-body: 1.5;
    --line-height-loose: 1.6;

    /* Z-Index */
    --z-index-negative: -1;
    --z-index-base: 1;
    --z-index-raised: 2;
    --z-index-sticky: 10;
    --z-index-header: 100;
    --z-index-modal: 1000;

    /* Layout & Sizes */
    --max-width-text: 600px;
    --max-width-card: 900px;
    --max-width-grid: 1000px;
    --max-width-hero-img: 350px;
    --max-width-video: 400px;
    
    --icon-size-sm: 20px;
    --icon-size-md: 40px;
    --icon-size-lg: 80px;
    
    --header-height: 80px;    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    background-color: var(--white); /* Default white, overrides in specific pages if needed */
    color: var(--text-color);
    overflow-x: hidden;
}

app-footer {
    display: block;
    background-color: var(--white);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Buttons Shared */
.btn-black {
    background: #000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-black:hover {
    transform: translateY(-2px);
    background: #333;
}

.btn-outline {
    background: transparent;
    color: #000;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #000;
    cursor: pointer;
    display: inline-block;
}

/* Header */
.header {
    padding: 20px 0;
    position: relative;
    z-index: 100;
    background: transparent; /* Assuming overlay or white depending on page */
}

.nav-container {
    background: var(--white);
    border-radius: 50px;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

.nav-link {
    font-weight: 500;
    color: #444;
    font-size: 1rem;
}

.nav-link:hover, .nav-link.active {
    color: #000;
    font-weight: 600;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-right i {
    font-size: 1.2rem;
    cursor: pointer;
}

/* Main Footer */
.main-footer {
    background: #fff;
    padding-top: 100px;
    padding-bottom: 40px;
    border-top: 1px solid #f0f0f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    font-size: 1.5rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: #444;
    font-size: 0.9rem;
}
.footer-col ul li a:hover {
    color: #000;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

/* Mobile Menu Overlay Defaults (Hidden on Desktop) */
.mobile-menu-btn { display: none; }

/* Responsive Footer/Nav */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-right { display: none; } /* Hide desktop right nav totally */
    
    .nav-container {
        padding: 15px 20px;
        justify-content: space-between;
    }

    .mobile-menu-btn {
        display: block; /* Show hamburger */
        font-size: 1.5rem;
        cursor: pointer;
        background: none;
        border: none;
        color: #000;
    }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
}

/* Mobile Menu Overlay Styling */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
}
.mobile-nav-link:hover { color: var(--primary-color); }

/* Common Utilities */
.hidden { display: none !important; }
.loading { text-align: center; color: #666; padding: 40px; }
.white-container { background: #fff; min-height: 500px; padding: 80px 0; }

/* CTA Card (Moved from home.css) */
.cta-container {
    position: relative; 
    z-index: var(--z-index-sticky); 
    margin-bottom: var(--spacing-2xl);
}
.cta-card {
    background: var(--primary-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    max-width: var(--max-width-card);
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}
.cta-card h2 {
    font-size: var(--font-h2);
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-semibold);
}
.cta-card p {
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-body);
    max-width: var(--max-width-text);
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
.cta-form {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    max-width: var(--max-width-text);
    margin-left: auto;
    margin-right: auto;
}
.cta-form input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-pill);
    border: none;
    outline: none;
    font-size: var(--font-body);
}
.cta-form button {
    background: var(--black);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--border-radius-pill);
    border: none;
    cursor: pointer;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-body);
}
.cta-terms {
    font-size: var(--font-xs);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .cta-form { flex-direction: column; }
    .cta-container { margin-top: var(--spacing-2xl); }
}
