/*
Theme Name: HowApply Global Theme
Theme URI: https://howapply.com/
Author: Vixera Global
Description: Ultra-fast, zero-bloat custom theme with Light & Premium Dark mode support for Global Application Guides.
Version: 1.0
*/

/* --- 1. Light Mode Variables (Global Trust & Authority) --- */
:root {
    --bg-main: #f8fafc;
    --text-main: #0f172a; /* Darker slate for sharp readability */
    --accent-color: #2563eb; /* HowApply Trust Blue */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(226, 232, 240, 0.8);
    --hover-accent: #1d4ed8;
}

/* --- 2. Dark Mode Variables (Premium Deep Dark) --- */
html[data-theme="dark"], body.dark-mode {
    --bg-main: #020617; /* Deeper premium slate/black */
    --text-main: #f8fafc;
    --accent-color: #3b82f6; /* Bright blue for dark mode contrast */
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(51, 65, 85, 0.5);
    --hover-accent: #60a5fa;
}

/* --- 3. Base Reset (Zero Bloat) --- */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth mode toggle */
}

/* --- 4. Premium Glassmorphism (For Country Flag Boxes) --- */
.glass-box {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Added pure CSS animation for premium feel */
.glass-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

/* --- 5. Global Hub Hero Section --- */
.hero-section {
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
    line-height: 1.2;
}

/* Useful class for highlighting specific words in the heading */
.hero-section .text-accent {
    color: var(--accent-color);
}

.usp-text {
    color: #64748b;
    font-size: 1.15rem;
    font-weight: 500;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Dark mode specific text adjustment for USP */
html[data-theme="dark"] .usp-text, 
body.dark-mode .usp-text {
    color: #94a3b8;
}