/* Remove tap highlight color and focus outlines */
* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: none !important;
}

/* Base Styles */
:root {
  --primary: #0a66c2;
  --primary-color: #0a66c2;
  --primary-light: #2d7fd3;
  --primary-dark: #1650A0;
  --primary-color-dark: #1650A0;
  --dark: #212529;
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #f1f3f5;
  --border: #e9ecef;
  --shadow: 0 5px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  font-family: 'Poppins', sans-serif; 
  line-height: 1.6; 
  color: #333; 
  background: #fff;
  padding-top: 80px;
}

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

a img,
img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(10, 102, 194, 0.25);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white !important; /* Force white text on hover */
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 15px 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-links a {
  margin-left: 30px;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:not(.btn-outline):hover {
  color: var(--primary);
}

.nav-links .btn-outline:hover {
  color: white !important;
}

/* Hero Section */
header {
  padding: 100px 0;
  background: transparent;
  overflow: hidden;
  position: relative;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: calc(100vh - 200px);
  align-items: center;
}

.hero-content {
  text-align: left;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}

.hero-content h1,
.hero-content p {
  width: 100%;
  max-width: 600px;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: transparent;
}

.phone-mockup {
  max-width: 100%;
  height: auto;
  max-height: 600px;
  border-radius: 0;
  box-shadow: none;
  transform: translateY(0);
  transition: transform 0.3s ease;
  background: transparent;
}

.phone-mockup:hover {
  transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 30px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 20px;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .phone-mockup {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  header {
    padding: 80px 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

header .cta-buttons {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

/* Store badges */
.store-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.2);
  transition: all 0.3s ease;
  font-weight: 500;
}

.store-badge i {
  font-size: 22px;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-badge span small {
  font-size: 10px;
  opacity: .8;
}

.store-badge span strong {
  font-size: 14px;
}

.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.35);
  background: var(--primary-dark);
  color: white;
}

.store-badge i {
  font-size: 20px;
  margin-right: 4px;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge span small {
  font-size: 10px;
  opacity: 0.9;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.store-badge span strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

@media (max-width: 480px) {
  .store-badge {
    padding: 10px 16px;
    border-radius: 30px; /* Match the desktop border radius */
  }
  .store-badge i {
    font-size: 18px;
  }
  .store-badge span strong {
    font-size: 13px;
  }
  .store-badges {
    gap: 12px;
    justify-content: flex-start;
  }
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.cta-buttons .btn {
  min-width: 150px;
}

.card-preview {
    margin-bottom: 30px;
    perspective: 1000px;
}

.card {
    background: linear-gradient(135deg, #0a66c2 0%, #084e98 100%);
    border-radius: 15px;
    padding: 25px;
    color: white;
    max-width: 400px;
    margin: 0 auto;
    height: 220px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(10, 102, 194, 0.2);
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    z-index: 1;
}

.card-chip {
    width: 50px;
    height: 35px;
    background: #f7d047;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.card-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

.payment-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.2);
    outline: none;
}

.btn-block {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.btn.loading .btn-text {
    visibility: hidden;
}

.btn.loading .btn-loader {
    display: block;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: #fff;
}

.testimonial-slider {
    max-width: 800px;
    margin: 50px auto 0;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.testimonial-content {
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px 28px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #777;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: #fff;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  color: var(--dark);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.testimonials h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--primary);
  border-radius: 999px;
  margin: 12px auto 0;
}

.testimonial-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

/* Hide all testimonials by default; JS toggles .active */
.testimonial {
  display: none;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.4s ease both;
}

/* Testimonial Controls */
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.testimonial-prev,
.testimonial-next {
  background: #fff;
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d4d9;
  display: inline-block;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  transform: scale(1.15);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: #f8f9fa;
}

.faq h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  color: var(--dark);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.faq h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--primary);
  border-radius: 999px;
  margin: 12px auto 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 25px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.7;
}

/* Responsive Navigation */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .nav-links {
        /* Mobile dropdown baseline */
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        -webkit-backdrop-filter: saturate(180%) blur(6px);
        backdrop-filter: saturate(180%) blur(6px);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);

        /* Animation state (hidden) */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        visibility: hidden;
        padding: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.35s ease, padding 0.25s ease;
    }

    .nav-links.active {
        /* Animation state (shown) */
        max-height: 320px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        visibility: visible;
        padding: 14px 0;
    }

    .nav-links a {
        margin: 10px 20px;
        opacity: 0;
        transform: translateY(-6px);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-links.active a { opacity: 1; transform: translateY(0); }
    .nav-links.active a:nth-child(1) { transition-delay: 0.05s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.10s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.15s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.20s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.25s; }
    .nav-links.active a:nth-child(6) { transition-delay: 0.30s; }

    .hamburger {
        display: block;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .hamburger.is-active {
        transform: rotate(90deg) scale(1.05);
        color: var(--primary);
    }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 250px;
  }

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

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .footer-content {
    flex-direction: column;
  }

  header,
  .features,
  .testimonials,
  .faq {
    padding: 60px 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .features h2, .testimonials h2, .faq h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

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

  .testimonial-content {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-author {
    margin-top: 15px;
    justify-content: center;
  }
}

/* Additional tablet/mobile tweaks */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .testimonial-content {
    padding: 22px 18px;
  }

  .project-image img {
    height: 180px;
  }

  .projects,
  .features,
  .testimonials,
  .faq {
    padding: 70px 0;
  }
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.2rem;
  color: var(--dark);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.how-it-works h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--primary);
  border-radius: 999px;
  margin: 12px auto 0;
}

.works-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 60px;
  max-width: 1000px;
  padding: 0 20px;
}

.works-poster {
  width: 100%;
  max-width: 1000px;
  height: auto;
  max-height: 600px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.works-poster:hover {
  transform: translateY(-5px);
}

.works-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
  background: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(10, 102, 194, 0.2);
}

.step-content h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.step-content p {
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .works-grid {
    gap: 40px;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 80px 0;
  }
  
  .how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 50px;
  }
  
  .works-image {
    margin-bottom: 40px;
    padding: 0 15px;
  }
  
  .works-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .step {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .how-it-works {
    padding: 60px 0;
  }
  
  .step {
    gap: 15px;
  }
  
  .step-number {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  
  .step-content h3 {
    font-size: 1.2rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
}

/* Team Section */
.team {
  padding: 100px 0;
  background-color: #f8f9fa;
  position: relative;
}

.team h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 2.2rem;
  color: var(--dark);
}

.team h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--primary);
  border-radius: 999px;
  margin: 12px auto 40px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.team-member {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 40px 25px 25px;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.social-links {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 25px 20px 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.team-member:hover .social-links {
  transform: translateY(0);
}

.social-links a {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* X (Twitter) logo specific styles */
.x-logo {
  background: rgba(255, 255, 255, 0.2) !important;
}

.x-icon {
  width: 16px;
  height: 16px;
  fill: white;
  transition: all 0.3s ease;
}

.x-logo:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.x-logo:hover .x-icon {
  fill: white;
}

.member-info {
  padding: 0;
  text-align: center;
}

.member-info h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 5px;
}

.position {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.bio {
  color: var(--gray);
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .team {
    padding: 80px 0;
  }
  
  .team h2 {
    font-size: 2rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Features Section */
.features {
  padding: 100px 0;
  background: white;
  position: relative;
  z-index: 1;
}

.features h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  color: var(--dark);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.features h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--primary);
  border-radius: 999px;
  margin: 12px auto 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* Projects (Use Cases) Section */
.projects {
  padding: 100px 0;
  background: white;
  position: relative;
  z-index: 1;
}

.projects h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  color: var(--dark);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.projects h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--primary);
  border-radius: 999px;
  margin: 12px auto 0;
}

.use-cases {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.use-cases h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 15px;
}

.use-cases h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.use-case-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    padding: 40px 25px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: rgba(10, 102, 194, 0.1);
}

.use-case-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.1) 0%, rgba(22, 80, 160, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.use-case-card:hover .use-case-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-color-dark) 100%);
    transform: scale(1.1);
}

.use-case-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.use-case-card:hover .use-case-icon svg {
    color: white;
    transform: scale(1.1);
}

.use-case-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
}

