/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}



/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Colors */
  --primary: #1575FF;
  --primary-dark: #0D5CE6;
  --primary-light: #4A90FF;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Neutrals */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Semantic colors */
  --bg: #ffffff;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Typography */
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.25rem;
  --font-2xl: 1.5rem;
  --font-3xl: 1.875rem;
  --font-4xl: 2.25rem;
  --font-5xl: 3rem;
  --font-6xl: 3.75rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Border radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.cursor-follower {
  display: none;
}

.cursor-magnetic {
  display: none;
}

/* Hide default cursor on interactive elements */
a, button, .interactive, .card, .feature-card, .solution-card {
  cursor: none;
}

/* Ensure cursor is hidden on the entire body */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  overflow-x: hidden;
  cursor: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: var(--font-5xl);
  font-weight: 800;
}

h2 {
  font-size: var(--font-4xl);
}

h3 {
  font-size: var(--font-2xl);
}

h4 {
  font-size: var(--font-xl);
}

p {
  color: var(--text-muted);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--font-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-base);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-ghost:hover {
  background: var(--gray-50);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--font-lg);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: var(--font-xl);
  color: var(--neutral-900);
  text-decoration: none;
}

.nav-brand .logo {
  width: 36px;
  height: 28px;
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-brand:hover .logo {
  transform: scale(1.08);
}

.logo-text {
  font-weight: 800;
  font-size: var(--font-xl);
  color: var(--neutral-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  background: none;
  border: none;
  cursor: none;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.dropdown-arrow {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-md);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--gray-50);
}

.dropdown-icon {
  font-size: var(--font-xl);
}

.dropdown-title {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.dropdown-desc {
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: none;
  padding: var(--space-sm);
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: var(--space-2xl);
  overflow: visible;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  z-index: -2;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-xl);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  margin-bottom: var(--space-xl);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: var(--font-xl);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 10px;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: var(--font-2xl);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ===== HERO MOCKUP ===== */
.hero-visual {
  position: relative;
}

.mockup-container {
  position: relative;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.mockup-container:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-main {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
}

.mockup-controls {
  display: flex;
  gap: var(--space-sm);
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control.red { background: #ef4444; }
.control.yellow { background: #f59e0b; }
.control.green { background: #10b981; }

.mockup-title {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-muted);
}

.mockup-content {
  display: flex;
  height: 300px;
}

.mockup-sidebar {
  width: 200px;
  background: var(--gray-50);
  padding: var(--space-lg);
  border-right: 1px solid var(--border);
}

.sidebar-item {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  font-size: var(--font-sm);
  margin-bottom: var(--space-sm);
  transition: var(--transition);
}

.sidebar-item.active {
  background: var(--primary);
  color: white;
}

.mockup-main-content {
  flex: 1;
  padding: var(--space-lg);
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.content-header h3 {
  font-size: var(--font-lg);
}

.progress-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-svg {
  transform: rotate(-90deg);
}

.progress-bg {
  fill: none;
  stroke: var(--gray-200);
  stroke-width: 4;
}

.progress-fill {
  fill: none;
  stroke: var(--primary);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: calc(2 * 3.14159 * 25);
  stroke-dashoffset: calc(2 * 3.14159 * 25 * (1 - var(--progress) / 100));
  transition: stroke-dashoffset 1s ease;
}

.progress-text {
  position: absolute;
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--primary);
}

.content-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mini-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--gray-50);
  border-radius: var(--radius);
  transition: var(--transition);
}

.mini-card:hover {
  background: var(--gray-100);
  transform: translateX(4px);
}

.card-icon {
  font-size: var(--font-lg);
}

.card-title {
  font-weight: 600;
  font-size: var(--font-sm);
}

.card-meta {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

/* ===== FLOATING CARDS ===== */
.floating-cards {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 20%;
  right: -10%;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 30%;
  left: -15%;
  animation-delay: 2s;
}

.floating-card.card-3 {
  top: 60%;
  right: -5%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(1deg);
  }
  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

.card-header {
  font-size: var(--font-sm);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.card-content {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

/* ===== SECTION SPACING FIXES ===== */
.features-section,
.solutions-section,
.faq-section {
  padding: var(--space-3xl) 0;
}

/* Ensure consistent section spacing */
.section,
.features-section,
.solutions-section,
.faq-section,
.cta-section {
  padding: var(--space-3xl) 0;
}

/* Add extra spacing between major sections for better visual separation */
.features-section {
  padding: calc(var(--space-3xl) * 1.25) 0;
  background: var(--gray-50);
}

.solutions-section {
  padding: calc(var(--space-3xl) * 1.25) 0;
  background: var(--gray-50);
}

.faq-section {
  padding: calc(var(--space-3xl) * 1.25) 0;
}

/* ===== BENTO GRID ===== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  grid-template-areas:
    "large large medium-1 small-1"
    "large large medium-2 small-2"
    "wide wide wide wide";
}

.bento-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-item:hover::before {
  opacity: 1;
}

.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.bento-item.large {
  grid-area: large;
}

.bento-item.medium:nth-of-type(2) {
  grid-area: medium-1;
}

.bento-item.medium:nth-of-type(3) {
  grid-area: medium-2;
}

.bento-item.small:nth-of-type(4) {
  grid-area: small-1;
}

.bento-item.small:nth-of-type(5) {
  grid-area: small-2;
}

.bento-item.wide {
  grid-area: wide;
}

.bento-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bento-icon {
  display: none;
}

.bento-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  margin-top: 0;
}

.bento-description {
  margin-bottom: var(--space-lg);
}

/* ===== BENTO VISUALS ===== */
.bento-visual {
  margin-top: var(--space-lg);
}

.ai-demo {
  position: relative;
  height: 120px;
  background: var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
}

.detection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.detection-point {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  animation: detect 2s infinite;
}

.detection-point.active {
  background: var(--primary);
}

@keyframes detect {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.7; }
}

.ai-status {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.green {
  background: var(--success);
  animation: pulse 2s infinite;
}

.chart-demo {
  display: flex;
  align-items: end;
  gap: var(--space-sm);
  height: 80px;
  margin-top: var(--space-lg);
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  animation: chart-grow 2s ease-out;
}

@keyframes chart-grow {
  from { height: 0; }
  to { height: var(--height, 50%); }
}

.security-demo {
  margin-top: var(--space-lg);
}

.encryption-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.data-flow {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  font-size: var(--font-xl);
}

.encryption-arrow {
  color: var(--primary);
  font-weight: bold;
  animation: flow 2s ease-in-out infinite;
}

@keyframes flow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

.adaptive-demo {
  margin-top: var(--space-lg);
}

.question-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.question-node {
  padding: var(--space-sm) var(--space-md);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: var(--font-sm);
  font-weight: 600;
  transition: var(--transition);
}

.question-node.active {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.flow-arrow {
  color: var(--text-muted);
  font-weight: bold;
}

/* ===== SOLUTIONS SECTION ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-2xl);
}

.solution-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.solution-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.solution-icon {
  display: none;
}

.solution-title {
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

.solution-description {
  margin-bottom: var(--space-lg);
}

.solution-features {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.solution-features li {
  padding: var(--space-sm) 0;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
}

.solution-features li::before {
  content: '•';
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
  margin-right: 8px;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.solution-link:hover {
  gap: var(--space-md);
}

.link-arrow {
  transition: transform 0.2s ease;
}

.solution-link:hover .link-arrow {
  transform: translateX(4px);
}

/* ===== FAQ ACCORDION ===== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  background: white;
  border: none;
  text-align: left;
  font-size: var(--font-lg);
  font-weight: 600;
  cursor: none;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-icon {
  font-size: var(--font-xl);
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 var(--space-xl) var(--space-xl);
}

.faq-answer p {
  margin: 0;
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.cta-title {
  color: white;
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  font-size: var(--font-lg);
  margin-bottom: var(--space-2xl);
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
}

.cta-section .btn-primary {
  background: white;
  color: var(--primary);
}

.cta-section .btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.cta-section .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* ===== SITE HEADER & FOOTER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 70px;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: var(--font-xl);
  color: var(--neutral-900);
  text-decoration: none;
}

.site-header .logo {
  width: 36px;
  height: 28px;
  transition: var(--transition);
  flex-shrink: 0;
}

.site-header .logo svg {
  width: 100%;
  height: 100%;
}

.site-header .brand:hover .logo {
  transform: scale(1.08);
}

.site-header .brand-name {
  font-weight: 800;
  font-size: var(--font-xl);
  color: var(--neutral-900);
}

.site-header .hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: none;
  padding: var(--space-sm);
}

.site-header .hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.site-header #primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .nav-links li {
  margin: 0;
}

.site-header .nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.site-header .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.site-header .nav-links a:hover::after {
  width: 100%;
}

.site-header .nav-cta {
  margin-left: var(--space-lg);
}

.site-header .nav-cta .btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-sm);
}

.site-footer {
  background: var(--gray-900);
  color: white;
  padding: var(--space-3xl) 0 var(--space-xl);
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.site-footer .footer-content {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.site-footer p {
  margin: 0;
  color: var(--gray-400);
  font-size: var(--font-sm);
}

/* ===== HERO MINIMAL ===== */
.hero-minimal {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: var(--space-3xl);
  position: relative;
  overflow: visible;
}

.hero-minimal .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
  text-align: center;
}

.hero-minimal .hero-copy {
  max-width: 800px;
  margin: 0 auto;
}

.hero-minimal .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.hero-minimal h1 {
  font-size: var(--font-5xl);
  font-weight: 800;
  margin-bottom: var(--space-xl);
  color: var(--text);
}

.hero-minimal .subtitle {
  font-size: var(--font-xl);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
}

/* ===== SECTION ALT ===== */
.section-alt {
  background: var(--gray-50);
}

/* ===== BG GRADIENTS ===== */
.bg-gradients {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: -1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  animation: blob-float 6s ease-in-out infinite;
}

.blob-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  top: 60%;
  right: -10%;
  animation-delay: 3s;
}

@keyframes blob-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(10px) rotate(240deg);
  }
}

/* ===== BENTO CARDS ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.bento-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.bento-card h3 {
  font-size: var(--font-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text);
}

.bento-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== HOW STEPS ===== */
.how-steps {
  list-style: none;
  padding: 0;
  margin: var(--space-2xl) 0;
  counter-reset: step-counter;
}

.how-steps li {
  position: relative;
  padding: var(--space-lg) var(--space-xl);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.how-steps li:hover {
  transform: translateX(8px);
  background: white;
  box-shadow: var(--shadow-md);
}

.how-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-lg);
}

/* ===== ROADMAP ===== */
.roadmap {
  list-style: none;
  padding: 0;
  margin: var(--space-2xl) 0;
}

.roadmap li {
  position: relative;
  padding: var(--space-xl) var(--space-2xl);
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.roadmap li:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.roadmap li::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--primary);
}

/* ===== WORKFLOW DEMO ===== */
.workflow-demo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  min-width: 80px;
}

.workflow-step.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.workflow-step .step-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.workflow-step.active .step-number {
  color: white;
}

.workflow-step .step-label {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
}

.workflow-step.active .step-label {
  color: white;
}

.flow-arrow {
  color: var(--primary);
  font-weight: bold;
  font-size: 16px;
}

/* ===== SECURITY INDICATORS ===== */
.security-indicators {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.security-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.security-indicator .material-icons {
  font-size: 16px;
  color: var(--primary);
}

/* ===== DASHBOARD PREVIEW ===== */
.dashboard-preview {
  margin-top: 16px;
}

.dashboard-metrics {
  display: flex;
  gap: 12px;
  justify-content: space-around;
  flex-wrap: wrap;
}

.metric {
  background: var(--gray-100);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
}

/* ===== INTEGRATION FLOW ===== */
.integration-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.integration-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  min-width: 100px;
}

.integration-step.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.integration-step .step-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.integration-step.active .step-number {
  color: white;
}

.integration-step .step-label {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
}

.integration-step.active .step-label {
  color: white;
}

/* ===== ROADMAP ITEMS ===== */
.roadmap-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.roadmap-item {
  position: relative;
  padding: var(--space-xl) var(--space-2xl);
  background: white;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.roadmap-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.roadmap-item::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--primary);
}

