/* ============================================
   WOLOWO v2 - Base Styles
   CSS Variables, Typography, Utilities
   ============================================ */

:root {
    /* v19 Editorial Palette */
    --w-v19-bg-cream: #f8f5ef;
    --w-v19-text: #1b1a18;
    --w-v19-muted: #6f685e;
    --w-v19-terracotta: #a8553b;
    --w-v19-terracotta-dark: #7f3d2b;
    --w-v19-terracotta-light: #c9775b;
    --w-v19-terracotta-rgb: 168, 85, 59;
    --w-v19-gold: #e2c58a;
    --w-v19-border: #ded6c8;
    --w-v19-surface: #ffffff;

    /* Brand Colors */
    --w-primary: var(--w-v19-terracotta);
    --w-primary-dark: var(--w-v19-terracotta-dark);
    --w-primary-light: var(--w-v19-terracotta-light);
    --w-primary-rgb: var(--w-v19-terracotta-rgb);

    /* Plan Colors */
    --w-plan-free: #6c757d;
    --w-plan-creator: #2563eb;
    --w-plan-hosting: #f97316;
    --w-plan-hosting-light: #fff7ed;
    --w-plan-pro: #1e293b;
    --w-plan-agency: #ab0355;

    /* Neutrals */
    --w-dark: var(--w-v19-text);
    --w-text: #352f2a;
    --w-text-light: var(--w-v19-muted);
    --w-text-muted: #8b8175;
    --w-bg: var(--w-v19-surface);
    --w-bg-light: var(--w-v19-bg-cream);
    --w-bg-dark: var(--w-v19-text);
    --w-border: var(--w-v19-border);

    /* Typography */
    --w-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --w-font-heading: 'Fraunces', Georgia, serif;

    /* Spacing */
    --w-section-py: clamp(3rem, 6vw, 6rem);

    /* Transitions */
    --w-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --w-transition-fast: all 0.15s ease;

    /* Border Radius */
    --w-radius: 12px;
    --w-radius-lg: 20px;
    --w-radius-full: 9999px;

    /* Shadows */
    --w-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --w-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --w-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --w-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ---- Reset & Base ---- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--w-font-body);
    color: var(--w-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--w-font-heading);
    font-weight: 700;
    color: var(--w-dark);
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
    color: var(--w-text);
    margin-bottom: 1rem;
}

a {
    color: var(--w-primary);
    text-decoration: none;
    transition: var(--w-transition-fast);
}

a:hover {
    color: var(--w-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---- Utility Classes ---- */

.section-padding {
    padding: var(--w-section-py) 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section-header p {
    color: var(--w-text-light);
    font-size: 1.125rem;
    margin-top: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--w-primary), var(--w-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-wolowo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--w-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--w-transition);
    text-decoration: none;
    gap: 0.5rem;
}

.btn-wolowo-primary {
    background: var(--w-primary);
    color: #fff;
    border-color: var(--w-primary);
}

.btn-wolowo-primary:hover {
    background: var(--w-primary-dark);
    border-color: var(--w-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--w-primary-rgb), 0.3);
}

.btn-wolowo-outline {
    background: transparent;
    color: var(--w-dark);
    border-color: var(--w-border);
}

.btn-wolowo-outline:hover {
    border-color: var(--w-primary);
    color: var(--w-primary);
    transform: translateY(-2px);
}

.btn-wolowo-white {
    background: #fff;
    color: var(--w-dark);
    border-color: #fff;
}

.btn-wolowo-white:hover {
    background: var(--w-bg-light);
    transform: translateY(-2px);
    box-shadow: var(--w-shadow-lg);
}

.btn-wolowo-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ---- Scroll Animations ---- */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
