/* ===================================
   CougarFlame Global Styles - RECOLORED
   Beautiful Landing Page Theme
   =================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    min-height: 100vh;
    /* STUNNING GRADIENT BACKGROUND */
    background: radial-gradient(circle at top, #ff8a5c 0%, #ff4b6e 35%, #330033 100%);
    background-attachment: fixed;
    /* Crisp text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Add subtle noise texture overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    z-index: 0;
}

/* Brand Colors - LANDING PAGE THEME */
:root {
    /* Background Colors */
    --bg-gradient: radial-gradient(circle at top, #ff8a5c 0%, #ff4b6e 35%, #330033 100%);
    --card-bg: rgba(15, 8, 25, 0.88);
    --card-bg-solid: rgba(15, 8, 25, 0.95);
    
    /* Accent Colors */
    --accent: #ffca3a;
    --accent-hover: #ff9f1c;
    --accent-soft: rgba(255, 202, 58, 0.12);
    --accent-border: rgba(255, 202, 58, 0.32);
    
    /* Text Colors */
    --text-main: #ffffff;
    --text-muted: #d6cbe6;
    --text-dark: #ffffff;
    --text-light: #d6cbe6;
    
    /* Legacy support (maps to new colors) */
    --primary-color: #ffca3a;
    --primary-gradient: linear-gradient(135deg, #ffca3a 0%, #ff9f1c 100%);
    --secondary-color: #ff9f1c;
    
    /* UI Elements */
    --bg-light: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.15);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6);
    --radius-xl: 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove text shadows from headings inside cards (they have solid backgrounds) */
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6,
.signup-form h1, .signup-form h2, .signup-form h3, .signup-form h4, .signup-form h5, .signup-form h6,
.pricing-card h1, .pricing-card h2, .pricing-card h3, .pricing-card h4, .pricing-card h5, .pricing-card h6,
.faq-card h1, .faq-card h2, .faq-card h3, .faq-card h4, .faq-card h5, .faq-card h6,
.tip-list h1, .tip-list h2, .tip-list h3, .tip-list h4, .tip-list h5, .tip-list h6 {
    text-shadow: none;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn-primary {
    padding: 15px 40px;
    background: var(--accent);
    color: #000000;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 202, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
    color: #000000;
    box-shadow: 0 6px 20px rgba(255, 202, 58, 0.4);
}

.btn-secondary {
    padding: 12px 30px;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--accent);
    color: #000000;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-main);
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 3px rgba(255, 202, 58, 0.1);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
}

/* Dropdown options styling */
.form-group select option {
    background: #330033;
    color: var(--text-main);
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

/* Hero Section Styles */
.hero {
    background: transparent; /* Use body gradient */
    padding: 80px 20px;
    min-height: 600px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h2 {
    font-size: 3.5rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

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

/* Signup Form */
.signup-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

.signup-form h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-main);
    text-align: center;
}

.signup-btn {
    width: 100%;
    padding: 18px;
    background: var(--accent);
    color: #000000;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(255, 202, 58, 0.3);
}

.signup-btn:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
    box-shadow: 0 6px 20px rgba(255, 202, 58, 0.4);
}

.login-prompt {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
}

.login-prompt a {
    color: var(--accent);
    font-weight: 600;
}

.date-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: var(--accent);
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: transparent;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-main);
}

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

.feature {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.feature p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 80px 20px;
    background: transparent;
    text-align: center;
    margin-bottom: 0;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-main);
}

.about p {
    font-size: 1.2rem;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Safety Disclaimer */
.safety-disclaimer {
    background: var(--accent-soft);
    border-top: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
    padding: 30px 20px;
    text-align: center;
    margin: 0;
}

.safety-disclaimer p {
    color: var(--text-main);
    font-size: 0.95rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.safety-disclaimer a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
}

.safety-disclaimer strong {
    color: var(--accent);
}

/* Safety Tips Page */
.safety-header {
    background: transparent;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-main);
}

.safety-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

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

.safety-content {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.tip-section {
    margin-bottom: 50px;
}

.tip-section h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tip-icon {
    font-size: 2.5rem;
}

.tip-list {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--accent);
    backdrop-filter: blur(18px);
}

.tip-list li {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.tip-list strong {
    color: var(--text-main);
}

.warning-box {
    background: var(--accent-soft);
    border: 2px solid var(--accent-border);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    backdrop-filter: blur(18px);
}

.warning-box h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.warning-box p {
    color: var(--text-main);
    line-height: 1.7;
}

.emergency-box {
    background: var(--card-bg);
    border: 3px solid #ff6b6b;
    border-radius: var(--radius-xl);
    padding: 30px;
    margin: 30px 0;
    text-align: center;
    backdrop-filter: blur(18px);
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.3);
}

.emergency-box h3 {
    color: #ff6b6b;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.emergency-box p {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.emergency-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
    background: rgba(255, 202, 58, 0.2);
    padding: 15px 30px;
    border-radius: 15px;
    display: inline-block;
    margin: 10px 0;
}

/* Fix white space between safety disclaimer and footer */
section {
    margin-bottom: 0 !important;
}

main {
    margin-bottom: 0 !important;
}

footer {
    margin-top: 0 !important;
}

/* ===================================
   NAVIGATION STYLES
   =================================== */

.main-nav {
    background: var(--card-bg-solid);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(255, 202, 58, 0.3);
    /* Vertically align icon with text */
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-size: 1.5rem;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-menu-toggle:hover {
    background: var(--accent);
    color: #000000;
}

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

.nav-link {
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.2s;
}

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

.user-dropdown-wrapper {
    position: relative;
}

.user-button {
    background: var(--accent);
    color: #000000;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(255, 202, 58, 0.3);
}

.user-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 202, 58, 0.4);
}

.dropdown-arrow {
    font-size: 0.7rem;
}

.user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    background: var(--card-bg-solid);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    z-index: 1000;
    backdrop-filter: blur(18px);
}

.dropdown-item {
    display: block;
    padding: 15px 20px;
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--accent);
}

.dropdown-item.logout {
    color: #ff6b6b;
    font-weight: 600;
    border-bottom: none;
}

.nav-login-btn {
    padding: 12px 30px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Mobile-only and Desktop-only utilities */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: inline-flex;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.p-4 { padding: 40px; }

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tip-section h2 {
        font-size: 1.5rem;
    }
    
    /* Mobile/Desktop visibility toggles */
    .mobile-only {
        display: block !important;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg-solid);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 20px;
        box-shadow: var(--shadow);
        backdrop-filter: blur(18px);
    }
    
    .nav-links.mobile-menu-open {
        display: flex;
    }
    
    .nav-link {
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Mobile menu - Settings and Logout styling */
    .nav-links.mobile-menu-open .mobile-only {
        border-top: 2px solid var(--accent);
        background: var(--accent-soft);
        font-weight: 600;
    }
    
    .user-dropdown-wrapper {
        width: 100%;
    }
    
    .user-button {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    .nav-login-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .user-dropdown {
        position: static;
        margin-top: 10px;
        box-shadow: none;
        border: none;
        border-top: 2px solid var(--border-color);
    }
}