.roadmap-phase {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.phase-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-lg);
}

.roadmap-item h3 {
  margin: 0;
  color: var(--text);
  font-size: var(--font-xl);
  font-weight: 700;
}

.roadmap-item p {
  margin: var(--space-sm) 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.phase-status {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gray-100);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.phase-status.in-development {
  background: #dcfce7;
  color: #166534;
}

.phase-status.planned {
  background: #fef3c7;
  color: #92400e;
}

.phase-status.future {
  background: #e2e8f0;
  color: #475569;
}

/* ===== PROTOTYPE SECTION ===== */
.prototype-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.prototype-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.prototype-container {
  position: relative;
  z-index: 1;
}

.prototype-frame {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1),
              0 0 0 1px rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.prototype-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3rem;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

.prototype-frame::after {
  content: '● ● ●';
  position: absolute;
  top: 0.75rem;
  left: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.5rem;
}

.prototype-frame iframe {
  border-radius: 0.75rem;
  margin-top: 3rem;
  width: 100%;
  min-height: 600px;
  border: none;
  background: #f8fafc;
}

.prototype-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: white;
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-logo {
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.footer-tagline {
  color: var(--gray-400);
  margin-bottom: var(--space-lg);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: var(--space-lg);
}

.social-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--primary);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.footer-title {
  font-size: var(--font-base);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: white;
}

.footer-link {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  margin-bottom: var(--space-sm);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--space-xl);
  text-align: center;
}

