/* Kinetic Origin - Vibe Weather Website Styles */
/* Color scheme matches the app: Purple gradient (#667eea to #764ba2) with Cyan accent (#00CED1) */

:root {
    --primary: #667eea;
    --primary-dark: #764ba2;
    --accent: #00CED1;
    --text: #1a1a2e;
    --text-light: #555;
    --text-muted: #777;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --border: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1.2rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tagline {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.description {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 40px;
    line-height: 1.7;
}

.app-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.badge img {
    height: 40px;
    transition: transform 0.2s;
}

.badge:hover img {
    transform: scale(1.05);
}

.ms-badge img {
    height: 40px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-alt);
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 48px;
    color: var(--text);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Legal Pages */
.legal-page {
    padding: 60px 0;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: var(--text);
}

.last-updated {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.legal-page section {
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.legal-page h3 {
    font-size: 1.15rem;
    margin: 20px 0 12px;
    color: var(--text);
}

.legal-page p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.legal-page ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-page li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.legal-page a {
    color: var(--primary);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--text);
    color: white;
    padding: 48px 0;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo {
    width: 32px;
    height: 32px;
}

.footer-brand span {
    font-weight: 600;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 16px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .hero {
        padding: 60px 0;
    }

    .features {
        padding: 60px 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .legal-page h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .app-badges {
        flex-direction: column;
    }

    .nav-links {
        gap: 16px;
    }
}