.use-case-content h3 {
    margin: 0 0 15px;
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.use-case-card:hover .use-case-content h3 {
    color: var(--primary);
}

.use-case-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1rem;
    flex-grow: 1;
}

.use-case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 0;
}

.use-case-tags span {
    background: #f8fafc;
    color: #4a6b8a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.use-case-card:hover .use-case-tags span {
    background: #f0f7ff;
    border-color: #d0e3ff;
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--primary);
    color: #fff;
    padding: 70px 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column {
    padding: 0 15px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover::after {
    width: 100%;
}

.contact-info {
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-item i {
    margin-right: 12px;
    color: white;
    margin-top: 4px;
    min-width: 18px;
    text-align: center;
    opacity: 0.9;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.contact-item a:hover {
    color: white;
}

.contact-item a:hover::after {
    width: 100%;
}

.footer-bottom {
    background: var(--primary-dark);
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* X logo in footer */
.footer-social .x-logo {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.footer-social .x-icon {
    width: 16px;
    height: 16px;
    fill: white;
}

.footer-social .x-logo:hover .x-icon {
    fill: white;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}

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

.feature-card {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

/* Responsive Adjustments */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .features h2 {
    font-size: 1.8rem;
  }
  
  .feature-card {
    padding: 30px 20px;
  }

  /* Make primary CTAs easier to tap */
  .cta-buttons {
    width: 100%;
    gap: 12px;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .project-image img {
    height: 160px;
  }

  .testimonial-content {
    padding: 18px 16px;
  }

  .testimonial-controls {
    gap: 10px;
  }
}

/* Global mobile typography scaling */
@media (max-width: 768px) {
  body { font-size: 0.95rem; }
  h1 { font-size: clamp(1.8rem, 5.5vw, 2.2rem); }
  h2 { font-size: clamp(1.4rem, 4.5vw, 1.8rem); }
  h3 { font-size: 1.1rem; }
  .nav-links a { font-size: 1rem; }
  .btn { font-size: 0.95rem; padding: 10px 18px; }
}

@media (max-width: 480px) {
  body { font-size: 0.93rem; }
  h1 { font-size: clamp(1.6rem, 8vw, 2rem); }
  h2 { font-size: clamp(1.25rem, 6.5vw, 1.6rem); }
  h3 { font-size: 1rem; }
  .nav-links a { font-size: 0.95rem; }
  .btn { font-size: 0.95rem; padding: 10px 16px; }
}