.footer-copyright {
  color: var(--gray-400);
  margin: 0;
}

/* ===== ANIMATIONS ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-tilt] {
  transition: transform 0.3s ease;
}

/* ===== COUNTER ANIMATION ===== */
[data-counter] {
  font-variant-numeric: tabular-nums;
}

/* ===== MOBILE MOCKUP STYLES ===== */
.mobile-mockup-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-mockup {
  width: 280px;
  height: 580px;
  border-radius: 40px;
  padding: 8px;
  position: relative;
  z-index: 2;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.mobile-app-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.mobile-mockup:hover .mobile-app-image {
  transform: translateY(-5px);
}

.mobile-header {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mobile-notch {
  width: 120px;
  height: 25px;
  background: #1a1a1a;
  border-radius: 0 0 15px 15px;
  position: absolute;
  top: 0;
}

.mobile-status {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.mobile-indicators {
  display: flex;
  gap: 4px;
  align-items: center;
}

.mobile-screen {
  width: 100%;
  height: calc(100% - 40px);
  background: #f8f9fa;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.app-content {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}

.greeting-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.greeting-text h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
}

.notification-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-icon {
  font-size: 20px;
  position: relative;
}

.notification-icon::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
}

.profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.id-card {
  background: linear-gradient(135deg, var(--primary) 0%, #4A90FF 100%);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  color: white;
}

.id-card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.id-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.id-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.id-info h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
}

.pronouns {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.8;
}

.id-details {
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.9;
}

.id-details p {
  margin: 4px 0;
}

.id-number {
  text-align: center;
}

.id-number h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
}

.id-number p {
  margin: 4px 0 0 0;
  font-size: 12px;
  opacity: 0.8;
}

.id-menu {
  position: absolute;
  top: 20px;
  right: 20px;
}

.menu-dots {
  font-size: 20px;
  color: white;
  cursor: pointer;
}

.upcoming-exams {
  margin-bottom: 24px;
}

.upcoming-exams h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.exam-cards {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.exam-card {
  min-width: 200px;
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.exam-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.exam-icon.upsc {
  background: #fef3c7;
}

.exam-icon.rrb {
  background: #fee2e2;
}

.exam-info {
  flex: 1;
}

.exam-info h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.exam-info p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.3;
}

.exam-arrow {
  color: var(--primary);
  font-weight: bold;
}

.trending-section h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.trending-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trending-image {
  height: 120px;
  background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.building-placeholder {
  font-size: 40px;
}

.trending-content {
  padding: 16px;
}

.trending-content h4 {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

.trending-category {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

.bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0;
  background: white;
  border-top: 1px solid #e5e7eb;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  transition: var(--transition);
}

.nav-item.active {
  background: var(--primary);
}

.nav-item.active .nav-icon {
  filter: brightness(0) invert(1);
}

.nav-icon {
  font-size: 20px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--primary);
  color: white;
}

.app-logo {
  font-size: 24px;
}

.profile-icon {
  font-size: 20px;
}

.screen-content {
  padding: 20px;
}

.welcome-card {
  background: var(--gray-50);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.welcome-card h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.welcome-card p {
  margin: 0;
  color: var(--text-muted);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
}

.action-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.action-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.action-card span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

/* Updated Floating Screens */
.floating-screens {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: visible;
}

.floating-screen {
  position: absolute;
  width: 180px;
  height: 140px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 12px;
  animation: float 6s ease-in-out infinite;
}

.screen-1 {
  top: 15%;
  left: -10%;
  animation-delay: 0s;
}

.screen-2 {
  top: 45%;
  right: -20%;
  animation-delay: 2s;
}

.screen-3 {
  top: 70%;
  left: -10%;
  animation-delay: 4s;
}

.screen-header {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.status-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status-item {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.status-item.completed {
  background: #dcfce7;
  color: #166534;
}

.status-item.pending {
  background: #fef3c7;
  color: #92400e;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.quick-action {
  font-size: 10px;
  padding: 6px;
  background: var(--gray-50);
  border-radius: 6px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notification-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}

.notif-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.form-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step {
  padding: 6px 12px;
  background: var(--gray-100);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.step.active {
  background: var(--primary);
  color: white;
}

.scanner-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scan-frame {
  width: 60px;
  height: 40px;
  border: 2px dashed var(--primary);
  border-radius: 4px;
}

.scanner-view p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.calendar-view {
  text-align: center;
}

.calendar-date {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.calendar-view p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* ===== STUDENT PAGE SPECIFIC STYLES ===== */

/* Phone Mockup Improvements */
.phone-mockup {
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  border-radius: 40px;
  padding: 8px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) translateY(-10px);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f8fafc;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.app-header {
  background: white;
  padding: 0;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.signal-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.wifi, .battery {
  width: 16px;
  height: 12px;
  background: #1a1a1a;
  border-radius: 2px;
}

.app-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.app-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.app-content {
  flex: 1;
  padding: 20px;
  background: #f8fafc;
}

.exami-id-card {
  background: linear-gradient(135deg, var(--primary) 0%, #4A90FF 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  color: white;
  text-align: center;
}

.id-header {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.id-number {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.id-status {
  font-size: 14px;
  opacity: 0.9;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.action-item {
  background: white;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.action-item:hover {
  transform: translateY(-2px);
}

.action-item .material-icons {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.action-item span:last-child {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
}

/* Features Section Improvements */
.features-section {
  padding: 80px 0;
  background: #f8fafc;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  grid-template-areas:
    "large large medium-1 small-1"
    "large large medium-2 small-2"
    "wide wide wide wide";
}

.bento-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-item:hover::before {
  opacity: 1;
}

.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.bento-item.large {
  grid-area: large;
}

.bento-item.medium-1 {
  grid-area: medium-1;
}

.bento-item.medium-2 {
  grid-area: medium-2;
}

.bento-item.small-1 {
  grid-area: small-1;
}

.bento-item.small-2 {
  grid-area: small-2;
}

.bento-item.wide {
  grid-area: wide;
}

.bento-content {
  position: relative;
  z-index: 1;
}

.bento-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.bento-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.bento-description {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Student ID Card Styles */
.student-id-card {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.student-id-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.id-demo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

/* Remove the old demo styles */
.demo-id,
.demo-text {
  display: none;
}

/* Process Flow Styles */
.process-flow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.step-node.active .step-number {
  background: var(--primary);
  color: white;
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-align: center;
}

.flow-arrow {
  color: #cbd5e1;
  font-weight: bold;
  font-size: 18px;
}

/* Accordion Styles */
.how-it-works-section {
  padding: 80px 0;
  background: white;
}

.accordion-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.accordion-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: white;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #1a1a1a;
}

.accordion-question:hover {
  background: #f8fafc;
}

.accordion-icon {
  font-size: 24px;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-answer {
  max-height: 500px;
  padding: 0 24px 24px;
}

.accordion-content {
  color: #64748b;
  line-height: 1.6;
}

.feature-highlights {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
}

.highlight-item .material-icons {
  font-size: 18px;
  color: var(--primary);
}

/* Application Demo Styles */
.application-demo {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.demo-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.step-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.step-content h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.step-content p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

/* Calendar Preview Styles */
.calendar-preview {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.calendar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.calendar-header .material-icons {
  color: var(--primary);
}

.calendar-events {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-item {
  display: flex;
  gap: 16px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.event-date {
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
  min-width: 50px;
}

.event-details {
  flex: 1;
}

.event-title {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
  font-size: 14px;
}

.event-type {
  font-size: 12px;
  color: #64748b;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

/* Center Assignment Styles */
.center-assignment {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.assignment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  flex: 1;
}

.assignment-option .material-icons {
  color: var(--primary);
  font-size: 24px;
}

.assignment-option h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}

.assignment-option p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background: #f8fafc;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.benefit-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.benefit-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.benefit-description {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.benefit-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

/* CTA Section Improvements */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #4A90FF 100%);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.cta-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: white;
  color: var(--primary);
}

.cta-section .btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  background: transparent;
}

.cta-section .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.cta-features {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
}

.cta-feature .material-icons {
  font-size: 18px;
}

/* Navbar Spacing Fix */
.navbar {
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #4A90FF 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

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

.nav-link {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "large large"
      "medium-1 medium-2"
      "small-1 small-2"
      "wide wide";
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-visual {
    order: -1;
    margin-bottom: 40px;
  }
  
  .phone-mockup {
    transform: none;
    width: 280px;
    height: 560px;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    gap: 20px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "large"
      "medium-1"
      "medium-2"
      "small-1"
      "small-2"
      "wide";
  }

  .bento-item {
    padding: 24px;
  }

  .accordion-question {
    padding: 20px;
    font-size: 16px;
  }

  .accordion-item.active .accordion-answer {
    padding: 0 20px 20px;
  }

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

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-features {
    flex-direction: column;
    gap: 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .phone-mockup {
    width: 250px;
    height: 500px;
  }

  .feature-highlights {
    flex-direction: column;
    gap: 12px;
  }

  .center-assignment {
    flex-direction: column;
  }

  .process-flow {
    justify-content: center;
  }

  .mobile-mockup {
    width: 240px;
    height: 480px;
  }

  .floating-screen {
    width: 160px;
    height: 120px;
    padding: 12px;
  }

  .screen-1 {
    left: -15%;
  }

  .screen-2,
  .screen-3 {
    right: -20%;
  }

  /* New responsive styles for institution/government pages */
  .site-header .container {
    padding: 1rem;
  }

  .site-header .nav-links {
    gap: 1rem;
  }

  .site-header .nav-links a {
    font-size: var(--font-sm);
  }

  .hero-minimal {
    padding-top: 100px;
    min-height: 50vh;
  }

  .hero-minimal h1 {
    font-size: var(--font-4xl);
  }

  .hero-minimal .subtitle {
    font-size: var(--font-lg);
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .bento-card {
    padding: var(--space-xl);
  }

  .how-steps li {
    padding: var(--space-md) var(--space-lg);
  }

  .how-steps li::before {
    width: 32px;
    height: 32px;
    font-size: var(--font-base);
    left: -16px;
  }

  .roadmap li {
    padding: var(--space-lg) var(--space-xl);
  }

  .roadmap li::before {
    width: 20px;
    height: 20px;
    left: -10px;
  }

  .site-footer .footer-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .prototype-section {
    padding: 4rem 0;
  }
  
  .prototype-frame {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  
  .prototype-frame iframe {
    min-height: 400px;
  }
  
  .prototype-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .prototype-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .bento-item {
    padding: 20px;
  }
  
  .benefit-card {
    padding: 24px;
  }
  
  .cta-title {
    font-size: 28px;
  }
  
  .phone-mockup {
    width: 220px;
    height: 440px;
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ===== STUDENT ID CARD IMAGE ===== */
.student-id-card {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  margin: 0 auto;
}

.student-id-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.id-demo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

/* Remove placeholder styles */
.placeholder-card,
.placeholder-header,
.placeholder-content,
.placeholder-photo,
.placeholder-name,
.placeholder-id {
  display: none !important;
}

/* ===== MATERIAL ICONS STYLING ===== */
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: inherit;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  vertical-align: middle;
}

/* Adjust icon sizes for different contexts */
.dropdown-icon .material-icons {
  font-size: 20px;
}

.bento-icon .material-icons {
  font-size: 32px;
}

.solution-icon .material-icons {
  font-size: 28px;
}

.quick-action .material-icons {
  font-size: 16px;
  margin-right: 4px;
}

.status-item .material-icons {
  font-size: 16px;
  margin-right: 4px;
}

.solution-features li .material-icons {
  font-size: 16px;
  margin-right: 8px;
  color: var(--success);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-grid {
    animation: none;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .nav,
  .cursor,
  .cursor-follower,
  .floating-cards {
    display: none;
  }
  
  body {
    cursor: auto;
  }
}
/* ===== MOBILE NAVIGATION FIXES ===== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  display: block;
}

/* Hamburger Animation States */
.nav-open .mobile-menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.nav-open .mobile-menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.nav-open .nav-links {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 1000;
  animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-open .nav-actions {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  display: flex;
}

/* Mobile Menu Link Styles */
.nav-open .nav-link {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

.nav-open .nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-open .nav-link:nth-child(2) { animation-delay: 0.2s; }
.nav-open .nav-link:nth-child(3) { animation-delay: 0.3s; }
.nav-open .nav-link:nth-child(4) { animation-delay: 0.4s; }

.nav-open .nav-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Dropdown in Mobile */
.nav-open .nav-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.nav-open .dropdown-menu {
  position: static;
  display: flex;
  flex-direction: column;
  background: transparent;
  box-shadow: none;
  padding: 0;
  gap: 0.5rem;
}

.nav-open .dropdown-item {
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  margin: 0;
}

/* Prevent body scroll when menu is open */
.nav-open {
  overflow: hidden;
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav-container {
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-brand {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: -44px; /* Offset for hamburger width to center logo */
  }
  
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 3;
  }
}

/* Mobile Frame Styles for Student Page */
.mobile-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 450px;
  margin: 0 auto;
}

.mobile-frame iframe {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 20px !important;
  background: white;
}

@media (max-width: 768px) {
  .mobile-frame {
    padding: 1rem;
    border-radius: 20px;
  }
  
  .mobile-frame iframe {
    width: 320px !important;
    height: 568px !important;
  }
}

@media (max-width: 480px) {
  .mobile-frame iframe {
    width: 280px !important;
    height: 497px !important;
  }
}

/* ===== INLINE LINKS ===== */
.inline-link {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}

.inline-link:hover {
  color: var(--primary-dark);
  text-decoration-color: var(--primary-dark);
}

/* ===== MOBILE-FIRST RESPONSIVE IMPROVEMENTS ===== */

/* Base mobile styles with 30px padding */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px; /* 30px left/right padding for mobile */
}

/* Desktop override */
@media (min-width: 769px) {
  .container {
    padding: 0 2rem;
  }
}

/* ===== FLOATING PILL NAVBAR OVERRIDE ===== */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: auto;
    min-width: 280px;
    max-width: 90vw;
  }

  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    min-height: 60px;
    position: relative;
  }

  /* Logo positioning */
  .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: var(--font-lg);
    color: var(--neutral-900);
    text-decoration: none;
    position: absolute;
    left: 20px;
    z-index: 1002;
    margin-left: 0;
  }

  .nav-brand .logo {
    width: 32px;
    height: 24px;
    transition: var(--transition);
    flex-shrink: 0;
  }

  /* Current page name in center */
  .nav-page-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    font-size: var(--font-base);
    color: var(--text);
    z-index: 1001;
    white-space: nowrap;
  }

  /* Hamburger menu positioning */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 20px;
    z-index: 1002;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-menu-toggle:hover {
    background: rgba(59, 130, 246, 0.1);
  }

  .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    display: block;
    border-radius: 1px;
  }

  /* Hamburger to X animation */
  .nav-expanded .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .nav-expanded .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .nav-expanded .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Expanded pill navbar */
  .nav-expanded {
    width: 90vw;
    max-width: 600px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.98);
  }

  .nav-expanded .nav-container {
    padding: 15px 25px;
    min-height: 70px;
  }

  /* Navigation links in expanded state */
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 25px;
    right: 25px;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-expanded .nav-links {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
  }

  .nav-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  }

  /* Hide dropdown in mobile */
  .nav-dropdown .dropdown-menu {
    display: none;
  }

  /* Flatten dropdown items in mobile */
  .nav-expanded .nav-dropdown {
    display: contents;
  }

  .nav-expanded .dropdown-item {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    display: block;
  }

  .nav-expanded .dropdown-item:hover {
    background: var(--success);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  }

  /* Hide nav actions (Take Survey button) in mobile */
  .nav-actions {
    display: none;
  }
}

/* ===== MOBILE IMAGE OPTIMIZATION ===== */
@media (max-width: 768px) {
  .hero-image,
  .mobile-app-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  }

  .student-id-card {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    margin: 0 auto;
  }
}

/* Mobile-specific image scaling */
@media (max-width: 480px) {
  .hero-image,
  .mobile-app-image {
    max-width: 300px;
  }
  
  .student-id-card {
    max-width: 280px;
  }
}

/* ===== MOBILE LAYOUT IMPROVEMENTS ===== */
@media (max-width: 768px) {
  .hero {
    padding-top: 100px;
    text-align: center;
  }
  
  .hero-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* Section spacing improvements */
@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.5rem 0;
  }
}

/* Grid improvements */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Card improvements */
@media (max-width: 768px) {
  .card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1.25rem;
  }
}

/* Text scaling improvements */
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

/* ===== UTILITY CLASSES ===== */
.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
  
  .desktop-only {
    display: block;
  }
}