/* Secfore Website Styles */

/* CSS Variables */
:root {
  --primary-bg: #16181d;
  --secondary-bg: #191A1F;
  --accent-color: #1b60d1;
  --accent-hover: #5DADE2;
  --text-primary: #ffffff;
  --text-secondary: #a1abbd;
  --text-muted: #666;
  --border-color: #3d4451;
  --success-color: #27ae60;
  --shadow: 0 20px 80px 0 rgba(0, 0, 0, 0.4);
  --transition: all 0.4s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 00;
  line-height: 1.63;
  letter-spacing: -0.001em;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
  -webkit-touch-callout: none; /* Disable callout on iOS */
}

/* Typography */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  margin: 0.4em 0;
  font-weight: 700;
  color: #fff;
  font-family: 'Nunito Sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  letter-spacing: -0.02em;
  text-align: center;
}

h1, .h1 {
  font-size: 50px;
  line-height: 1.1em;
}

h2, .h2 {
  font-size: 50px;
  line-height: 1.1em;
}

h3, .h3 {
  font-size: 40px;
  line-height: 1.3em;
}

h4, .h4 {
  font-size: 30px;
  line-height: 1.3em;
}

h5, .h5 {
  font-size: 26px;
  line-height: 1.3em;
}

h6, .h6 {
  font-size: 22px;
  line-height: 1.3em;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.63;
}

/* Responsive Typography */
@media (max-width: 800px) {
  h1, .h1 { font-size: 2em; }
  h2, .h2 { font-size: 1.9em; }
  h3, .h3 { font-size: 1.8em; }
  h4, .h4 { font-size: 1.7em; }
  h5, .h5 { font-size: 1.6em; }
  h6, .h6 { font-size: 1.4em; }
}

@media (max-width: 640px) {
  h1, .h1 { font-size: 2.7rem; }
  h2, .h2 { font-size: 1.7em; }
  h3, .h3 { font-size: 1.6em; }
  h4, .h4 { font-size: 1.5em; }
  h5, .h5 { font-size: 1.4em; }
  h6, .h6 { font-size: 1.2em; }
  .hero .subtitle,
  .hero-secondary .subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  h1, .h1 { font-size: 1.6em; }
  h2, .h2 { font-size: 1.5em; }
  h3, .h3 { font-size: 1.4em; }
  h4, .h4 { font-size: 1.3em; }
  h5, .h5 { font-size: 1.2em; }
  h6, .h6 { font-size: 1em; }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(31, 40, 51, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
  background-color: rgba(31, 40, 51, 0.98);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-nav {
  height: 40px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateX(-20px);
  visibility: hidden;
  filter: blur(2px);
}

.navbar.scrolled .logo-nav {
  /* These styles are now handled by JavaScript for smoother transitions */
}

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

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
  letter-spacing: -0.02em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color);
}

/* Navigation Button Specific Styling */
.nav-links .btn {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none !important;
}

.nav-links .btn::after {
  display: none;
}

.nav-links .btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  text-decoration: none !important;
}

.nav-links .btn-outline:hover {
  background-color: var(--accent-color);
  color: #16181d;
  box-shadow: 0 5px 20px 0 rgba(133, 209, 250, 0.3);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  margin: 3px 0;
  transition: var(--transition);
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* Buttons */
.btn, .btn-outline {
  background: rgba(93, 173, 226, 0.13); /* subtle blue tint, mostly transparent */
  border: 2px solid rgba(93, 173, 226, 0.55); /* more visible border */
  backdrop-filter: blur(8px); /* frosted glass effect */
  color: #fff;
  font-weight: 700;
  border-radius: 2.5rem;
  padding: 0.9rem 2.5rem;
  font-size: 1.25rem;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px 0 rgba(93, 173, 226, 0.10);
  text-decoration: none !important;
}

.btn:hover, .btn:focus, .btn-outline:hover, .btn-outline:focus {
  background: var(--accent-color);
  border: 2.5px solid var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(93, 173, 226, 0.18);
}

.btn:active, .btn-outline:active {
  background: var(--accent-color);
  border: 2.5px solid var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(93, 173, 226, 0.18);
}

/* Hero Section: always fill viewport and center content */
.hero {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  background: radial-gradient(ellipse at center, rgba(133, 209, 250, 0.1) 0%, transparent 70%);
  padding: 0;
}

.hero-content {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero h1,
.hero-secondary h1 {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #ffffff 0%, #1b60d1 20%, #5DADE2 35%, #1b60d1 50%, #ffffff 65%, #1b60d1 80%, #ffffff 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  display: inline-block;
  position: relative;
  animation: shine 8s linear infinite;
}

@keyframes shine {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 300% center;
  }
}

/* Add a subtle glow effect on hover */
.hero h1:hover {
  animation-duration: 4s;
  text-shadow: 0 0 40px rgba(133, 209, 250, 0.5),
              0 0 60px rgba(133, 209, 250, 0.3),
              0 0 80px rgba(133, 209, 250, 0.2);
}

/* Special styling for Mobile text */
.hero h1 .highlight-mobile {
  background: linear-gradient(90deg, #1b60d1 0%, #5DADE2 50%, #3498DB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-weight: 700;
  display: inline-block;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.05);
    filter: brightness(1.2);
  }
}

