/* kangen_water/style.css - Ultra Premium Modern Design System */

:root {
    /* Pure Premium Palette */
    --black: #030712;
    --navy-dark: #0a101d; /* Deep elegant navy */
    --water-vibrant: #2563eb; /* Royal blue */
    --water-light: #3b82f6;
    --water-cyan: #06b6d4; /* Cyan / teal pop */
    
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Gradients */
    --gradient-glow: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --gradient-liquid: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    
    /* Surfaces */
    --glass-bg: rgba(17, 24, 39, 0.6);
    --glass-border: rgba(255, 255, 255, 0.06);
    --card-bg: rgba(17, 24, 39, 0.6);
    
    /* Legacy aliases */
    --deep-ocean: #030712;
    --midnight: #0a101d;
    --bg-darker: #050a14;
    --water-clear: #06b6d4;
    --water-glow: #3b82f6;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--black);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(37, 99, 235, 0.5);
    color: #fff;
}

h1, h2, h3, h4, .outfit {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Gradients */
.gradient-text {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 30px -10px rgba(37, 99, 235, 0.15);
}

/* Typography specifics */
.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.section-subtitle-left {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 9999px;
    color: var(--water-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-glow);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    transition: var(--transition);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-white);
    padding: 13px 31px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary-sm {
    background: var(--gradient-glow);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary-sm:hover {
    box-shadow: 0 8px 20px -5px rgba(37, 99, 235, 0.5);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--text-white);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}
.nav-links a:not(.btn-primary-sm) {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:not(.btn-primary-sm):hover {
    color: var(--text-white);
}
.mobile-menu-btn { display: none; }

/* Global Sections */
section {
    padding: 120px 0;
    position: relative;
}

/* Form Styles */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--water-cyan);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

/* Grid & Content Alignments (Legacy overrides for main page) */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; }
.hero-container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.title { font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-actions { display: flex; gap: 1rem; }
.main-machine-img { width: 100%; filter: drop-shadow(0 20px 40px rgba(37,99,235,0.2)); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.benefit-card { padding: 3rem 2rem; text-align: center; transition: var(--transition); }
.benefit-card:hover { transform: translateY(-5px); }
.icon-wrapper { width: 64px; height: 64px; background: rgba(37,99,235,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 1.5rem; color: var(--water-cyan); }
.waters-container, .tech-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.water-item { display: flex; padding: 1.5rem; background: rgba(255,255,255,0.02); border-radius: 16px; margin-bottom: 1rem; border: 1px solid rgba(255,255,255,0.02); gap: 1.5rem;}
.water-ph { font-weight: 700; background: rgba(255,255,255,0.05); padding: 8px 16px; border-radius: 12px; height: max-content;}
.test-preview-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; }
.test-preview-card { display: flex; align-items: center; gap: 2rem; padding: 2rem; }
.test-preview-img { width: 220px; height: 220px; object-fit: cover; border-radius: 16px; }

/* Footer */
footer {
    background: #000;
    padding: 5rem 0 2rem;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.4), transparent);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}
.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}
.footer-logo p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.footer-links {
    display: flex;
    gap: 2rem;
}
.footer-links a {
    color: var(--text-muted);
    transition: color 0.2s;
    font-weight: 500;
}
.footer-links a:hover {
    color: var(--water-cyan);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-container, .benefits-grid, .waters-container, .tech-split, .test-preview-grid { grid-template-columns: 1fr; }
    .title, .section-title { font-size: 2.8rem; }
    .footer-content { flex-direction: column; gap: 2rem; text-align: center; align-items: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
    .test-preview-card { flex-direction: column; text-align: center; }
    .test-preview-img { width: 100%; height: 260px; }
}