/* Index Page Specific Styles - Refined for High-End Design */

:root {
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.07);
}

/* --- FullPage Scroll (PC) --- */
@media (min-width: 1025px) {
  html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scroll-padding-top: 0;
  }

  main > section {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 112px !important; /* 72px Header + 40px Gap */
    padding-bottom: 40px; /* 40px Gap to center content in visible area */
    overflow: hidden;
    position: relative;
    will-change: transform;
  }

  .site-footer {
    scroll-snap-align: end;
    scroll-snap-stop: always;
  }

  main > section .container {
    width: 100%;
    height: 100%; /* Use full height of section */
    max-height: none; /* Remove constraint */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0; /* Remove side padding as container handles it */
    z-index: 2;
  }

  /* Elegant Section Numbering - Removed as per request */
  main > section::before {
    display: none;
  }
}

/* Background Atmosphere */
.bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #fff 0%, #f8fafc 100%);
}

/* --- Section-specific Background Differentiation --- */

/* Section 02: Mission - Humanistic & Warm (Pure White Base) */
#mission {
  background: #ffffff;
}

#mission .bg-deco {
  background: 
    radial-gradient(circle at 10% 20%, rgba(234, 88, 12, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(234, 88, 12, 0.04) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ea580c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

/* Section 03: Trends - Technical & Cool (Slate Tint) */
#trends {
  background: #f1f5f9; /* Slate 100 - More pronounced than Slate 50 */
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

#trends .bg-deco {
  background: 
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
  opacity: 0.5;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(226, 232, 240, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  mix-blend-mode: multiply;
  animation: orb-float 10s ease-in-out infinite alternate;
}

.orb-1 { width: 600px; height: 600px; background: var(--brand-primary); top: -200px; right: -100px; }
.orb-2 { width: 500px; height: 500px; background: #3b82f6; bottom: -100px; left: -100px; animation-delay: -3s; }

@keyframes orb-float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(30px, 20px); }
}

/* Typography & Labels */
.label-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: rgba(234, 88, 12, 0.08);
  color: var(--brand-primary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  border: 1px solid rgba(234, 88, 12, 0.15);
}

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

h1 { font-size: 3.2rem; line-height: 1.2; margin-bottom: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 2.75rem; line-height: 1.2; margin-bottom: 1rem; font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text-main); }
p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; font-weight: 400; }

/* --- Product Hero Optimization (Phone Mockups) --- */
.phone-mockups-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  perspective: 1000px;
  padding: 20px 0;
}

.phone-mockup {
  width: 180px;
  height: 380px;
  background: #000;
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.phone-mockup:nth-child(1) { transform: rotateY(15deg) translateY(-10px); }
.phone-mockup:nth-child(2) { transform: translateZ(20px); z-index: 2; }
.phone-mockup:nth-child(3) { transform: rotateY(-15deg) translateY(10px); }

.phone-mockup:hover {
  transform: translateZ(40px) translateY(-10px) !important;
  box-shadow: 0 30px 60px rgba(234, 88, 12, 0.2);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* Glassy decorative elements for phones */
.phone-mockup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: rgba(255,255,255,0.1);
  z-index: 5;
  border-radius: 28px 28px 0 0;
}

@media (max-width: 768px) {
  .phone-mockups-container {
    gap: 10px;
    transform: scale(0.85);
  }
  .phone-mockup {
    width: 140px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .phone-mockups-container {
    transform: scale(0.7);
    margin-top: -40px;
    margin-bottom: -40px;
  }
  .phone-mockup:nth-child(1), .phone-mockup:nth-child(3) {
    display: none; /* Hide side phones on very small screens to focus on main one */
  }
  .phone-mockup:nth-child(2) {
    transform: none;
    width: 220px;
    height: 460px;
  }
}

/* 01 Hero Section - Optimized Layout */
main > section .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1200px; /* Match standard container width */
  margin: 0 auto;
  padding: 0 24px;
  position: relative; /* Ensure content is above bg-deco */
  z-index: 2;
}

.hero-visual-complex {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-complex svg {
  width: 100%;
  height: auto;
  max-height: 100%;
  filter: drop-shadow(0 40px 80px rgba(234, 88, 12, 0.2));
}

/* 02 Mission - Glass Card Overlay */
.mission-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-text-block {
  padding-right: 40px;
}

.mission-visual-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 40px;
}

.stat-unit {
  text-align: center;
}

.stat-val {
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-key {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* 03 Trends - High-Tech Glass Panels (Redesigned) */
.trends-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trend-card {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 40px 32px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 
    0 10px 30px -5px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* Active Tech Border Animation */
.trend-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, 
    var(--brand-primary), 
    transparent 40%, 
    transparent 60%, 
    #3b82f6
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  animation: border-flow 4s linear infinite;
  background-size: 200% 200%;
}

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

/* Internal Scanning Line */
.card-scanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
    transparent, 
    rgba(59, 130, 246, 0.05) 40%, 
    rgba(59, 130, 246, 0.1) 50%, 
    rgba(59, 130, 246, 0.05) 60%, 
    transparent
  );
  transform: translateY(-100%);
  animation: scan-down 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes scan-down {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* Corner Decorations - Constant Visibility */
.card-deco-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--brand-primary);
  opacity: 0.8;
  z-index: 2;
  transition: all 0.3s ease;
}

.card-deco-corner.top-left {
  top: 12px;
  left: 12px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 4px;
}

.card-deco-corner.bottom-right {
  bottom: 12px;
  right: 12px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 4px;
}

/* Index Number - Tech Style */
.card-index {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: #e2e8f0;
  z-index: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(to bottom, #cbd5e1, #f1f5f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Icon Wrapper - Floating */
.trend-icon-wrapper {
  width: 64px;
  height: 64px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 16px -4px rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(234, 88, 12, 0.1);
  position: relative;
  z-index: 2;
  animation: float-icon 4s ease-in-out infinite;
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0); box-shadow: 0 8px 16px -4px rgba(59, 130, 246, 0.15); }
  50% { transform: translateY(-6px); box-shadow: 0 15px 25px -5px rgba(59, 130, 246, 0.2); }
}

.trend-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

/* Content Styling */
.trend-content {
  position: relative;
  z-index: 2;
}

.trend-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tech Divider */
.divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-primary), transparent);
  margin-bottom: 16px;
  opacity: 0.5;
}

