/* ============================================
   DailyNeedFinance Lifestyle Division
   Premium Design System — Navy, Gold, White
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Brand Colors */
    --navy: #0a1628;
    --navy-light: #121f36;
    --navy-mid: #1a2d4a;
    --gold: #c8a951;
    --gold-light: #e0c97a;
    --gold-dark: #a88b3a;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --text-primary: #1a1a2e;
    --text-secondary: #555566;
    --text-light: #8a8a9a;

    /* Gradients */
    --gradient-navy: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
    --gradient-gold: linear-gradient(135deg, #c8a951 0%, #e0c97a 100%);
    --gradient-hero: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(26, 45, 74, 0.85) 100%);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Sizing */
    --header-height: 80px;
    --container-max: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.1);
    --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.15);
    --shadow-xl: 0 20px 60px rgba(10, 22, 40, 0.2);
    --shadow-gold: 0 4px 20px rgba(200, 169, 81, 0.3);

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

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol { list-style: none; }

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

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Utility Classes --- */
.gold { color: var(--gold); }
.text-center { text-align: center; }

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(200, 169, 81, 0.1);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--gradient-gold);
    color: var(--navy);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 10px;
    letter-spacing: 1px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

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

.nav-links a {
    display: inline-block;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(200, 169, 81, 0.12);
}

.nav-links a.active {
    color: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1010;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.hamburger::before { transform: translateY(-7px); }
.hamburger::after { transform: translateY(7px); }

.mobile-toggle.active .hamburger { background: transparent; }
.mobile-toggle.active .hamburger::before { transform: rotate(45deg); }
.mobile-toggle.active .hamburger::after { transform: rotate(-45deg); }

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 42px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

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

.btn-outline-dark:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 40px) 0 80px;
    background-image: var(--gradient-hero), url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=1920&q=80');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(200, 169, 81, 0.15);
    border: 1px solid rgba(200, 169, 81, 0.3);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease both;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 .gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ============================================
   TRUST SIGNALS
   ============================================ */
.trust-section {
    padding: 80px 0;
    background: var(--off-white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.trust-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(200, 169, 81, 0.2);
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: rgba(200, 169, 81, 0.1);
    border-radius: 50%;
    font-size: 2rem;
}

.trust-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.trust-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   FEATURED COURSES (Home)
   ============================================ */
.courses-section {
    padding: 100px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.course-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.course-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--gradient-gold);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-body {
    padding: 28px;
}

.course-body h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.course-body p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.course-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.course-price .currency { font-size: 1rem; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-hero {
    padding: calc(var(--header-height) + 60px) 0 60px;
    background: var(--gradient-navy);
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* Values */
.values-section {
    padding: 80px 0;
    background: var(--off-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 3rem;
}

.value-card {
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.value-card:hover {
    border-color: rgba(200, 169, 81, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Team */
.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 3rem;
}

.team-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.team-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   PRODUCTS / SHOP
   ============================================ */
.products-section {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    height: 240px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-body {
    padding: 28px;
}

.product-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.product-highlights {
    margin-bottom: 1.5rem;
}

.product-highlights li {
    padding: 6px 0;
    padding-left: 24px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    position: relative;
}

.product-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-100);
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
}

.btn-cart {
    padding: 10px 24px;
    background: var(--gradient-gold);
    color: var(--navy);
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cart:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.5);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 2001;
    box-shadow: var(--shadow-xl);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.cart-header h3 {
    font-size: 1.3rem;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    padding: 4px;
    transition: var(--transition-fast);
}

.cart-close:hover { color: var(--navy); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--text-light);
}

.cart-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: center;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--gold-dark);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    transition: var(--transition-fast);
}

.cart-item-remove:hover { color: #e53e3e; }

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-100);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cart-total-amount {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--navy);
}

/* Floating Cart Button */
.cart-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-navy);
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.cart-float-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

.cart-float-btn.visible { display: flex; }

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-list-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(200, 169, 81, 0.1);
    border-radius: 12px;
    color: var(--gold);
}

.contact-list-text h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-list-text p,
.contact-list-text a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-list-text a:hover { color: var(--gold); }

/* Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(200, 169, 81, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e53e3e;
    background: #fff5f5;
}

.form-error {
    display: none;
    font-size: 0.8rem;
    color: #e53e3e;
    margin-top: 6px;
}

.form-group.has-error .form-error { display: block; }

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    accent-color: var(--gold);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--gold);
    text-decoration: underline;
}

.form-success {
    display: none;
    padding: 20px;
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    border-radius: var(--border-radius-sm);
    color: #276749;
    text-align: center;
    margin-top: 1rem;
}

.form-success.show { display: block; }

/* ============================================
   LEGAL PAGE
   ============================================ */
.legal-section {
    padding: 60px 0 100px;
}

.legal-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.legal-nav a {
    padding: 10px 20px;
    background: var(--gray-100);
    border-radius: var(--border-radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.legal-nav a:hover {
    background: var(--navy);
    color: var(--white);
}

.legal-block {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-200);
}

.legal-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-block h2 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.legal-block h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin: 1.5rem 0 0.75rem;
}

.legal-block p,
.legal-block li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.legal-block ul {
    padding-left: 1.5rem;
    list-style: disc;
}

.legal-block ul li {
    margin-bottom: 0.5rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-navy);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 169, 81, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--navy);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    margin-bottom: 1.25rem;
    display: inline-flex;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.88rem;
}

.footer-contact svg {
    color: var(--gold);
    min-width: 16px;
    margin-top: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact a:hover { color: var(--gold); }

.footer-disclaimer {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-disclaimer p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    line-height: 1.6;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--navy);
    border-top: 1px solid rgba(200, 169, 81, 0.2);
    z-index: 9999;
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.cookie-content p a {
    color: var(--gold);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE: TABLET
   ============================================ */
@media (max-width: 1024px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 40px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .contact-grid { gap: 40px; }
}

/* ============================================
   RESPONSIVE: MOBILE
   ============================================ */
@media (max-width: 768px) {
    :root { --header-height: 70px; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 24px 40px;
        gap: 4px;
        z-index: 999;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-xl);
    }

    .nav-links.active { right: 0; }

    .nav-links a {
        padding: 14px 18px;
        font-size: 1rem;
        border-radius: var(--border-radius-sm);
    }

    .mobile-toggle { display: block; }

    .nav-actions .btn {
        display: none;
    }

    /* Hero */
    .hero { min-height: auto; padding: calc(var(--header-height) + 40px) 0 60px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }

    /* Trust */
    .trust-grid { grid-template-columns: 1fr; }

    /* About */
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .about-image img { height: 260px; }
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }

    /* Products */
    .products-grid,
    .courses-grid { grid-template-columns: 1fr; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 24px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }

    /* Cookie */
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-actions { width: 100%; justify-content: center; }

    /* Legal Nav */
    .legal-nav { gap: 8px; }
    .legal-nav a { padding: 8px 14px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 2rem; }
}
