/**
 * StealthPass - Base Stylesheet
 * Common styles used across all pages
 */

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background: white;
    min-height: 100vh;
}

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

.landing-nav {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

.landing-nav.scrolled {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4F46E5;
    text-decoration: none;
}

/* Brand Logo Image */
.brand-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

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

.nav-links a {
    color: #1F2937;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #4F46E5;
}

/* Navigation Button Overrides */
.nav-links .btn-outline {
    color: #4F46E5;
}

.nav-links .btn-outline:hover {
    color: white;
}

.nav-links .btn-cta {
    color: white;
}

.nav-links .btn-cta:hover {
    color: white;
}

/* General Button Styles */
.btn-outline {
    padding: 0.5rem 1.5rem;
    border: 2px solid #4F46E5;
    border-radius: 0.5rem;
    color: #4F46E5;
    background: transparent;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
}

.btn-outline:hover {
    background: #4F46E5;
    color: white;
}

.btn-cta {
    padding: 0.5rem 1.5rem;
    background: #4F46E5;
    color: white;
    border: 2px solid #4F46E5;
    border-radius: 0.5rem;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
}

.btn-cta:hover {
    background: #4338CA;
    border-color: #4338CA;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1F2937;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #4F46E5;
    color: white;
}

.btn-primary:hover {
    background: #4338CA;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background: rgba(79, 70, 229, 0.1);
    color: #4F46E5;
    border: 2px solid #4F46E5;
}

.btn-secondary:hover {
    background: #4F46E5;
    color: white;
}

.btn-outline-white {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: #4F46E5;
    transform: translateY(-2px);
}

/* ========================================
   CTA SECTION (Shared across pages)
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 6rem 2rem;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2,
.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
}

.cta-content p,
.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */

.landing-footer {
    background: #1F2937;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-brand .footer-logo .brand-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-brand p {
    color: #D1D5DB;
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links ul li a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #9CA3AF;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.2s;
    text-decoration: none;
}

.footer-social a:hover {
    background: #4F46E5;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #1F2937;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

.text-center {
    text-align: center;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1F2937;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.25rem;
    color: #6B7280;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .landing-footer {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-brand .footer-logo {
        font-size: 1.25rem;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
        margin-top: 0.75rem;
    }
    
    .footer-links h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-links ul li a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: 1.5rem;
        gap: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .landing-footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-grid {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-brand .footer-logo {
        font-size: 1.125rem;
    }
    
    .footer-brand .footer-logo .brand-logo-img {
        width: 24px;
        height: 24px;
    }
    
    .footer-brand p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .footer-links h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-links ul li {
        margin-bottom: 0.4rem;
    }
    
    .footer-links ul li a {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .cta-content h2,
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
