/* ================================
   WizerFlow - Base Styles
   Dark Theme Foundation
   ================================ */

:root {
    --dark-bg: #0e0e0e;
    --darker-bg: #111111;
    --surface-bg: #1a1a1a;
    --surface-bg-hover: #222222;

    --blue: #4A9EFF;
    --purple: #6C63FF;
    --deep-purple: #5024B4;
    --violet: #8B5CF6;
    --teal: #2ABC9B;

    --gradient-primary: linear-gradient(135deg, #4a9eff, #6c63ff);
    --gradient-secondary: linear-gradient(135deg, #6c63ff, #8b5cf6);
    --gradient-accent: linear-gradient(135deg, #4a9eff, #2abc9b);

    --text-primary: #f1f1f1;
    --text-secondary: #c8c8c8;
    --text-muted: #888888;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(255, 255, 255, 0.2);

    --glass-bg: rgba(14, 14, 14, 0.7);
    --glass-border: rgba(255, 255, 255, 0.06);

    --font-primary: 'Red Hat Display', sans-serif;
    --transition-speed: 0.3s;
    --border-radius: 12px;
    --border-radius-lg: 20px;

    --section-padding: 100px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(14, 14, 14, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(14, 14, 14, 0.92);
    border-bottom-color: var(--border-subtle);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.logo img {
    height: 32px;
    width: auto;
}

.logo span {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav .nav-group-left {
    margin-right: auto;
}

.main-nav .nav-group-right {
    margin-left: auto;
    align-items: center;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: -0.01em;
}

.main-nav a:hover {
    color: var(--text-primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(74, 158, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 158, 255, 0.35);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    margin-left: 1rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background-color: var(--darker-bg);
    border-top: 1px solid var(--border-subtle);
    position: relative;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.footer-col-left {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
}

.footer-col-spacer {
    flex: 0 0 16.666%;
    max-width: 16.666%;
    padding: 0 15px;
}

.footer-nav {
    flex: 0 0 16.666%;
    max-width: 16.666%;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
}

.footer-link {
    color: #bbbbbb;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-legal {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

/* Text Utilities */
.text-primary {
    color: var(--blue);
}

.text-brand {
    color: var(--purple);
}

.text-black {
    color: var(--blue);
}

.text-grey {
    color: var(--text-secondary);
}

.text-light-grey {
    color: var(--text-secondary);
}

.text-white {
    color: var(--text-primary);
}

.text-medium {
    font-size: 1.1rem;
    line-height: 1.7;
}

.text-small {
    font-size: 0.875rem;
}

.text-extra-small {
    font-size: 0.75rem;
}

.text-semi {
    font-weight: 600;
}

.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.mt-40 { margin-top: 40px; }

.subtitle {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}

.align-center {
    text-align: center;
}

.heart {
    color: #ff4d4d;
    display: inline-block;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        position: relative;
    }

    .logo {
        order: 1;
    }

    .mobile-menu-toggle {
        order: 3;
        display: flex;
    }

    .main-nav {
        order: 4;
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 280px;
        height: 100vh;
        background: rgba(14, 14, 14, 0.98);
        backdrop-filter: blur(20px);
        padding: 100px 24px 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
        flex-direction: column;
        align-items: flex-start;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .main-nav.active {
        display: flex;
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-nav .nav-group-left {
        margin-right: 0;
    }

    .main-nav .nav-group-right {
        margin-left: 0;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border-subtle);
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover {
        color: var(--text-primary);
    }

    .main-nav .btn {
        margin-top: 20px;
        width: 100%;
        text-align: center;
        border-bottom: none;
    }

    .footer-col-left,
    .footer-col-spacer,
    .footer-nav {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .footer-col-spacer {
        display: none;
    }
}

@media (max-width: 480px) {
    .btn-large {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .footer {
        padding: 40px 0 20px;
    }
}

/* Section Divider */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
    margin: 0;
    border: none;
}

/* Smooth transitions for interactive elements */
a, button, .btn {
    transition: all 0.3s ease;
}