.trend-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Hover Enhancements (Optional but good for interaction) */
.trend-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.trend-card:hover .card-deco-corner {
  width: 24px;
  height: 24px;
  border-color: #3b82f6;
}

/* 04 Tech - Redesigned Cyber Tech Style */
section[data-section="04"] {
  background: #000814; /* Deep space black/blue */
  position: relative;
  overflow: hidden;
  color: #fff;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

/* Dynamic Cyber Grid Background */
section[data-section="04"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
  z-index: 0;
  animation: grid-pulse 8s ease-in-out infinite;
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

/* Ambient Glows */
section[data-section="04"]::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

section[data-section="04"] .container {
  position: relative;
  z-index: 2;
}

/* Typography Overrides */
section[data-section="04"] h2 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

section[data-section="04"] p {
  color: #94a3b8;
}

section[data-section="04"] .label-pill {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

/* Layout - Optimized for Single Screen */
.tech-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr; /* Give more space to visual */
  gap: 48px;
  align-items: center;
  max-width: 100%;
}

/* Tech List & Cards - HUD Style */
.tech-list { 
  display: flex; 
  flex-direction: column; 
  gap: 12px; /* Tighter gap */
  position: relative;
}

/* Connecting Vertical Line (Circuit Trace) */
.tech-list::before {
  content: '';
  position: absolute;
  left: 20px; /* Align with icon center (icon is 40px/2) */
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(to bottom, 
    rgba(59, 130, 246, 0) 0%, 
    rgba(59, 130, 246, 0.3) 20%, 
    rgba(59, 130, 246, 0.3) 80%, 
    rgba(59, 130, 246, 0) 100%
  );
  z-index: 0;
}

.tech-card {
  background: rgba(13, 18, 30, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 14px 20px; /* Reduced vertical padding */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  overflow: hidden;
  cursor: default;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Bracket Corners Removed */

/* Hover & Active States */
.tech-card:hover, .tech-card.active {
  background: rgba(13, 18, 30, 0.8);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateX(10px);
  box-shadow: 
    0 10px 30px -10px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(59, 130, 246, 0.05);
}


/* Content Styling */
.tech-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}

.tech-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.tech-icon svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 5px rgba(96, 165, 250, 0.5));
}

.tech-card.active .tech-icon {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
  color: #fff;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.tech-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0;
  letter-spacing: 0.02em;
}

.tech-card.active h4 {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.tech-card p {
  padding-left: 56px; /* Icon width + gap */
  font-size: 0.9rem;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0;
}

/* Connector Line Animation */
.connector-line {
  position: absolute;
  right: -40px;
  top: 50%;
  width: 40px;
  height: 2px;
  background: #3b82f6;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.4s ease;
}

.tech-card.active .connector-line {
  opacity: 1;
  transform: scaleX(1);
  box-shadow: 0 0 8px #3b82f6;
}

.connector-line::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #3b82f6, 0 0 20px #3b82f6;
}

/* Visual Stack Enhancement - Compact Size */
.tech-visual-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-height: 450px; /* Limit height to prevent overflow */
}