/* Alternative: Neon glow effect for Mobile */
.hero h1 .highlight-mobile::before {
  content: 'Mobile';
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(90deg, #1b60d1 0%, #5DADE2 50%, #3498DB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(8px);
  opacity: 0.7;
  z-index: -1;
  animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

/* Alternative gradient styles - comment/uncomment to switch */

/* Option 1: Aurora Borealis Effect */
.hero h1.gradient-aurora {
  background: linear-gradient(45deg, 
    #ffffff 0%, 
    #1b60d1 10%,
    #5DADE2 20%,
    #3498DB 30%,
    #5DADE2 40%,
    #1b60d1 50%,
    #ffffff 60%,
    #1b60d1 70%,
    #5DADE2 80%,
    #3498DB 90%,
    #ffffff 100%);
  background-size: 400% 400%;
  animation: aurora 8s ease infinite;
}

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

/* Option 2: Metallic Chrome Effect */
.hero h1.gradient-chrome {
  background: linear-gradient(45deg,
    #eee 25%,
    #999 37%,
    #1b60d1 50%,
    #999 63%,
    #eee 75%);
  background-size: 250% auto;
  animation: chrome 3s linear infinite;
}

@keyframes chrome {
  0% { background-position: 0% center; }
  100% { background-position: 250% center; }
}

/* Option 3: Neon Pulse Effect */
.hero h1.gradient-neon {
  background: linear-gradient(90deg,
    #1b60d1 0%,
    #ffffff 25%,
    #1b60d1 50%,
    #ffffff 75%,
    #1b60d1 100%);
  background-size: 200% auto;
  animation: neon-pulse 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(133, 209, 250, 0.5));
}

@keyframes neon-pulse {
  0%, 100% { 
    background-position: 0% center;
    filter: drop-shadow(0 0 20px rgba(133, 209, 250, 0.5));
  }
  50% { 
    background-position: 100% center;
    filter: drop-shadow(0 0 30px rgba(133, 209, 250, 0.8));
  }
}

.hero .subtitle,
.hero-secondary .subtitle {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-logo {
  max-width: 900px;
  width: 100%;
  height: auto;
  margin-bottom: 3rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

/* Responsive hero-logo sizes */
@media (max-width: 1200px) {
  .hero-logo {
    max-width: 700px;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .hero-logo {
    max-width: 550px;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 320px;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    max-width: 320px;
    margin-bottom: 2.25rem;
  }
}

@media (max-width: 360px) {
  .hero-logo {
    max-width: 260px;
    margin-bottom: 1rem;
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Particle Background */
.particle-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: auto;
  height: auto;
  color: rgba(133, 209, 250, 0.3);
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: bold;
  animation: float 12s infinite linear;
  user-select: none;
}

.star-particle {
  animation: starFloat 15s infinite linear, twinkle 2s infinite ease-in-out;
  font-size: 16px;
  text-shadow: 0 0 6px rgba(133, 209, 250, 0.8);
}

@keyframes float {
  from {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  98% {
    opacity: 1;
  }
  to {
    transform: translateY(-10vh) translateX(30px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes starFloat {
  from {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(90vh) translateX(10px) scale(1);
  }
  50% {
    transform: translateY(50vh) translateX(30px) scale(1.2);
  }
  90% {
    opacity: 1;
    transform: translateY(10vh) translateX(50px) scale(1);
  }
  to {
    transform: translateY(-10vh) translateX(80px) scale(0);
    opacity: 0;
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    text-shadow: 0 0 6px rgba(133, 209, 250, 0.3);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 12px rgba(133, 209, 250, 0.8), 0 0 20px rgba(133, 209, 250, 0.4);
  }
}

/* Additional particle variations */
.particle:nth-child(3n) {
  animation-direction: reverse;
}

.particle:nth-child(2n) {
  animation: floatZigzag 14s infinite linear;
}

@keyframes floatZigzag {
  from {
    transform: translateY(100vh) translateX(-50px);
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  25% {
    transform: translateY(75vh) translateX(50px);
  }
  50% {
    transform: translateY(50vh) translateX(-30px);
  }
  75% {
    transform: translateY(25vh) translateX(40px);
  }
  97% {
    opacity: 1;
  }
  to {
    transform: translateY(-10vh) translateX(-20px);
    opacity: 0;
  }
}

.particle:nth-child(4n) {
  animation: floatDiagonal 10s infinite linear;
}

.particle:nth-child(5n) {
  animation: floatSlow 15s infinite linear;
}

@keyframes floatDiagonal {
  from {
    transform: translateY(100vh) translateX(-20px) rotate(0deg);
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  97% {
    opacity: 1;
  }
  to {
    transform: translateY(-10vh) translateX(80px) rotate(180deg);
    opacity: 0;
  }
}

@keyframes floatSlow {
  from {
    transform: translateY(100vh) translateX(0) scale(0.5);
    opacity: 0;
  }
  5% {
    opacity: 1;
    transform: translateY(95vh) translateX(5px) scale(1);
  }
  95% {
    opacity: 1;
    transform: translateY(5vh) translateX(25px) scale(1);
  }
  to {
    transform: translateY(-10vh) translateX(40px) scale(0.5);
    opacity: 0;
  }
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--secondary-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.section-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Flexbox Grid Solution - Centers incomplete rows naturally */
.flex-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.flex-grid-3 > * {
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 350px;
}


/* --- BUTTONS --- */
.btn, .btn-outline {
  background: rgba(93, 173, 226, 0.13);
  border: 2px solid rgba(93, 173, 226, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 700;
  border-radius: 2.5rem;
  padding: 0.9rem 2.5rem;
  font-size: 1.25rem;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px 0 rgba(93, 173, 226, 0.10);
  text-decoration: none !important;
}
.btn:hover, .btn:focus, .btn-outline:hover, .btn-outline:focus {
  background: var(--accent-color);
  border: 2.5px solid var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(93, 173, 226, 0.18);
}

/* --- CARDS --- */
.card, .benefit-card, .feature-card {
  background-color: var(--secondary-bg);
  border-radius: 10px;
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  text-align: center;
}
@media (min-width: 1025px) {
  .card, .benefit-card, .feature-card {
    padding: 40px;
  }
}
.card:hover, .benefit-card:hover, .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card:before, .benefit-card:before, .feature-card:before {
  content: '';
  display: block;
  height: 100%;
  width: 2px;
  background-color: var(--accent-color);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: all .4s ease-out;
}
.card:hover:before, .benefit-card:hover:before, .feature-card:hover:before {
  opacity: 1;
}
.card-icon, .benefit-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-align: center;
  display: block;
}
.card h3, .benefit-card h3, .feature-card h4 {
  margin-bottom: 1rem;
  font-size: 28px;
}
.card .btn, .benefit-card .btn, .feature-card .btn {
  display: block;
  margin: 0 auto;
  text-align: center;
  width: fit-content;
  text-decoration: none !important;
}

/* --- FEATURE LISTS --- */
.feature-list {
  list-style: none;
  padding: 0;
  justify-content: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
  justify-content: center;
  text-align: center;
}
.feature-list li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Main Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: var(--secondary-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  min-height: 500px;
}

.carousel-image {
  text-align: center;
}

.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.carousel-text h3 {
  font-size: 28px;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.carousel-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.carousel-text .feature-list {
  list-style: none;
  padding: 0;
}

.carousel-text .feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 16px;
}

.carousel-text .feature-list li {
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.carousel-text .feature-list li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Mini Carousel (for other sections) */
.mini-carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: var(--secondary-bg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  padding: 2rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background-color: var(--accent-color);
  transform: scale(1.2);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background-color: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(93, 173, 226, 0.2);
}

/* Footer */
.footer {
  background-color: var(--secondary-bg);
  padding: 40px 0 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }
  
  .showcase-container {
    padding: 0 30px;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* Card optimizations for tablet */
  .card,
  .benefit-card,
  .feature-card {
    padding: 1.75rem;
  }
  
  .card-icon {
    font-size: 2.75rem;
  }
  
  .hero h1,
  .hero-secondary h1 {
    font-size: 56px;
  }
  .hero .subtitle,
  .hero-secondary .subtitle {
    font-size: 1.3rem;
  }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
  /* Navigation */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .logo-nav {
    height: 35px;
  }

  .hero-logo {
    max-width: 350px;
  }
  
  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--secondary-bg);
    flex-direction: column;
    padding: 80px 2rem 2rem;
    transition: var(--transition);
    z-index: 1000;
    overflow-y: auto;
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .nav-links.active {
    right: 0;
  }
  
  .nav-links .btn {
    width: 100%;
    text-align: center;
  }

  /* Hero Section */
  .hero {
    min-height: 80vh;
    padding: 80px 0 40px;
  }
  
  .hero-secondary {
    min-height: 60vh;
    padding: 100px 0 40px;
  }
  
  .hero h1,
  .hero-secondary h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }
  
  /* Keep gradient effect on mobile but adjust animation */
  .hero h1 .highlight-mobile {
    animation-duration: 3s;
  }

  .hero .subtitle,
  .hero-secondary .subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  /* Optimize hero content spacing for mobile */
  .hero-content {
    padding: 0 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    max-width: 280px;
    margin: 1.5rem auto 0;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin: 0;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  /* Section Spacing */
  .section {
    padding: 50px 0;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }

  /* Typography */
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
  
  p {
    font-size: 0.95rem;
  }

  /* Grid Layouts */
  .grid {
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Cards */
  .card {
    padding: 1.5rem;
  }
  
  .card h3 {
    font-size: 1.3rem;
  }
  
  .card p {
    font-size: 0.9rem;
  }
  
  .card-icon {
    font-size: 2.5rem;
  }
  
  .feature-list li {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }

  /* Contact Form */
  .contact-form {
    padding: 0 1rem;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Footer */
  .footer {
    padding: 30px 0 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer img {
    height: 35px;
  }

  /* Download Badge */
  .download-badge {
    bottom: 15px;
    right: 15px;
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 18px;
    font-weight: 600;
    gap: 4px;
  }
  
  .download-badge::before {
    font-size: 0.8rem;
  }
  
  .download-text-full {
    display: none;
  }
  
  .download-text-short {
    display: inline;
  }
  
  /* Reduce particles on mobile for performance */
  .particle-bg .particle:nth-child(n+100) {
    display: none;
  }
  
  .particle-bg .star-particle:nth-child(n+20) {
    display: none;
  }

  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .nav-links .btn-outline {
    padding: 6px 12px;
    font-size: 12px;
    margin: 0;
  }
  
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    max-width: 280px;
    margin: 1.5rem auto 0;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 220px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero h1,
  .hero-secondary h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
  
  .hero-buttons {
    max-width: 260px;
    gap: 0.5rem;
  }
  
  .hero-buttons .btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .card {
    padding: 1.25rem;
  }
  
  /* Buttons */
  .btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .nav-links .btn-outline {
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .cta-buttons .btn {
    max-width: 200px;
  }

  /* Download Badge */
  .download-badge {
    bottom: 12px;
    right: 12px;
    padding: 5px 10px;
    font-size: 10px;
    border-radius: 15px;
    font-weight: 600;
    gap: 3px;
  }
  
  .download-badge::before {
    font-size: 0.7rem;
  }
  
  .download-text-full {
    display: none;
  }
  
  .download-text-short {
    display: inline;
  }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 0 40px;
  }
  
  .hero h1,
  .hero-secondary h1 {
    font-size: 1.75rem;
  }
  
  .hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .hero-logo {
    max-width: 200px;
    margin-bottom: 1rem;
  }
  
  .hero-buttons {
    flex-direction: row;
    max-width: none;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Additional Typography Helpers */
.c-primary {
  color: var(--accent-color);
}

.bg-primary-color {
  background-color: var(--accent-color);
}

.bg-primary-gradient {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
}

/* Lists */
.list--primary li {
  color: var(--accent-color);
}

.list--primary li:before {
  content: '•';
  color: var(--accent-color);
  margin-right: 0.5em;
}

/* Download Badge */
.download-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--accent-color);
  color: #16181d;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: var(--shadow);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-badge:hover {
  background-color: var(--accent-hover);
  transform: scale(1.05);
}

.download-badge::before {
  content: '🎯';
  font-size: 1.2rem;
}

.download-text-short {
  display: none;
}

.download-text-full {
  display: inline;
}

/* Image Showcase Carousel */
.image-showcase {
  padding: 60px 0;
  background-color: var(--secondary-bg);
  overflow: hidden;
}

.showcase-header {
  text-align: center;
  margin-bottom: 3rem;
}

.showcase-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.showcase-wrapper {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.showcase-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.showcase-slide {
  min-width: 100%;
  position: relative;
  background-color: var(--primary-bg);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #181a1f; /* fallback background for letterboxing */
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.showcase-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(22, 24, 29, 0.95), rgba(22, 24, 29, 0.7) 50%, transparent);
  color: var(--text-primary);
}

.showcase-slide-content h3 {
  font-size: 30px;
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.showcase-slide-content p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.63;
}

/* Showcase Navigation */
.showcase-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(133, 209, 250, 0.9);
  color: #16181d;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.5rem;
  z-index: 2;
}

.showcase-nav:hover {
  background-color: var(--accent-hover);
  transform: translateY(-50%) scale(1.1);
}

.showcase-nav.prev {
  left: 20px;
}

.showcase-nav.next {
  right: 20px;
}

/* Showcase Indicators */
.showcase-indicators {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 5rem;
  padding-bottom: 10px;
}

.showcase-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.showcase-dot.active {
  background-color: var(--accent-color);
  transform: scale(1.2);
  border-color: rgba(133, 209, 250, 0.3);
}

/* Progress Bar for Auto-play */
.showcase-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: var(--accent-color);
  transition: width 5s linear;
  z-index: 3;
}

/* Responsive Showcase */
@media (max-width: 768px) {
  .image-showcase {
    padding: 40px 0;
  }
  
  .showcase-header {
    margin-bottom: 2rem;
  }
  
  .showcase-header h2 {
    font-size: 1.75rem;
  }
  
  .showcase-header p {
    font-size: 1rem;
  }
  
  .showcase-wrapper {
    border-radius: 10px;
  }
  
  .showcase-slide {
    aspect-ratio: 4/3; /* Better ratio for mobile */
  }
  
  .showcase-slide-content {
    padding: 1.5rem;
  }
  
  .showcase-slide-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
  
  .showcase-slide-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .showcase-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    background-color: rgba(133, 209, 250, 0.7);
  }
  
  .showcase-nav.prev {
    left: 10px;
  }
  
  .showcase-nav.next {
    right: 10px;
  }
  
  .showcase-indicators {
    gap: 6px;
    margin-top: 1.5rem;
  }
  
  .showcase-dot {
    width: 10px;
    height: 10px;
  }
  
  .showcase-progress {
    height: 2px;
  }
}

@media (max-width: 480px) {
  .image-showcase {
    padding: 30px 0;
  }
  
  .showcase-container {
    padding: 0 10px;
  }
  
  .showcase-slide-content {
    padding: 1rem;
    background: linear-gradient(to top, rgba(11, 12, 16, 0.95), rgba(11, 12, 16, 0.7) 50%, transparent);
  }
  
  .showcase-slide-content h3 {
    font-size: 1.1rem;
  }
  
  .showcase-slide-content p {
    font-size: 0.8rem;
  }
  
  .showcase-nav {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .showcase-nav.prev {
    left: 5px;
  }
  
  .showcase-nav.next {
    right: 5px;
  }
}

/* Extractor Page Specific Styles */
.hero-secondary {
  min-height: 70vh;
  padding-top: 120px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

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

.stat-item h3 {
  font-size: 48px;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 18px;
  color: var(--text-secondary);
}

/* Overview Section */
.overview-content h3 {
  margin-bottom: 1rem;
  font-size: 28px;
}

.overview-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Method Cards */
.method-card {
  background-color: var(--secondary-bg);
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.method-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent-color);
}

.method-icon {
  font-size: 48px;
  margin-bottom: 1rem;
  display: block;
}

.method-features {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.method-features li {
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.method-features li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Monitoring Display */
.monitoring-showcase {
  margin-top: 3rem;
}

.monitor-display {
  background-color: var(--secondary-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

.monitor-header {
  background-color: rgba(133, 209, 250, 0.1);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.monitor-status {
  color: var(--accent-color);
  font-weight: 600;
}

.monitor-toggle {
  display: flex;
  gap: 0.5rem;
}

.toggle-btn {
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-btn.active {
  background-color: var(--accent-color);
  color: var(--primary-bg);
  border-color: var(--accent-color);
}

.monitor-content {
  padding: 2rem;
}

.extraction-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.extraction-item {
  display: grid;
  grid-template-columns: 50px 1fr 200px 80px;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background-color: var(--primary-bg);
  border-radius: 8px;
  transition: var(--transition);
}

.extraction-item:hover {
  transform: translateX(5px);
}

.extraction-item.completed {
  opacity: 0.7;
}

.app-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.extraction-info h4 {
  font-size: 18px;
  margin-bottom: 0.25rem;
}

.extraction-info p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.extraction-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background-color: rgba(133, 209, 250, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 14px;
  color: var(--accent-color);
  min-width: 40px;
  text-align: right;
}

.extraction-time {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: right;
}

.monitoring-features {
  margin-top: 2rem;
}

.feature-card {
  background-color: var(--primary-bg);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.feature-card h4 {
  font-size: 20px;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

/* Benefit Cards */
.benefit-card {
  background-color: var(--secondary-bg);
  border-radius: 10px;
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.benefit-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-align: center;
  display: block;
}

/* Platform Tabs */
.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.platform-tab {
  padding: 1rem 2rem;
  background-color: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 16px;
}

.platform-tab.active {
  background-color: var(--accent-color);
  color: var(--primary-bg);
  border-color: var(--accent-color);
}

.platform-tab:hover {
  border-color: var(--accent-color);
  color: var(--text-primary);
  background-color: rgba(133, 209, 250, 0.1);
}

.platform-tab.active:hover {
  background-color: var(--accent-hover);
  color: var(--primary-bg);
  border-color: var(--accent-hover);
}

/* Device Support Note */
.device-support-note {
  background-color: rgba(133, 209, 250, 0.1);
  border: 1px solid rgba(133, 209, 250, 0.3);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.device-support-note p {
  margin: 0;
  color: var(--text-secondary);
  font-style: italic;
}

.device-support-note strong {
  color: var(--accent-color);
}

/* Device Grid */
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.manufacturer-group {
  background-color: var(--secondary-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.manufacturer-group:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.manufacturer-group h3 {
  font-size: 24px;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.manufacturer-group p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* iOS Section */
.ios-devices {
  max-width: 800px;
  margin: 0 auto;
}

.ios-notice {
  background-color: var(--secondary-bg);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  border: 2px solid var(--accent-color);
}

.beta-badge {
  position: absolute;
  top: -12px;
  right: 30px;
  background-color: var(--accent-color);
  color: var(--primary-bg);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
}

.ios-device-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.device-category {
  background-color: var(--secondary-bg);
  padding: 2rem;
  border-radius: 8px;
}

.device-category h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.device-category ul {
  list-style: none;
  padding: 0;
}

.device-category li {
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.device-category li::before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* CTA Section */
.cta-section {
  background-color: var(--secondary-bg);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Extraction Showcase */
.extraction-showcase {
  margin-top: 3rem;
}

.extraction-image-container {
  text-align: center;
  margin-bottom: 3rem;
}

.extraction-showcase-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.extraction-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Dual View Container */
.dual-view-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

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

.view-section h3 {
  font-size: 28px;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.view-section p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.view-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.view-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* Feature Grid for Visualizer */
.feature-grid {
  margin-top: 2rem;
}

.feature-card {
  background-color: var(--secondary-bg);
  border-radius: 10px;
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  text-align: center;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent-color);
}

.feature-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.feature-card h4 {
  font-size: 28px;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.feature-card h5 {
  font-size: 18px;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.feature-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.financial-stats {
  text-align: left;
  padding: 1rem 0;
}

.financial-stats .feature-list {
  margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .extraction-methods-grid {
    grid-template-columns: 1fr;
  }
  
  .dual-view-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .extraction-showcase-image,
  .view-image {
    border-radius: 8px;
  }
  .hero-stats {
    gap: 2rem;
  }
  
  .stat-item h3 {
    font-size: 36px;
  }
  
  .extraction-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .app-icon {
    display: none;
  }
  
  .extraction-progress {
    order: 3;
  }
  
  .extraction-time {
    order: 4;
    text-align: left;
  }
  
  .device-grid {
    grid-template-columns: 1fr;
  }
  
  .platform-tabs {
    flex-direction: column;
    align-items: stretch;
    padding: 0 2rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-image {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  /* Grid Layouts - Single Column on Small Mobile */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Cards */
  .card,
  .benefit-card,
  .feature-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  /* Card Icons */
  .card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  /* Typography */
  .card h3,
  .benefit-card h3,
  .feature-card h4 {
    font-size: 24px;
    margin-bottom: 0.75rem;
  }
  
  /* Feature Lists */
  .feature-list li {
    font-size: 0.85rem;
    padding: 0.4rem 0;
  }
  
  /* Carousel */
  .carousel-content {
    padding: 1.5rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .carousel-text h3 {
    font-size: 22px;
  }
  
  .carousel-text p {
    font-size: 16px;
  }
  
  /* Platform Tabs */
  .platform-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .platform-tab {
    padding: 0.75rem 1rem;
    font-size: 14px;
  }
}

/* Hero logo styles consolidated above */
.hero .subtitle {
  color: #fff !important;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2.5rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.hero .subtitle + p {
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
}

/* Mobile subtitle optimization */
@media (max-width: 768px) {
  .hero .subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  
  .hero .subtitle + p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.25rem;
  }
  
  .hero .subtitle + p {
    font-size: 0.9rem;
    margin-bottom: 1.50rem;
  }
}
.hero-buttons {
  margin-top: 3rem;
}

.trademark-disclaimer {
  font-size: 0.9em;
  color: var(--text-muted);
  margin-top: 0.5em;
  text-align: center;
}

.card, .benefit-card, .feature-card {
  text-align: center;
}

.card .feature-list,
.benefit-card .feature-list,
.feature-card .feature-list {
  justify-content: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card .feature-list li,
.benefit-card .feature-list li,
.feature-card .feature-list li {
  justify-content: center;
  text-align: center;
}

.overview-content, .overview-content * {
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

/* --- Original Contact Form Styles from contact copy.html --- */
.contact-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: var(--primary-bg);
  padding: 120px 0 40px 0;
}
.contact-header {
  text-align: center;
  margin-bottom: 2.5rem;
  margin-top: 3rem;
}
.contact-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.contact-header p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 0;
}
.contact-form {
  background: var(--secondary-bg);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(27,96,209,0.08);
  padding: 2.5rem 2rem;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}
.form-group label {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  border: 1.5px solid #2a2d34;
  background: #181a1f;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  transition: border 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: #1b60d1;
  outline: none;
}
.form-group select option {
  background: #181a1f;
  color: #fff;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.btn {
  width: 100%;
  margin-top: 0.5rem;
}
.success-message {
  display: none;
  color: #27ae60;
  text-align: center;
  margin-top: 1.5rem;
  font-weight: 700;
}
.back-link {
  display: block;
  margin: 2rem auto 0;
  text-align: center;
  color: #1b60d1;
  text-decoration: underline;
  font-weight: 600;
  font-size: 1.1rem;
}
.required {
  color: #ff6b6b;
}
@media (max-width: 600px) {
  .contact-page {
    padding: 100px 16px 20px 16px;
  }
  .contact-form {
    padding: 1.5rem 1rem;
    max-width: 100%;
    margin: 0 8px;
  }
  .contact-header h1 {
    font-size: 2rem;
  }
  .contact-header p {
    font-size: 1rem;
    padding: 0 8px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .contact-page {
    padding: 90px 12px 16px 12px;
  }
  .contact-form {
    padding: 1.25rem 0.75rem;
    margin: 0 4px;
  }
  .contact-header h1 {
    font-size: 1.75rem;
  }
  .contact-header p {
    font-size: 0.95rem;
    padding: 0 4px;
  }
}

/* --- Bigin Form: Card Design on Parent Only --- */
.wf-parent {
  background: var(--secondary-bg) !important;
  border-radius: 1.5rem !important;
  box-shadow: 0 4px 32px rgba(27,96,209,0.08) !important;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}
.wf-wrapper {
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
@media (max-width: 600px) {
  .wf-parent {
    padding: 1.5rem 1rem;
    max-width: 100%;
    margin: 0 8px;
  }
}
@media (max-width: 480px) {
  .wf-parent {
    padding: 1.25rem 0.75rem;
    margin: 0 4px;
  }
}

/* --- Restore Bigin Form Field, Label, and Button Styles --- */
.wf-label {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  font-size: 16px;
}
.wf-field-input, .wf-text-area-input, .wf-field-dropdown {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  border: 1.5px solid #2a2d34;
  background: #181a1f;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  transition: border 0.2s;
  box-sizing: border-box;
}
.wf-field-input:focus, .wf-text-area-input:focus, .wf-field-dropdown:focus {
  border-color: #1b60d1;
  outline: none;
}
.wf-field-dropdown option {
  background: #181a1f;
  color: #fff;
}
.wf-btn, .wform-btn-wrap input[type="submit"] {
  width: 100%;
  margin-top: 0.5rem;
  background: #1b60d1 !important;
  color: #fff !important;
  border: none;
  border-radius: 0.7rem;
  padding: 0.8rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s;
  outline: none;
  display: block;
}
.wf-btn:hover, .wform-btn-wrap input[type="submit"]:hover {
  background: #1976d2 !important;
}
.wf-btn:focus, .wform-btn-wrap input[type="submit"]:focus {
  outline: none;
  background: #1976d2 !important;
}
@media (max-width: 600px) {
  .wf-btn, .wform-btn-wrap input[type="submit"] {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    width: 100%;
  }
}
.wf-field-help-text {
  color: #a1abbd;
  font-size: 1rem;
  margin-top: -0.8rem;
  margin-bottom: 1rem;
  font-style: italic;
  text-align: left;
  display: block;
  max-width: 400px;
}

/* Add red star for required fields */
.wf-field-mandatory .wf-label:after {
  content: ' *';
  color: #ff6b6b;
  font-weight: 700;
  margin-left: 0.15em;
}

/* Make error text red and bold */
.wf-field-error {
  color: #ff5050 !important;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.2rem;
  display: block;
}

/* Make form header bigger and bolder */
.contact-header h1 {
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

/* Align first and last name fields side by side with spacing */
.wf-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .wf-row.two-col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.wf-text-area-input textarea {
  min-height: 150px;
}

/* --- Modern Event Card Styles --- */
.event-card {
  background-color: var(--secondary-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 32px 0 rgba(40, 116, 166, 0.10), 0 1.5px 6px 0 rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  min-height: 420px;
  margin-bottom: 2rem;
  max-width: 400px;
  min-width: 340px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .event-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}
.event-card:hover {
  box-shadow: 0 12px 40px 0 rgba(40, 116, 166, 0.18), 0 2px 12px 0 rgba(0,0,0,0.13);
  transform: translateY(-4px) scale(1.02);
}
.event-image {
  width: 100%;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}
.event-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
@media (max-width: 600px) {
  .event-image, .event-image img {
    height: 140px;
    min-height: 140px;
    max-height: 140px;
  }
}

/* Logo-style event image: consistent logo sizing with black background */
.event-image--logo {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #000 !important;
  height: 220px !important;
  min-height: 220px !important;
  max-height: 220px !important;
}

@media (max-width: 600px) {
  .event-image--logo {
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
  }
}
.event-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0; top: 0;
  background: linear-gradient(to top, rgba(22,24,29,0.85) 60%, rgba(22,24,29,0.15) 100%);
  z-index: 1;
}
.event-meta {
  position: absolute;
  left: 0; bottom: 0; z-index: 2;
  padding: 1rem 1.5rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.event-meta .event-date,
.event-meta .event-venue {
  font-size: 0.88rem;
  padding: 0.18em 0.7em;
  border-radius: 14px;
  margin-bottom: 0.15em;
  margin-right: 0.2em;
  display: inline-block;
  line-height: 1.2;
}
@media (max-width: 600px) {
  .event-meta-bar .event-date,
  .event-meta-bar .event-venue {
    font-size: 0.88rem;
    padding: 0.18em 0.7em;
    border-radius: 14px;
    margin-bottom: 0.15em;
    width: auto;
    box-sizing: border-box;
  }
}
.event-content {
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.event-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.7rem;
  margin-top: 0.2rem;
  text-align: left;
}
.event-description {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  text-align: left;
}
.event-link {
  margin-top: auto;
  display: inline-block;
  color: #fff;
  background: var(--accent-color);
  border-radius: 24px;
  padding: 0.5em 1.5em;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.event-link:hover {
  background: var(--accent-hover);
  color: #fff;
}
@media (max-width: 768px) {
  .event-card {
    min-height: 340px;
  }
  .event-image {
    height: 160px;
    min-height: 160px;
    max-height: 160px;
  }
  .event-content {
    padding: 1.2rem 1rem 1rem 1rem;
  }
  .event-title {
    font-size: 1.15rem;
  }
}

.grid.grid-2 {
  justify-items: center;
}

.event-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem 1.5rem 0.5rem 1.5rem;
  background: none;
  margin-bottom: 0.2rem;
}
.event-meta-bar .event-date {
  background: var(--accent-color);
  color: #fff;
  border-radius: 14px;
  font-size: 0.88rem;
  padding: 0.18em 0.7em;
  margin-bottom: 0.15em;
  margin-right: 0.2em;
  display: inline-block;
  line-height: 1.2;
  font-weight: 600;
}
.event-meta-bar .event-venue {
  background: rgba(40,116,166,0.10);
  color: var(--accent-color);
  border-radius: 14px;
  font-size: 0.88rem;
  padding: 0.18em 0.7em;
  margin-bottom: 0.15em;
  margin-right: 0.2em;
  display: inline-block;
  line-height: 1.2;
  font-weight: 600;
}
@media (max-width: 600px) {
  .event-meta-bar {
    padding: 0.7rem 1rem 0.3rem 1rem;
    gap: 0.3em;
  }
  .event-meta-bar .event-date,
  .event-meta-bar .event-venue {
    font-size: 0.88rem;
    padding: 0.18em 0.7em;
    border-radius: 14px;
    margin-bottom: 0.15em;
    width: auto;
    box-sizing: border-box;
  }
}

.event-card, .event-content, .event-title, .event-description {
  text-align: center;
  font-family: 'Nunito Sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
}
.event-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
  margin-top: 0.2rem;
}
.event-description {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.event-card-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}
.event-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 2px 12px 0 rgba(40,116,166,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.event-meta-pills {
  display: flex;
  flex-direction: row;
  gap: 0.7em;
  margin-left: auto;
}
.event-meta-pills .event-date,
.event-meta-pills .event-venue {
  font-size: 0.88rem;
  padding: 0.18em 0.9em;
  border-radius: 50px;
  margin-bottom: 0;
  display: inline-block;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
}
.event-meta-pills .event-date {
  background: var(--accent-color);
  color: #fff;
}
.event-meta-pills .event-venue {
  background: rgba(40,116,166,0.10);
  color: var(--accent-color);
}
.event-content {
  margin-top: 1.2rem;
}
@media (max-width: 600px) {
  .event-card-top {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 1rem 0.5rem 1rem;
  }
  .event-logo {
    width: 80px;
    height: 80px;
  }
  .event-meta-pills {
    flex-direction: row;
    gap: 0.5em;
    margin-left: 0;
  }
}
