/* ==========================================================================
   BASE STYLES - Reset, Typography, Global Layout
   ========================================================================== */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0f172a;
    overflow-x: hidden;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

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

/* Global utility classes */
.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.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; }

/* Critical CSS Rules for Snowball Systems homepage */
.hero-headline {
    white-space: nowrap;
}

.hero-subtitle {
    white-space: nowrap;
} 

/* Page Layout Styles */
.page-main {
    padding-top: 120px; /* Account for fixed header */
    min-height: calc(100vh - 120px);
    color: #e2e8f0;
}

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

.page-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    backdrop-filter: blur(10px);
}

.page-content h1 {
    color: #6fa8dc;
    font-weight: 300;
    margin-bottom: 2rem;
}

.page-content h2 {
    color: #6fa8dc;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.page-content h3 {
    color: #e2e8f0;
    font-weight: 500;
    margin-bottom: 1rem;
}

.page-content p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.page-content ul, .page-content ol {
    color: #cbd5e1;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.page-content li {
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* Footer styles */
footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 2rem 0;
    color: #cbd5e1;
}

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

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

.footer-business-info h4 {
    color: #6fa8dc;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-business-info p {
    margin-bottom: 1rem;
    color: #94a3b8;
}

.business-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.business-contact a {
    color: #6fa8dc;
    text-decoration: none;
}

.business-contact a:hover {
    text-decoration: underline;
}

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

.footer-links h5 {
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

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

.legal-links li {
    margin-bottom: 0.5rem;
}

.legal-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
}

.legal-links a:hover {
    color: #6fa8dc;
    text-decoration: underline;
}

.sms-compliance {
    text-align: left;
}

.sms-text {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.carrier-info {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0;
}

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

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

/* SMS Consent Notice - Compact Version */
.sms-consent-compact {
    margin-top: 1.5rem;
}

.compact-consent-box {
    background: rgba(111, 168, 220, 0.05);
    border: 1px solid rgba(111, 168, 220, 0.2);
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
}

.compact-consent-box h5 {
    color: #6fa8dc;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.compact-consent-box p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-business-info {
        text-align: left;
    }
} 