/* ================= VARIABLES ================= */
:root {
  /* COLORS */
  --bg-primary: #0a0d1a;
  --bg-secondary: #0f1320;
  --bg-card: #141825;
  --bg-elevated: #1a1f35;
  
  /* BRAND GRADIENT */
  --gradient-primary: linear-gradient(135deg, #ff006e 0%, #d100c8 35%, #7b2cff 65%, #001aff 100%);
  --gradient-hover: linear-gradient(135deg, #ff1a7e 0%, #d81ad0 35%, #8b3cff 65%, #1a2aff 100%);
  
  /* TEXT */
  --text-primary: #ffffff;
  --text-secondary: #b4b9d6;
  --text-muted: #7a82a8;
  
  /* ACCENT */
  --accent-pink: #ff006e;
  --accent-purple: #7b2cff;
  --accent-blue: #001aff;
  
  /* GLOW */
  --glow-pink: rgba(255, 0, 110, 0.4);
  --glow-purple: rgba(123, 44, 255, 0.4);
  --glow-blue: rgba(0, 26, 255, 0.3);
  
  /* BORDER */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.1);
  
  /* SHADOWS */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.7);
  
  /* SPACING */
  --section-padding: 120px;
  --container-padding: 8%;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================= UTILITY CLASSES ================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(123, 44, 255, 0.1);
  border: 1px solid rgba(123, 44, 255, 0.3);
  color: var(--accent-purple);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

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

.section-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

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

/* ================= BUTTONS ================= */
.btn-primary,
.btn-secondary,
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: 0 0 30px var(--glow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px var(--glow-purple), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--accent-purple);
}

.btn-text {
  background: transparent;
  color: var(--text-secondary);
  padding: 0;
}

.btn-text:hover {
  color: var(--text-primary);
  gap: 12px;
}

.btn-large {
  padding: 18px 36px;
  font-size: 16px;
}

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

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 13, 26, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 13, 26, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  z-index: 1001;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

.nav-cta {
  display: flex;
  gap: 16px;
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px var(--container-padding) 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--glow-purple), transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-content {
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(123, 44, 255, 0.1);
  border: 1px solid rgba(123, 44, 255, 0.3);
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

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

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

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

.stat-number {
  font-size: 36px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(123, 44, 255, 0.15), transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-logo {
  width: 60%;
  filter: drop-shadow(0 0 40px var(--glow-purple));
}

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

.floating-card {
  position: absolute;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: float-card 3s ease-in-out infinite;
}

/* Hide on tablets and mobile */
@media (max-width: 1200px) {
  .floating-card {
    display: none !important;
  }
}

.card-icon {
  font-size: 24px;
}

.card-text {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.card-1 {
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.card-2 {
  top: 50%;
  right: -10%;
  animation-delay: 1s;
}

.card-3 {
  bottom: 15%;
  left: 5%;
  animation-delay: 2s;
}

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

/* ================= ABOUT ================= */
.about {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

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

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple);
  box-shadow: 0 16px 48px rgba(123, 44, 255, 0.2);
}

.about-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.about-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 60px;
}

.story-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.story-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.story-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.value-item svg {
  color: var(--accent-purple);
  flex-shrink: 0;
}

/* ================= SERVICES ================= */
.services {
  padding: var(--section-padding) 0;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple);
  box-shadow: 0 16px 48px rgba(123, 44, 255, 0.2);
}

.service-card.featured {
  background: linear-gradient(135deg, rgba(123, 44, 255, 0.1), rgba(0, 26, 255, 0.1));
  border-color: var(--accent-purple);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-primary);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(123, 44, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-purple);
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.service-card > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-features li {
  color: var(--text-secondary);
  font-size: 15px;
  padding-left: 24px;
  position: relative;
}

.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-purple);
}

/* ================= PRICING ================= */
.pricing {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 40px 32px;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple);
  box-shadow: 0 16px 48px rgba(123, 44, 255, 0.2);
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(123, 44, 255, 0.1), rgba(0, 26, 255, 0.1));
  border-color: var(--accent-purple);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--text-primary);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-header h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.pricing-tag {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 32px;
}

.currency {
  font-size: 24px;
  color: var(--text-secondary);
}

