/* Base Settings & Variables */
:root {
  --primary: #3b82f6;       /* Blue 500 */
  --primary-dark: #1d4ed8;  /* Blue 700 */
  --primary-glow: rgba(59, 130, 246, 0.5);
  --secondary: #0ea5e9;     /* Sky 500 */
  --accent: #8b5cf6;        /* Violet 500 */
  --text-main: #0f172a;     /* Slate 900 */
  --text-muted: #475569;    /* Slate 600 */
  --bg-white: #ffffff;
  --bg-off: #f8fafc;        /* Slate 50 */
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.025);
  --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 20px var(--primary-glow);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1, h2, h3, h4 {
  color: #0f172a;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
}

.center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: var(--primary);
  transform: translateY(-2px);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 1rem;
  }
}

.bg-light {
  background-color: var(--bg-off);
}

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

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background-color: var(--glass);
  padding: 0.2rem 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--border-light);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: var(--transition);
}

header.scrolled .nav-wrapper {
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-main);
}

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

.nav-buttons {
  display: flex;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Offset for header */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
}

.hero-content {
  color: #fff;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img img {
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

.mission-vision {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mv-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mv-item i {
  font-size: 1.5rem;
  color: var(--primary);
  background: var(--primary-light);
  padding: 1rem;
  border-radius: 0.5rem;
}

.mv-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

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

.feature-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
}

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

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

.feature-card .icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: var(--transition);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 0.95rem;
}

/* Gallery Carousel */
.gallery .carousel {
  position: relative;
  max-width: 900px;
  margin: 3rem auto 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--bg-white);
  color: var(--primary-dark);
}

.carousel-btn.prev {
  left: 1rem;
}

.carousel-btn.next {
  right: 1rem;
}

/* Testimonials */
/* Platform Section */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.platform-image {
  background: var(--bg-white);
  padding: 1rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.platform-image img {
  border-radius: 1rem;
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

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

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

.platform-image .caption {
  margin-top: 1rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-main);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--bg-white);
  border-radius: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.faq-question:hover {
  background: var(--bg-off);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease-out;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

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

/* Testimonials Section */
.testimo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimo-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.stars {
  color: #fbbf24;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.testimo-card p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.author img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.author h4 {
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
}

.author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 4rem 2rem;
  border-radius: 2rem;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Contact Setup */
.contact-content {
  max-width: 600px;
}

.contact-email {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: #0f172a;
  color: var(--bg-off);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 4rem;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.footer h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

.newsletter-form {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: #fff;
  width: 100%;
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

.footer-bottom {
  text-align: center;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  color: #fff;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-white);
  box-shadow: 0 -10px 50px rgba(0,0,0,0.1);
  padding: 1.5rem 0;
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-content p {
  color: var(--text-main);
  margin-bottom: 0;
}

.cookie-content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

.reveal, .reveal-up {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active, .reveal-up.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Float Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.hero-content i {
  font-size: 3rem;
  color: var(--primary);
  animation: float 4s ease-in-out infinite;
  display: block;
  margin-bottom: 2rem;
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .about-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .nav-links, .nav-buttons {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }
  
  .nav-wrapper.mobile-active .nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 2rem;
    gap: 2.5rem;
    font-size: 1.5rem;
    transition: var(--transition);
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .platform-grid, .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-newsletter form {
    flex-direction: column;
  }

  .slide img {
    height: 300px;
  }
}
