:root {
  --bg: #e3e6e6; /* Amazon-like light gray background */
  --card-bg: #ffffff; /* Pure white card */
  --header-bg: #131921; /* Amazon Dark Blue */
  --header-text: #ffffff;
  --text: #0F1111; /* Amazon Dark Black */
  --text-muted: #565959; /* Amazon dark gray */
  
  /* VINDEX / AMAZON FUSION ACCENTS */
  --vv-accent: #007185; /* Amazon Link Blue / Teal */
  --vv-accent-hover: #C7511F; /* Amazon Hover Orange/Rust */
  --vv-cta-bg: #FFD814; /* Amazon Primary Yellow */
  --vv-cta-border: #FCD200;
  --vv-cta-hover: #F7CA00;
  
  --border: #D5D9D9; /* Amazon light border */
  --radius: 8px; /* Slightly squarer for that retail feel */
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

@keyframes shimmy {
  0% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  75% { transform: translateX(2px); }
  100% { transform: translateX(0); }
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-pop-in {
  animation: popIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-shimmy:hover {
  animation: shimmy 0.5s ease-in-out;
}

.animate-gradient {
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }

/* LANDING BG LOGO */
.landing-bg-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1; /* Handle opacity on img for better control */
    filter: none;
}
.landing-bg-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0); /* Force black */
    opacity: 0.04; /* Very subtle watermark */
}

/* TYPOGRAPHY */
h1, h2, h3, h4 { margin: 0 0 1rem; font-weight: 700; color: var(--text); }
.hero-title {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    color: #232F3E;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.hero-tagline {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem;
    font-weight: 400;
}
.text-center { text-align: center; }

/* FLOW STEPPER NAV */
.flow-stepper-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}
.flow-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 99px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    transition: all 0.3s ease;
    user-select: none;
    padding-right: 8px;
    cursor: default;
}
.step-item.active {
    opacity: 1;
    color: var(--vv-accent);
}
.step-item.completed {
    opacity: 0.8;
    color: var(--vv-accent);
}
.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e7e7e7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #555;
}
.step-item.active .step-num {
    background: var(--vv-cta-bg);
    color: #111;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.step-item.completed .step-num {
    background: #4caf50; /* Green check style */
    color: #fff;
}
.step-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    display: none;
}
@media (min-width: 650px) {
    .step-label { display: block; }
}
.step-line {
    width: 20px;
    height: 1px;
    background: var(--border);
}

/* CARDS & LAYOUT */
.wrap {
  width: 100%;
  max-width: 1200px; /* Wider for that full-width feel */
  margin: 0 auto;
  padding: 1rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* OLD VIEW LOGIC (Deprecated but kept for transition if needed) */
.view-section {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.view-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* --- NEW CONSOLIDATED LAYOUT --- */
.app-section {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  min-height: 80vh;
  padding-top: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  background: #fff; /* White sections on grey bg */
  margin-bottom: 20px;
}

.wizard-section {
    min-height: 90vh;
    border-bottom: none; /* Flow into next */
    background: transparent; /* Let body bg show */
}

/* Wizard Steps (Internal to Home Section) */
.wizard-step {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.wizard-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}


.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02); /* Subtle default shadow */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.card:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.05); /* Amazon-like deep shadow hover */
    transform: translateY(-2px);
    border-color: #bbb;
}
/* Focus effect for consultancy feel */
.card:focus-within {
    border-color: var(--vv-accent);
    box-shadow: 0 0 0 3px rgba(0, 113, 133, 0.2);
}