.amount {
  font-size: 48px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.period {
  font-size: 16px;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.pricing-features svg {
  color: var(--accent-purple);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================= TESTIMONIALS ================= */
.testimonials {
  padding: var(--section-padding) 0;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 36px 32px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple);
  box-shadow: 0 16px 48px rgba(123, 44, 255, 0.2);
}

.testimonial-stars {
  font-size: 20px;
  margin-bottom: 20px;
}

.testimonial-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.author-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.author-position {
  font-size: 14px;
  color: var(--text-muted);
}

/* ================= CONTACT ================= */
.contact {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  padding: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(123, 44, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  flex-shrink: 0;
}

.contact-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent-purple);
}

.contact-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(123, 44, 255, 0.1);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--gradient-primary);
  color: var(--text-primary);
  border-color: transparent;
  transform: translateY(-4px);
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(123, 44, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* ================= FOOTER ================= */
.footer {
  background: var(--bg-primary);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 36px;
  height: 36px;
}

.footer-tagline {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 400px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
    --container-padding: 6%;
  }

  .section-title {
    font-size: 40px;
  }

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

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }

  .hero-badge {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-title {
    text-align: center;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
    text-align: center;
    max-width: 100%;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

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

  .hero-stats {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

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

  .hero-visual {
    order: -1;
    position: relative;
  }

  /* Hide floating cards on mobile - they cause layout issues */
  .floating-card {
    display: none !important;
  }

  .about-story {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 40px;
  }

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

  /* Keep navigation visible on all screens */
  .nav-links {
    gap: 20px;
    font-size: 14px;
  }

  .nav-cta {
    gap: 12px;
  }

  .nav-cta .btn-secondary,
  .nav-cta .btn-primary {
    padding: 10px 18px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
    text-align: center;
  }

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

  .hero {
    padding: 120px 5% 60px;
    overflow-x: hidden;
  }

  .hero-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    align-items: center;
    text-align: center;
    overflow-x: hidden;
  }

  .hero-badge {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-title {
    font-size: 32px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-subtitle {
    font-size: 16px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    padding: 0 10px;
  }

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

  /* Ensure floating cards don't show on mobile */
  .floating-card {
    display: none !important;
    visibility: hidden;
  }

  .services-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .section-header {
    padding: 0;
  }

  /* Adjust navbar for smaller screens but keep it visible */
  .nav-container {
    padding: 0 4%;
  }

  .nav-links {
    gap: 16px;
    font-size: 13px;
  }

  .nav-link {
    font-size: 13px;
  }

  .nav-cta {
    gap: 10px;
  }

  .nav-cta .btn-secondary,
  .nav-cta .btn-primary {
    padding: 8px 14px;
    font-size: 12px;
  }

  .nav-logo {
    font-size: 18px;
  }

  .logo-img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 5%;
  }

  body {
    overflow-x: hidden;
  }

  .hero {
    padding: 100px 4% 50px;
    overflow-x: hidden;
  }

  .hero-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .section-title {
    font-size: 26px;
    text-align: center;
    padding: 0 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .section-subtitle {
    font-size: 15px;
    text-align: center;
    padding: 0 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    overflow-x: hidden;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .hero-title {
    font-size: 28px;
    text-align: center;
    padding: 0 8px;
    line-height: 1.2;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-subtitle {
    font-size: 15px;
    text-align: center;
    padding: 0 8px;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    padding: 0 8px;
  }

  .hero-cta a {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .btn-large {
    padding: 16px 28px;
    font-size: 15px;
    width: 100%;
  }

  /* Completely hide floating cards on small mobile */
  .floating-card {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .hero-visual {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .contact-wrapper {
    padding: 32px 24px;
  }

  /* Compact navbar for very small screens */
  .nav-container {
    height: 70px;
    padding: 0 3%;
  }

  .nav-logo {
    font-size: 16px;
  }

  .logo-img {
    width: 28px;
    height: 28px;
  }

  .nav-links {
    gap: 10px;
    font-size: 10px;
  }

  .nav-link {
    font-size: 10px;
  }

  .nav-cta {
    gap: 6px;
  }

  .nav-cta .btn-secondary svg {
    width: 14px;
    height: 14px;
  }

  .nav-cta .btn-secondary,
  .nav-cta .btn-primary {
    padding: 6px 8px;
    font-size: 10px;
  }
}