/* Holographic Base */
.tech-visual-stack::after {
  content: '';
  position: absolute;
  bottom: -20px;
  width: 250px;
  height: 50px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
  filter: blur(20px);
  transform: rotateX(60deg);
  z-index: 0;
}

.tech-visual-stack svg {
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 100%;
  filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.15));
  animation: stack-float 6s ease-in-out infinite;
}

@keyframes stack-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 960px) {
  .tech-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-list::before {
    display: none;
  }

  .tech-card {
    text-align: left;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .tech-card p {
    padding-left: 0 !important;
  }
  
  .connector-line { display: none; }
}
/* 05 Scenarios - Advanced Tech Style */
section[data-section="05"] {
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

/* Tech Grid Background */
section[data-section="05"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
  pointer-events: none;
}

section[data-section="05"]::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.scenario-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.interface-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 10px 30px -5px rgba(0,0,0,0.04), 
    0 0 0 1px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.interface-card:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 25px 50px -12px rgba(59, 130, 246, 0.12),
    0 0 0 1px rgba(59, 130, 246, 0.2);
}

/* Card Visual Header */
.card-header-viz {
  height: 220px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  overflow: hidden;
}

/* Inner Grid in Header */
.card-header-viz::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.3;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.card-header-viz svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.08));
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

.interface-card:hover .card-header-viz svg {
  transform: scale(1.08) translateY(-5px);
  filter: drop-shadow(0 20px 40px rgba(59, 130, 246, 0.15));
}

.card-content {
  padding: 36px 32px;
  position: relative;
}

.card-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.02em;
}

/* Animated Arrow */
.card-content h3::after {
  content: '→';
  font-family: system-ui, sans-serif;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--brand-primary);
  font-weight: 600;
}

.interface-card:hover .card-content h3::after {
  opacity: 1;
  transform: translateX(0);
}

.card-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Gradient Line Interaction */
.interface-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), #3b82f6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.interface-card:hover::after {
  transform: scaleX(1);
}

/* Responsive */
@media (max-width: 1024px) {
  main > section { height: auto; padding: 80px 0 !important; }
  main > section::before { display: none; }
  
  /* Increased specificity for hero-inner to override PC styles */
  main > section .hero-inner, 
  .mission-container, 
  .tech-layout, 
  .trends-grid, 
  .scenario-showcase {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  /* Tablet Refinements (Keep some columns for tablet) */
  @media (min-width: 768px) {
    .trends-grid, .scenario-showcase {
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
    }
    
    .mission-container, .tech-layout {
       grid-template-columns: 1fr; /* Stacked is actually cleaner on tablet unless very wide */
    }

    .hero-visual-complex { height: 400px; }
    .tech-visual-stack { height: 350px; }
  }
  
  .hero-visual-complex { height: 320px; }
  
  .stat-row { flex-direction: row; justify-content: center; gap: 40px; }
  
  .tech-visual-stack { height: 300px; margin-top: 40px; }
  
  h1 { font-size: 3.5rem; }
  
  section[data-section="04"] .connector-line {
      display: none;
  }
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Mobile Specific Tweaks */
@media (max-width: 640px) {
  main > section {
    padding: 60px 0 !important;
  }
  
  /* Global container padding adjustment for index page mobile */
  main > section .container {
    padding: 0 16px;
  }

  /* Inner layouts (children of container) shouldn't have extra padding */
  .mission-container, .tech-layout, .trends-grid, .scenario-showcase {
    gap: 32px;
    padding: 0;
  }
  
  /* Hero inner IS a container, so it gets the padding from .container rule above. Just set gap. */
  .hero-inner {
    gap: 32px;
  }
  
  h1 {
    font-size: 2.5rem !important;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 2rem !important;
  }

  .label-pill {
    margin-bottom: 16px;
    font-size: 0.75rem;
  }

  .hero-visual-complex {
    height: auto;
    max-height: 280px;
    margin-top: 32px;
    display: flex;
    justify-content: center;
  }
  
  .hero-visual-complex svg {
    width: auto;
    height: 100%;
    max-width: 100%;
  }
  
  .mission-text-block {
    padding-right: 0;
  }
  
  .mission-visual-card {
    padding: 24px;
    border-radius: 20px;
  }
  
  .stat-row {
    margin-top: 32px;
    padding-top: 32px;
    gap: 24px;
  }
  
  .stat-val {
    font-size: 2.5rem;
  }
  
  .trend-card {
    padding: 32px 24px;
  }
  
  .tech-visual-stack {
    height: 220px;
    margin-top: 32px;
  }
  
  /* Reset button width on mobile */
  .cta {
    flex-direction: column;
    width: 100%;
  }
  
  .cta .btn {
    width: 100%;
  }

  /* Force visibility of reveal elements on mobile to prevent blank screens */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}