/* PACKAGES OVERRIDES */
.vvP-card {
    background: var(--card-bg) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: var(--radius) !important;
    transition: all 0.2s ease !important;
}
.vvP-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border-color: var(--vv-accent) !important;
}
.vvP-tag.featured {
    background: linear-gradient(45deg, #B12704, #e33e14, #B12704) !important; /* Amazon Best Seller Red with sheen */
    background-size: 200% 100% !important;
    animation: gradientShift 4s ease infinite;
    color: #fff !important;
    font-weight: 700;
}
.vvP-name { color: var(--text) !important; font-size: 1.1rem !important; font-weight: 700 !important; }
.vvP-price .big { color: #B12704 !important; font-weight: 700; } /* Price Red */
.vvP-panel {
    background: transparent !important;
    border: none !important;
    padding-left: 0 !important;
}
.vvP-card.selected, .vvP-card[style*="border-color: var(--vv-accent)"] {
    border-color: var(--vv-accent) !important;
    box-shadow: 0 0 0 2px var(--vv-accent) !important;
    background: #f0faff !important;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vv-cta-bg); /* Yellow */
  color: #111;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 99px; /* Pill shape modern */
  border: 1px solid var(--vv-cta-border);
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background-image: linear-gradient(to bottom, #f7dfa5, #f0c14b); /* Slight gradient like Amazon */
}
.btn:hover {
  background: var(--vv-cta-hover);
  background-image: linear-gradient(to bottom, #f5d78e, #eeb933);
  border-color: #a88734;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.btn:active { transform: translateY(0); box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); }

.btn.ghost {
  background: transparent;
  background-image: none;
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}
.btn.ghost:hover {
  border-color: var(--text);
  background: rgba(0,0,0,0.03);
}

.btn.large {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
}

/* INPUTS */
input, select, textarea {
  width: 100%;
  padding: 14px;
  background: #fff;
  border: 1px solid #888; /* Darker border for inputs */
  color: var(--text);
  border-radius: 4px; /* Squarer inputs */
  font-family: var(--font-sans);
  font-size: 1rem;
  margin-top: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box; /* Fix sizing */
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #e77600; /* Focus Orange */
    box-shadow: 0 0 0 3px rgba(231, 118, 0, 0.25);
    background: #fff;
}
label {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700; /* Bold labels */
    text-transform: none;
    letter-spacing: normal;
    margin-top: 1.5rem;
    display: block;
    margin-bottom: 4px;
}
.grid label { margin-top: 0; }

/* UTILS */
.hidden { display: none !important; }
.fade-in { animation: fadeInUp 0.6s ease forwards; }

.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: 1fr 1fr; }
@media(max-width:700px){ .grid.two { grid-template-columns: 1fr; } }

.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; align-items: baseline; }
.kv div:nth-child(odd) { color: var(--text-muted); font-size: 0.85em; text-transform: uppercase; }
.kv div:nth-child(even) { color: var(--text); font-family: var(--font-mono); font-size: 1.1em; }

/* File Drop */
.file-drop-area {
    border: 2px dashed #999;
    padding: 40px;
    text-align: center;
    border-radius: var(--radius);
    background: #f9f9f9;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}
.file-drop-area:hover { border-color: var(--vv-accent); background: #f0f8ff; }
.file-input { position: absolute; inset:0; opacity:0; cursor:pointer; }
.file-msg { color: var(--text-muted); pointer-events: none; }

/* Sticky Bar */
.vvP-sticky {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    z-index: 100; width: 90%; max-width: 600px;
}
.vvP-stickyInner {
    background: rgba(35, 47, 62, 0.95); /* Amazon Dark Blue */
    backdrop-filter: blur(16px);
    color: #fff;
    padding: 12px 24px;
    border-radius: 99px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}
.vvP-stickyText b { color: var(--vv-cta-bg); }
.vvP-stickyBtns button {
    padding: 8px 16px; border-radius: 99px; border:none; cursor: pointer; font-weight: 600;
}
.vvP-stickyBtns .go { background: var(--vv-cta-bg); color: #111; }

/* HEADER */
.oracle-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: var(--header-bg);
  color: var(--header-text);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px; z-index: 1000;
}
.nav-logo { 
    height: 48px; /* Slightly smaller to fit header */
    width: auto; 
    /* Logo is likely dark, invert it for dark header if needed, or rely on it being white/light */
    filter: brightness(0) invert(1); 
}

.page-logo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
  text-align: center;
}
.page-logo-header img {
  height: 90px;
  width: auto;
  margin-bottom: 1rem;
  /* Adjust based on background */
}

.oracle-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.oracle-menu a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: none; /* Less aggressive than uppercase */
  transition: all 0.2s;
}
.oracle-menu a:hover, .oracle-menu a.active {
  color: #fff;
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  position: relative;
}
.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: #fff;
  left: 0;
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

@media (max-width: 768px) {
  .oracle-menu {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--header-bg);
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid #333;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  }
  .oracle-menu.open {
    display: flex;
  }
  .oracle-menu a {
    width: 100%;
    padding: 1.5rem 2rem;
    border-top: 1px solid #333;
    color: #fff;
  }
  .menu-toggle {
    display: block;
  }
}

/* Footer */
.oracle-footer {
    border-top: 1px solid var(--border); margin-top: auto; padding: 40px;
    text-align: center; color: #fff; font-size: 0.8rem;
    background: #232F3E;
}
.oracle-footer a { color: #ddd; text-decoration: none; }
.oracle-footer a:hover { text-decoration: underline; }

/* --- ADDED FOR NEW FLOW --- */
.category-card {
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
}
.category-card:hover {
    transform: translateY(-5px);
    border-color: #e77600;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.category-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.category-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.grid.three {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
    .grid.three {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .grid.three {
        grid-template-columns: 1fr;
    }
}