/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    /* Colors */
    --primary: #4f46e5;       /* Indigo 600 */
    --primary-hover: #4338ca; /* Indigo 700 */
    --secondary: #0ea5e9;     /* Sky 500 */
    --text-main: #0f172a;     /* Slate 900 */
    --text-muted: #475569;    /* Slate 600 */
    --bg-body: #ffffff;
    --bg-light: #f8fafc;      /* Slate 50 */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-max: 1200px;
    --radius: 16px;
    --transition: all 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   Base
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem; /* 18px */
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 24px;
}

h1 { font-size: 3.5rem; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 600; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); font-size: 1rem; }
.bg-light { background-color: var(--bg-light); }
.bg-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; }

.section { padding: 100px 0; }
.section-title { margin-bottom: 24px; }
.section-intro { max-width: 800px; margin: 0 auto 40px; color: var(--text-muted); font-size: 1.25rem; }

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.pl-20 { padding-left: 20px; }
.pr-20 { padding-right: 20px; }

/* Grid Utilities */
.grid { display: grid; gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-family: var(--font-body);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.125rem;
}

.btn-sm { padding: 10px 24px; font-size: 1rem; border-radius: 8px; }
.btn-large { padding: 20px 48px; font-size: 1.25rem; }
.btn-full { width: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(79, 70, 229, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-main);
    color: var(--text-main);
}
.btn-outline:hover {
    background: var(--text-main);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}
.nav {
    display: flex;
    gap: 32px;
}
.nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
}
.nav a:hover {
    color: var(--primary);
}
.header-action {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Burger Menu (Mobile) */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}
.burger-menu span {
    width: 100%;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content p.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.hero-list {
    list-style: none;
    margin-bottom: 40px;
}
.hero-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-muted);
}
.hero-list li svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
    flex-shrink: 0;
}
.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Hero Image Placeholder */
.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.1) 0%, rgba(255,255,255,0) 70%);
}
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 30px;
    padding: 40px;
    width: 280px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 10;
}
.globe-icon { font-size: 64px; margin-bottom: 20px; }
.card-title { font-size: 1.5rem; font-weight: 700; color: #10b981; margin-bottom: 8px; }
.card-subtitle { color: var(--text-muted); font-size: 1rem; }
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulse 2s infinite cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
    opacity: 0.5;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* ==========================================================================
   Content Sections (Align Center layout)
   ========================================================================== */
.align-center {
    align-items: center;
}
.row-reverse {
    direction: rtl;
}
.row-reverse > * {
    direction: ltr; /* Reset text direction inside */
}
.content-text p {
    color: var(--text-muted);
    margin-bottom: 24px;
}
.features-list { list-style: none; }
.features-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-muted);
}
.features-list .dot {
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
}
.steam-placeholder, .devices-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: var(--radius);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}
.devices-placeholder {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: var(--text-main);
}

/* ==========================================================================
   Cards (Benefits)
   ========================================================================== */
.card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}
.card:hover { 
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.card-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: inline-block;
}
.card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-card {
    background: #fff;
    padding: 48px 32px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid #e2e8f0;
    position: relative;
    transition: var(--transition);
}
.pricing-card.highlighted {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}
.pricing-card .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}
.pricing-header h3 {
    margin-bottom: 16px;
    color: var(--text-muted);
}
.price {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 32px;
}
.price span {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 400;
}
.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}
.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-muted);
    font-size: 1rem;
}
.pricing-features li:last-child { border-bottom: none; }

/* ==========================================================================
   Steps (How to start)
   ========================================================================== */
.step-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius);
    position: relative;
}
.step-number {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.step-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   FAQ (Vertical Accordion)
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}
.faq-item {
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}
.faq-item summary {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    padding: 24px 32px;
    cursor: pointer;
    position: relative;
    list-style: none;
    padding-right: 60px;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}
.faq-content {
    padding: 0 32px 24px;
    color: var(--text-muted);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
    padding: 120px 0;
}
.final-cta .cta-title {
    color: #fff;
    font-size: 3rem;
}
.final-cta .cta-text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 80px 0 40px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-desc { max-width: 300px; }
.footer-links {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}
.footer-col h4 {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 24px;
}
.footer-col a {
    display: block;
    color: #94a3b8;
    margin-bottom: 12px;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .hero-inner { gap: 40px; }
    .pricing-card.highlighted { transform: scale(1); }
    .footer-links { gap: 40px; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .section { padding: 60px 0; }
    .grid-3 { grid-template-columns: 1fr; }
    
    /* Navigation */
    .burger-menu { display: flex; }
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        flex-direction: column;
        gap: 16px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        text-align: center;
    }
    .nav.active { display: flex; }
    
    /* Layouts */
    .hero-inner,
    .align-center { grid-template-columns: 1fr; text-align: center; }
    
    .hero-list li { justify-content: center; text-align: left; }
    .hero-buttons { flex-direction: column; }
    .pl-20, .pr-20 { padding: 0; }
    
    .footer-inner { flex-direction: column; }
}
