/* ==========================================================================
   RA NEXUS - Premium Day Mode Design System
   Color Palette: Warm Gold/Yellow (#F59E0B, #D97706, #EAB308), Clean White (#FFFFFF), Soft Slate (#F8FAFC, #F1F5F9), Deep Charcoal (#0F172A)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Day Mode Color Palette */
  --bg-dark: #FFFFFF;
  --bg-surface-1: #F8FAFC;
  --bg-surface-2: #F1F5F9;
  --bg-surface-3: #E2E8F0;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-card: #FFFFFF;
  --bg-glass-card-hover: rgba(245, 158, 11, 0.06);

  --accent-yellow: #D97706;
  --accent-yellow-bright: #F59E0B;
  --accent-yellow-light: #FEF3C7;
  --accent-gold: #B45309;
  --accent-amber: #D97706;
  --accent-yellow-glow: rgba(245, 158, 11, 0.2);
  --accent-yellow-glow-strong: rgba(245, 158, 11, 0.35);

  --text-white: #0F172A; /* In Day Mode, main headers are deep dark charcoal */
  --text-dark: #0F172A;
  --text-light-grey: #1E293B;
  --text-grey: #475569;
  --text-muted-grey: #64748B;
  --border-grey: rgba(15, 23, 42, 0.1);
  --border-grey-hover: rgba(217, 119, 6, 0.4);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Layout */
  --container-max: 1320px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 35px rgba(245, 158, 11, 0.15);
  --shadow-glow-lg: 0 0 60px rgba(245, 158, 11, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-grey);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  color: var(--text-grey);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* No Break for Brand Name */
.brand-name {
  white-space: nowrap !important;
  display: inline-block;
}

/* Selection & Scrollbar */
::selection {
  background: var(--accent-yellow-light);
  color: var(--accent-gold);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-surface-1);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-3);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-surface-1);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-yellow-bright);
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Container & Grid Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-darker {
  background-color: var(--bg-surface-1);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--accent-yellow-light);
  border: 1px solid rgba(217, 119, 6, 0.25);
  color: var(--accent-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.section-title span.highlight {
  color: var(--accent-yellow);
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-grey);
  font-weight: 400;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
  border: 1px solid #D97706;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--bg-surface-2);
  color: var(--text-dark);
  border: 1px solid var(--border-grey);
}

.btn-secondary:hover {
  background: var(--accent-yellow-light);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-yellow);
  border: 1.5px solid var(--accent-yellow);
}

.btn-outline:hover {
  background: var(--accent-yellow);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

/* Floating WhatsApp Quick Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-normal);
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Sticky Header & Navbar (Day Mode) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-grey);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  height: 74px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.logo-text span {
  color: var(--accent-yellow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-yellow);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--accent-yellow);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Nav Dropdown Menu (Day Mode) */
.nav-item {
  position: relative;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 320px;
  background: #FFFFFF;
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 1100;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.dropdown-item i {
  color: var(--accent-yellow);
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.dropdown-item:hover {
  background: var(--accent-yellow-light);
  color: var(--accent-yellow);
  transform: translateX(4px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section (Day Mode) */
.hero {
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 5rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-surface-1) 0%, var(--bg-dark) 100%);
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  filter: contrast(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  background: var(--accent-yellow-light);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-yellow);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-yellow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-yellow);
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  color: var(--accent-yellow);
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-grey);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

/* Scene Simulator Showcase Box */
.scene-simulator {
  background: #FFFFFF;
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-xl);
  padding: 0.65rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.scene-simulator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
  z-index: 2;
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-grey);
}

.sim-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sim-title i {
  color: var(--accent-yellow);
}

.sim-badge {
  font-size: 0.75rem;
  background: var(--accent-yellow-light);
  color: var(--accent-yellow);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.sim-screen {
  position: relative;
  width: 100%;
  min-height: 440px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
}

.sim-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.8s ease;
}

.sim-overlay-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
}

.sim-caption {
  color: #FFFFFF;
}

