/* Modern Theme Root Variables */
:root {
    --vf-primary: #545454;
    --vf-accent: #eeb30d;
    --vf-accent-hover: #d9a00a;
    --vf-dark: #f0f2f5;
    --vf-darker: #f8f9fb;
    --vf-light: #1e293b;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --vf-primary: #ffffff;
        --vf-accent: #eeb30d;
  --vf-accent-hover: #f5c534;
   --vf-dark: #1a1a2e;
        --vf-darker: #0f0f1a;
        --vf-light: #e2e8f0;
        --glass-bg: rgba(30, 30, 50, 0.7);
     --glass-border: rgba(255, 255, 255, 0.08);
    }
}

body {
    margin-top: 0;
    background-color: var(--vf-darker);
    color: var(--vf-light);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

/* Hero fills viewport below sticky navbar (--navbar-height from navbar.css) */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--navbar-height, 93px));
    min-height: calc(100dvh - var(--navbar-height, 93px));
    display: flex;
    align-items: center;
    overflow: hidden;
    contain: layout paint;
    background: radial-gradient(circle at top right, #f8f9fb, #eef1f5, #e4e8ee);
}

@media (prefers-color-scheme: dark) {
    .hero-section {
     background: radial-gradient(circle at top right, #1a1a2e, #0f0f1a, #16162a);
    }
}

/* Floating Orbs (Subtle) */
.hero-section::before, .hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    animation: floatOrb 12s infinite alternate;
}
.hero-section::before {
    width: 500px;
    height: 500px;
    background: rgba(238, 179, 13, 0.1);
    top: -150px;
    left: -150px;
}
.hero-section::after {
    width: 400px;
  height: 400px;
    background: rgba(84, 84, 84, 0.1);
    bottom: -100px;
    right: -100px;
    animation-delay: -6s;
}

@media (prefers-color-scheme: dark) {
    .hero-section::before {
      background: rgba(238, 179, 13, 0.15);
    }
    .hero-section::after {
        background: rgba(255, 255, 255, 0.05);
    }
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
 100% { transform: translateY(50px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(to right, var(--vf-accent), var(--vf-accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-glow {
    background: linear-gradient(45deg, var(--vf-accent), var(--vf-accent-hover));
    border: none;
    color: #1e293b;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.btn-glow::before {
    content: '';
  position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, var(--vf-accent-hover), var(--vf-accent));
    z-index: -1;
    transition: opacity 0.3s ease;
  opacity: 0;
}
.btn-glow:hover::before {
    opacity: 1;
}
.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(238, 179, 13, 0.4);
 color: #1e293b;
}

.btn-outline-glow {
    border: 2px solid var(--vf-accent);
  color: var(--vf-accent);
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-glow:hover {
    background: var(--vf-accent);
 color: #1e293b;
    transform: translateY(-3px);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--vf-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
}
.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), 0 16px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(238, 179, 13, 0.35);
}

.glass-card-static,
.glass-card-static:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
    border-color: var(--glass-border);
}

@media (prefers-color-scheme: dark) {
    .glass-card {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    .glass-card:hover {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }
    .glass-card-static,
    .glass-card-static:hover {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        border-color: var(--glass-border);
    }
}

.glass-card .icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(238, 179, 13, 0.2), rgba(84, 84, 84, 0.15));
 display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--vf-accent);
 transition: transform 0.3s ease;
}
.glass-card:hover > .icon-wrapper {
    transform: rotate(15deg) scale(1.1);
}

/* Sections */
.section-dark {
 background-color: var(--vf-darker);
}

/* Blog card placeholder images */
.blog-card-placeholder {
    height: 200px;
    background: linear-gradient(45deg, #e8ecf1, #dde2e8);
    position: relative;
}

@media (prefers-color-scheme: dark) {
    .blog-card-placeholder {
    background: linear-gradient(45deg, #1a1a2e, #16162a);
    }
}

.blog-card-placeholder-alt {
    height: 200px;
    background: linear-gradient(135deg, #e8ecf1, #dde2e8);
    position: relative;
}

@media (prefers-color-scheme: dark) {
    .blog-card-placeholder-alt {
        background: linear-gradient(135deg, #1a1a2e, #16162a);
    }
}

.blog-card-badge {
  position: absolute;
    bottom: 15px;
    left: 15px;
}

/* Inline text color replacements */
.text-muted-custom {
    color: #64748b;
}

@media (prefers-color-scheme: dark) {
    .text-muted-custom {
        color: #94a3b8;
    }
}

/* Section backgrounds */
.section-bg-white {
    background-color: #ffffff;
}

@media (prefers-color-scheme: dark) {
    .section-bg-white {
   background-color: #16162a;
    }
}

.section-bg-alt {
    background-color: var(--vf-dark);
}

/* CTA abstract shape */
.cta-orb {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(238, 179, 13, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

@media (prefers-color-scheme: dark) {
  .cta-orb {
        background: radial-gradient(circle, rgba(238, 179, 13, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    }
}

/* Section divider accent bar */
.accent-bar {
    height: 4px;
    width: 60px;
    background: linear-gradient(to right, var(--vf-accent), var(--vf-accent-hover));
    border-radius: 2px;
}

.accent-bar-reverse {
    height: 4px;
  width: 60px;
    background: linear-gradient(to right, var(--vf-accent-hover), var(--vf-accent));
    border-radius: 2px;
}

/* Dark mode text overrides */
@media (prefers-color-scheme: dark) {
    .text-dark {
  color: #e2e8f0 !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
