/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Root Variables - Modern Theme with Trending Colors */
:root {
  /* Modern Color Palette - Purple/Blue/Pink Gradient Theme */
  --primary-color: #6366F1;
  --secondary-color: #8B5CF6;
  --accent-color: #EC4899;
  --success-color: #10B981;
  --warning-color: #F59E0B;

  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --text-tertiary: #6B7280;
  --text-white: #FFFFFF;

  --bg-primary: #FFFFFF;
  --bg-secondary: #F9FAFB;
  --bg-tertiary: #F3F4F6;
  --bg-dark: #111827;
  --border-color: #E5E7EB;

  /* Modern Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

  /* Modern Gradients - Trending 2024/2025 */
  --gradient-primary: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
  --gradient-accent: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
  --gradient-success: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
  --gradient-warm: linear-gradient(135deg, #FA8BFF 0%, #2BD2FF 50%, #2BFF88 100%);
  --gradient-cool: linear-gradient(135deg, #A8EDEA 0%, #FED6E3 100%);
  --gradient-mesh: radial-gradient(at 20% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
                   radial-gradient(at 80% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
                   radial-gradient(at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);

  /* Optimized Spacing - Reduced for Better Density */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Modern Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Smooth Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode - Modern Dark Theme */
[data-theme="dark"] {
  --primary-color: #818CF8;
  --secondary-color: #A78BFA;
  --accent-color: #F472B6;
  --success-color: #34D399;
  --warning-color: #FBBF24;

  --text-primary: #F9FAFB;
  --text-secondary: #D1D5DB;
  --text-tertiary: #9CA3AF;
  --text-white: #FFFFFF;

  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-tertiary: #334155;
  --bg-dark: #020617;
  --border-color: #334155;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.7);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.8);

  --gradient-primary: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
  --gradient-accent: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
  --gradient-success: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
  --gradient-warm: linear-gradient(135deg, #FA8BFF 0%, #2BD2FF 50%, #2BFF88 100%);
  --gradient-mesh: radial-gradient(at 20% 30%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
                   radial-gradient(at 80% 70%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
                   radial-gradient(at 50% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Support for text resizing */
@media (min-width: 1920px) {
  html { font-size: 18px; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
}

body {
  /* Modern sans-serif font stack with variable typography */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7; /* Improved line height for readability */
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-base), color var(--transition-base);
}

/* Typography Scale - Bold, Clear Typefaces */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

/* Left-aligned text by default */
body {
  text-align: left;
}

/* Links - High contrast, no underline except on hover */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-base);
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

/* Navigation - Glassmorphism Effect */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

[data-theme="dark"] .navbar {
  background: rgba(26, 26, 26, 0.85);
  border-bottom: 1px solid var(--border-color);
}

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

.nav-brand h2 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-xl);
}

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color var(--transition-base);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

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

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

/* Hero Section - Modern Gradient */
.hero {
  position: relative;
  background: var(--gradient-primary);
  color: var(--text-white);
  padding: 5rem 0 4rem;
  text-align: center;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* Gradient mesh background effect */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-mesh);
  opacity: 0.7;
  pointer-events: none;
}

/* Animated gradient orbs */
.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  top: -150px;
  right: -150px;
  animation: float 18s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.375rem);
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  opacity: 0.95;
  line-height: 1.65;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:hover::before {
  width: 350px;
  height: 350px;
}

.btn-primary {
  background: var(--text-white);
  color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  text-decoration: none;
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.btn-secondary:active {
  transform: translateY(-1px);
}

/* Section Styles - Optimized Spacing */
section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.7s ease-out;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 500;
}

/* About Section */
.about {
  background: var(--bg-primary);
  position: relative;
}

.about-content {
  display: grid;
  gap: 3rem;
}

.about-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  font-weight: 400;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

/* Feature Cards - Modern Style */
.feature-card {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

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

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  display: inline-block;
  transition: transform var(--transition-base);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 1rem;
}

/* Products Section */
.products {
  background: var(--bg-secondary);
  position: relative;
}

.products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-mesh);
  opacity: 0.3;
  pointer-events: none;
}

.product-showcase {
  position: relative;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-color);
  transition: all var(--transition-base);
}

.product-showcase:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.product-badge {
  display: inline-block;
  background: var(--gradient-accent);
  color: var(--text-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-tagline {
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-lg);
  font-weight: 700;
}

.product-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 850px;
}

.product-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-lg);
  margin: 2.5rem 0;
  padding: 2rem;
  background: var(--gradient-success);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat {
  text-align: center;
  animation: fadeInUp 0.7s ease-out;
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: var(--space-sm);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
  margin: 2.5rem 0;
}

/* Feature Boxes - Modern Cards */
.feature-box {
  background: var(--bg-secondary);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
  transition: all var(--transition-base);
  position: relative;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent-color);
}

.feature-box:hover::before {
  opacity: 1;
}

.feature-icon-large {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  display: inline-block;
  transition: transform var(--transition-base);
}

.feature-box:hover .feature-icon-large {
  transform: scale(1.1);
}

.feature-box h4 {
  font-size: 1.375rem;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.feature-box p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 1rem;
}

/* Benefits */
.benefits {
  margin: 2.5rem 0;
  padding: 2.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
  position: relative;
}

.benefits-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.benefit-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  border: 2px solid var(--border-color);
}

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

.benefit-percentage {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.benefit-text {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.4;
}

/* Platforms */
.platforms {
  text-align: center;
  margin-top: 2.5rem;
}

.platforms h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  font-weight: 700;
}

.platform-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.platform-badge {
  background: var(--bg-secondary);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  transition: all var(--transition-base);
}

.platform-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--text-white);
}

/* Contact Section */
.contact {
  background: var(--bg-primary);
  position: relative;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  text-align: center;
}

.contact-info h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  font-weight: 800;
}

.contact-info p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
  transition: all var(--transition-base);
}

.contact-method:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.contact-icon {
  font-size: 3rem;
  transition: transform var(--transition-base);
  margin-bottom: var(--space-sm);
}

.contact-method:hover .contact-icon {
  transform: scale(1.15);
}

.contact-method strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  font-weight: 700;
  font-size: 1.25rem;
}

.contact-method p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 500;
}

.contact-method a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-base);
}

.contact-method a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}


/* Footer */
.footer {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: var(--text-white);
  padding: 3.5rem 0 2rem;
  position: relative;
  border-top: 2px solid rgba(99, 102, 241, 0.3);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-mesh);
  opacity: 0.2;
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: var(--space-md);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-white);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-base);
  font-weight: 500;
  font-size: 1rem;
  display: inline-block;
}

.footer-section a:hover {
  color: var(--primary-color);
  transform: translateX(3px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Dark Mode Toggle Button */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-base);
  z-index: 1000;
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

.theme-toggle:active {
  transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    min-height: 75vh;
    padding: 4rem 0 3rem;
  }

  .product-showcase {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }

  .nav-menu {
    display: none;
  }

  .navbar {
    padding: var(--space-md) 0;
  }

  .hero {
    min-height: 65vh;
    padding: 3rem 0 2.5rem;
  }

  .hero::after {
    width: 350px;
    height: 350px;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about-features {
    grid-template-columns: 1fr;
  }

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

  .product-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: var(--space-lg);
  }

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

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

  .product-showcase {
    padding: 2rem;
  }

  .feature-card,
  .feature-box {
    padding: var(--space-lg);
  }

  .feature-card:hover,
  .feature-box:hover {
    transform: translateY(-4px);
  }

  .theme-toggle {
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    font-size: 1.375rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .product-stats {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .platform-badges {
    flex-direction: column;
  }
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