.sim-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.sim-btn {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-grey);
  font-size: 0.8rem;
  color: var(--text-dark);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.sim-btn:hover, .sim-btn.active {
  background: var(--accent-yellow-light);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

/* Stats Counter Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-grey);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-grey);
  font-weight: 600;
}

/* About & Cards (Day Mode) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-grey);
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-highlight-box {
  background: var(--bg-surface-2);
  border-left: 4px solid var(--accent-yellow);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.about-philosophy {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.about-philosophy span {
  color: var(--accent-yellow);
}

.story-timeline {
  display: grid;
  gap: 1.5rem;
}

.timeline-card {
  background: #FFFFFF;
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.timeline-card:hover {
  border-color: var(--accent-yellow);
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.timeline-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.timeline-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-yellow-light);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Why Cards & Service Cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.why-card {
  background: #FFFFFF;
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  background: #FFFFFF;
  border-color: var(--accent-yellow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 25px rgba(245, 158, 11, 0.12);
}

.why-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-yellow-light);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.why-card:hover .why-icon-box {
  background: var(--accent-yellow);
  color: #FFFFFF;
  box-shadow: 0 0 20px var(--accent-yellow-glow);
}

.why-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.why-desc {
  font-size: 0.95rem;
  color: var(--text-grey);
  line-height: 1.6;
}

/* Subpage Hero Banner */
.page-hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
  background: linear-gradient(180deg, var(--bg-surface-1) 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border-grey);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-grey);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--text-grey);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--accent-yellow);
}

.breadcrumb span {
  color: var(--accent-yellow);
  font-weight: 600;
}

.page-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-grey);
  max-width: 780px;
  line-height: 1.7;
}

/* Sub-service Detail Feature Card */
.subservice-card {
  background: #FFFFFF;
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.subservice-card:hover {
  border-color: var(--accent-yellow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(245, 158, 11, 0.1);
}

.subservice-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-yellow-light);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.subservice-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--text-dark);
}

.subservice-desc {
  color: var(--text-grey);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.subservice-features-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-grey);
}

.subservice-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.subservice-feature-item i {
  color: var(--accent-yellow);
  font-size: 0.75rem;
}

/* HIMS Banner */
.hims-banner {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-surface-1) 100%);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hims-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

/* Process Flow */
.process-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.process-card {
  background: #FFFFFF;
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.process-card:hover {
  border-color: var(--accent-yellow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.08);
}

.process-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--accent-yellow);
}

.process-desc {
  font-size: 0.9rem;
  color: var(--text-grey);
}

/* Portfolio Item */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background: #FFFFFF;
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.portfolio-item:hover {
  border-color: var(--accent-yellow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.port-img-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.port-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover .port-img-wrapper img {
  transform: scale(1.08);
}

.port-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent-yellow);
  color: var(--accent-yellow);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.port-info {
  padding: 1.5rem;
}

.port-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.port-desc {
  font-size: 0.9rem;
  color: var(--text-grey);
}

/* Estimator Box */
.estimator-box {
  background: #FFFFFF;
  border: 1px solid var(--border-grey-hover);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
}

.est-group-title {
  font-size: 1.1rem;
  color: var(--accent-yellow);
  margin-bottom: 1rem;
  font-weight: 700;
}

.est-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-grey);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.est-label:hover, .est-label.selected {
  border-color: var(--accent-yellow);
  background: var(--accent-yellow-light);
}

.est-summary-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.est-total-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-yellow);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-card {
  background: #FFFFFF;
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-md);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-yellow);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
  background: #FFFFFF;
}

.contact-info-list {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-yellow-light);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--accent-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.qr-code-box {
  background: #FFFFFF;
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.qr-img {
  width: 90px;
  height: 90px;
  background: white;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--border-grey);
}

/* Footer (Day Mode) */
.footer {
  background: #F8FAFC;
  border-top: 1px solid var(--border-grey);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-grey);
  margin-top: 1rem;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.footer-links {
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-grey);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent-yellow);
}

.footer-bottom {
  border-top: 1px solid var(--border-grey);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted-grey);
  font-size: 0.875rem;
  width: 100%;
}

.footer-bottom div {
  width: 100%;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-grey);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--accent-yellow);
  color: #FFFFFF;
  border-color: var(--accent-yellow);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9999;
}

.toast {
  background: #FFFFFF;
  border: 1px solid var(--accent-yellow);
  color: var(--text-dark);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 10px;
  animation: slideInRight 0.3s forwards;
  font-weight: 600;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Media Queries & Mobile Alignment */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .hims-grid, .contact-grid, .estimator-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #FFFFFF;
    flex-direction: column;
    padding: 2rem;
    align-items: flex-start;
    transition: left var(--transition-normal);
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    border: none;
    padding-left: 1rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .brand-name {
    white-space: nowrap !important;
  }
}
