:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #2563eb;
  --accent-light: #e6efff;
  --text-color: #1f2937;
  --light-text: #6b7280;
  --background: #ffffff;
  --light-background: #f3f4f6;
  --box-background: #f8fafc;
  --border-color: #e5e7eb;
  --success: #22c55e;
  --danger: #ef4444;
  --shadow: 0 4px 24px rgba(37, 99, 235, 0.08);

  /* --- Theme Variables --- */
  /* Default (Blue Theme) */
  --theme-primary-color: var(--primary-color);
  --theme-secondary-color: var(--secondary-color);
  --theme-accent-color: var(--accent-color);
  --theme-accent-light: var(--accent-light);
  --theme-text-color: var(--text-color);
  --theme-light-text: var(--light-text);
  --theme-background: var(--background);
  --theme-light-background: var(--light-background);
  --theme-box-background: var(--box-background);
  --theme-border-color: var(--border-color);
  --theme-shadow: var(--shadow);
  --theme-hero-background: linear-gradient(
    120deg,
    #e0e7ff 0%,
    #c7d2fe 50%,
    #f0f9ff 100%
  ); /* Default hero background */

  /* Dark Theme 2 */
  --dark-theme-2-primary-color: #b4d4ff;
  --dark-theme-2-secondary-color: #89baff;
  --dark-theme-2-accent-color: #b4d4ff;
  --dark-theme-2-accent-light: #3a4f6b;
  --dark-theme-2-text-color: #f8f9fa;
  --dark-theme-2-light-text: #c0c0c0;
  --dark-theme-2-background: #121212;
  --dark-theme-2-light-background: #1e1e1e;
  --dark-theme-2-box-background: #2c2c2c;
  --dark-theme-2-border-color: #404040;
  --dark-theme-2-shadow: 0 4px 24px rgba(180, 212, 255, 0.15);
  --dark-theme-2-hero-background: linear-gradient(
    120deg,
    #121212 0%,
    #1e1e1e 50%,
    #2c2c2c 100%
  );

  /* Ocean Theme */
  --ocean-theme-primary-color: #4ade80;
  --ocean-theme-secondary-color: #22c55e;
  --ocean-theme-accent-color: #4ade80;
  --ocean-theme-accent-light: #dcfce7;
  --ocean-theme-text-color: #1f2937;
  --ocean-theme-light-text: #6b7280;
  --ocean-theme-background: #e0f2f7;
  --ocean-theme-light-background: #bae6fd;
  --ocean-theme-box-background: #e0f2f7;
  --ocean-theme-border-color: #99f6e4;
  --ocean-theme-shadow: 0 4px 24px rgba(74, 222, 128, 0.08);
  --ocean-theme-hero-background: linear-gradient(
    120deg,
    #e0f2f7 0%,
    #bae6fd 50%,
    #99f6e4 100%
  );

  /* Purple Theme */
  --purple-theme-primary-color: #a78bfa;
  --purple-theme-secondary-color: #8b5cf6;
  --purple-theme-accent-color: #a78bfa;
  --purple-theme-accent-light: #ede9fe;
  --purple-theme-text-color: #1f2937;
  --purple-theme-light-text: #6b7280;
  --purple-theme-background: #f3e8ff;
  --purple-theme-light-background: #d8b4fe;
  --purple-theme-box-background: #f3e8ff;
  --purple-theme-border-color: #c4b5fd;
  --purple-theme-shadow: 0 4px 24px rgba(167, 139, 250, 0.08);
  --purple-theme-hero-background: linear-gradient(
    120deg,
    #f3e8ff 0%,
    #d8b4fe 50%,
    #c4b5fd 100%
  );

  /* Sunset Theme */
  --sunset-theme-primary-color: #fcd34d;
  --sunset-theme-secondary-color: #fbbf24;
  --sunset-theme-accent-color: #fcd34d;
  --sunset-theme-accent-light: #fffbeb;
  --sunset-theme-text-color: #1f2937;
  --sunset-theme-light-text: #6b7280;
  --sunset-theme-background: #fff7ed;
  --sunset-theme-light-background: #fed7aa;
  --sunset-theme-box-background: #fff7ed;
  --sunset-theme-border-color: #fdba74;
  --sunset-theme-shadow: 0 4px 24px rgba(252, 211, 77, 0.08);
  --sunset-theme-hero-background: linear-gradient(
    120deg,
    #fff7ed 0%,
    #fed7aa 50%,
    #fdba74 100%
  );

  /* Rose Theme */
  --rose-theme-primary-color: #f472b6;
  --rose-theme-secondary-color: #ec4899;
  --rose-theme-accent-color: #f472b6;
  --rose-theme-accent-light: #fdf2f8;
  --rose-theme-text-color: #1f2937;
  --rose-theme-light-text: #6b7280;
  --rose-theme-background: #ffe4e6;
  --rose-theme-light-background: #fecdd3;
  --rose-theme-box-background: #ffe4e6;
  --rose-theme-border-color: #fda4af;
  --rose-theme-shadow: 0 4px 24px rgba(244, 114, 182, 0.08);
  --rose-theme-hero-background: linear-gradient(
    120deg,
    #ffe4e6 0%,
    #fecdd3 50%,
    #fda4af 100%
  );

  /* Forest Theme */
  --forest-theme-primary-color: #34d399;
  --forest-theme-secondary-color: #059669;
  --forest-theme-accent-color: #34d399;
  --forest-theme-accent-light: #d1fae5;
  --forest-theme-text-color: #1f2937;
  --forest-theme-light-text: #6b7280;
  --forest-theme-background: #ecfdf5;
  --forest-theme-light-background: #a7f3d0;
  --forest-theme-box-background: #ecfdf5;
  --forest-theme-border-color: #6ee7b7;
  --forest-theme-shadow: 0 4px 24px rgba(52, 211, 153, 0.08);
  --forest-theme-hero-background: linear-gradient(
    120deg,
    #ecfdf5 0%,
    #a7f3d0 50%,
    #6ee7b7 100%
  );

  /* Midnight Theme */
  --midnight-theme-primary-color: #6366f1;
  --midnight-theme-secondary-color: #4f46e5;
  --midnight-theme-accent-color: #6366f1;
  --midnight-theme-accent-light: #eef2ff;
  --midnight-theme-text-color: #f3f4f6;
  --midnight-theme-light-text: #a1a1aa;
  --midnight-theme-background: #0f172a;
  --midnight-theme-light-background: #1e293b;
  --midnight-theme-box-background: #334155;
  --midnight-theme-border-color: #475569;
  --midnight-theme-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
  --midnight-theme-hero-background: linear-gradient(
    120deg,
    #0f172a 0%,
    #1e293b 50%,
    #334155 100%
  );

  /* Coral Theme */
  --coral-theme-primary-color: #f971d3;
  --coral-theme-secondary-color: #f43f5e;
  --coral-theme-accent-color: #f971d3;
  --coral-theme-accent-light: #ffe4e6;
  --coral-theme-text-color: #1f2937;
  --coral-theme-light-text: #6b7280;
  --coral-theme-background: #fce7f3;
  --coral-theme-light-background: #fecdd3;
  --coral-theme-box-background: #fce7f3;
  --coral-theme-border-color: #fda4af;
  --coral-theme-shadow: 0 4px 24px rgba(249, 113, 211, 0.08);
  --coral-theme-hero-background: linear-gradient(
    120deg,
    #fce7f3 0%,
    #fecdd3 50%,
    #fda4af 100%
  );

  /* Nordic Theme */
  --nordic-theme-primary-color: #06b6d4;
  --nordic-theme-secondary-color: #0891b2;
  --nordic-theme-accent-color: #06b6d4;
  --nordic-theme-accent-light: #cfdae0;
  --nordic-theme-text-color: #1f2937;
  --nordic-theme-light-text: #6b7280;
  --nordic-theme-background: #e0f7fa;
  --nordic-theme-light-background: #a5f3fc;
  --nordic-theme-box-background: #e0f7fa;
  --nordic-theme-border-color: #67e8f9;
  --nordic-theme-shadow: 0 4px 24px rgba(6, 182, 212, 0.08);
  --nordic-theme-hero-background: linear-gradient(
    120deg,
    #e0f7fa 0%,
    #a5f3fc 50%,
    #67e8f9 100%
  );

  /* Cyber Theme */
  --cyber-theme-primary-color: #a78bfa;
  --cyber-theme-secondary-color: #8b5cf6;
  --cyber-theme-accent-color: #a78bfa;
  --cyber-theme-accent-light: #eef2ff;
  --cyber-theme-text-color: #08fdd8;
  --cyber-theme-light-text: #a1a1aa;
  --cyber-theme-background: #18181b;
  --cyber-theme-light-background: #27272a;
  --cyber-theme-box-background: #3f3f46;
  --cyber-theme-border-color: #52525b;
  --cyber-theme-shadow: 0 4px 24px rgba(167, 139, 250, 0.15);
  --cyber-theme-hero-background: linear-gradient(
    120deg,
    #18181b 0%,
    #27272a 50%,
    #3f3f46 100%
  );

  /* Autumn Theme */
  --autumn-theme-primary-color: #f97316;
  --autumn-theme-secondary-color: #ea580c;
  --autumn-theme-accent-color: #f97316;
  --autumn-theme-accent-light: #fff7ed;
  --autumn-theme-text-color: #1f2937;
  --autumn-theme-light-text: #6b7280;
  --autumn-theme-background: #fef3c7;
  --autumn-theme-light-background: #fde68a;
  --autumn-theme-box-background: #fef3c7;
  --autumn-theme-border-color: #fcd34d;
  --autumn-theme-shadow: 0 4px 24px rgba(249, 115, 22, 0.08);
  --autumn-theme-hero-background: linear-gradient(
    120deg,
    #fef3c7 0%,
    #fde68a 50%,
    #fcd34d 100%
  );

  /* Landing Page Theme (Default) */
  --landing-page-theme-primary-color: var(--primary-color);
  --landing-page-theme-secondary-color: var(--secondary-color);
  --landing-page-theme-accent-color: var(--accent-color);
  --landing-page-theme-accent-light: var(--accent-light);
  --landing-page-theme-text-color: var(--text-color);
  --landing-page-theme-light-text: var(--light-text);
  --landing-page-theme-background: var(--background);
  --landing-page-theme-light-background: var(--light-background);
  --landing-page-theme-box-background: var(--box-background);
  --landing-page-theme-border-color: var(--border-color);
  --landing-page-theme-shadow: var(--shadow);
  --landing-page-theme-hero-background: linear-gradient(
    120deg,
    #e0e7ff 0%,
    #c7d2fe 50%,
    #f0f9ff 100%
  );
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--theme-text-color);
  background: var(--theme-background);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h2 {
  color: var(--theme-primary-color);
  font-size: 2.2rem;
  margin-bottom: 1.8rem;
}

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

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

/* Announcement Bar */
.announcement-bar {
  width: 100%;
  background: var(--theme-primary-color);
  color: #fff;
  text-align: center;
  padding: 0.6rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04);
}
.announcement-bar .announcement-link {
  color: #fff;
  text-decoration: underline;
  margin-left: 0.5em;
  font-weight: 600;
}
.announcement-bar .announcement-link:hover {
  color: var(--theme-secondary-color);
}

/* Navbar */
.navbar {
  background: var(--theme-background);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.04);
  position: fixed;
  width: 100%;
  top: 2.5rem;
  z-index: 1000;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--theme-primary-color);
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--theme-text-color);
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
  padding: 0.3em 0.7em;
  border-radius: 0.4em;
}
.nav-links a:hover,
.nav-links .cta-button {
  background: var(--theme-primary-color);
  color: #fff;
}
.nav-links .cta-button {
  font-weight: 700;
  border-radius: 0.5em;
  box-shadow: var(--theme-shadow);
  transition: background 0.2s, color 0.2s;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-hero-background);
  overflow: hidden;
  padding-top: 7rem;
  padding-bottom: 3rem;
}

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

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.hero-content h1 {
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--theme-text-color);
  letter-spacing: -1px;
}
.hero-content .highlight {
  color: var(--theme-primary-color);
  background: var(--theme-accent-light);
  padding: 0.1em 0.4em;
  border-radius: 0.4em;
}
.hero-desc {
  font-size: 1.35rem;
  color: #000;
  font-weight: 600;
  margin-bottom: 2.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.hero-cta {
  display: inline-block;
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border-radius: 0.7rem;
  font-weight: 700;
  background: var(--theme-primary-color);
  color: #fff;
  box-shadow: var(--theme-shadow);
  transition: background 0.2s, transform 0.2s;
  margin-top: 0.5rem;
  text-decoration: none;
}
.hero-cta:hover {
  background: var(--theme-secondary-color);
  transform: translateY(-2px) scale(1.03);
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  color: #000;
  letter-spacing: -0.5px;
}

/* Features Section */
.features {
  background: var(--theme-box-background);
  padding: 3.5rem 0 2rem 0;
}
.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: stretch;
  margin-bottom: 2rem;
}
.feature-card {
  background: #f8fbff;
  border-radius: 2rem;
  box-shadow: 0 6px 32px rgba(37, 99, 235, 0.1);
  border: none;
  padding: 2.2rem 2.5rem 2rem 2.5rem;
  text-align: left;
  min-width: 320px;
  max-width: 520px;
  min-height: 220px;
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.3s, transform 0.3s, background 0.3s,
    border-color 0.3s, color 0.3s;
  position: relative;
  margin: 0 auto;
  height: auto;
  box-sizing: border-box;
  justify-content: flex-start;
  border: 1.5px solid #e6efff;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(37, 99, 235, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 1;
}
.feature-card:hover {
  background: #fff;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.1);
  transform: translateY(-4px) scale(1.02);
  border-color: #e6efff;
}
.feature-card > * {
  position: relative;
  z-index: 2;
}
.feature-card i {
  color: var(--theme-text-color);
  background: none;
  border-radius: 50%;
  padding: 0;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.feature-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
  color: var(--theme-primary-color);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.feature-card p {
  color: var(--theme-text-color);
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
  line-height: 1.7;
  font-weight: 500;
}
.feature-card ul {
  margin: 0.5rem 0 0 0;
  padding-left: 0;
  list-style: none;
}
.feature-card ul li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: #374151;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.feature-card ul li i {
  color: var(--theme-primary-color);
  background: none;
  font-size: 1.1rem;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

/* Advanced Features Grid */
.advanced-features {
  background: #fff;
  padding: 4rem 0 2.5rem 0;
}
.advanced-features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
}
.advanced-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.1);
  border: 1.5px solid var(--theme-border-color);
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: left;
  min-width: 260px;
  max-width: 420px;
  min-height: 220px;
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s,
    background 0.3s;
  position: relative;
  margin: 0 auto;
  height: auto;
  box-sizing: border-box;
}
.advanced-card i {
  margin-bottom: 0.5rem;
  background: none;
  border-radius: 50%;
  padding: 0;
  font-size: 1.6rem;
}
.advanced-card h3 {
  min-height: 2.5rem;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  color: var(--theme-primary-color);
}
.advanced-card ul {
  list-style: disc inside;
  color: var(--theme-text-color);
  font-size: 1.01rem;
  margin: 0.5rem 0 0 0;
  padding: 0;
}
.advanced-card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
  border-color: var(--theme-primary-color);
}

/* How It Works Section */
.how-it-works {
  background: var(--theme-box-background);
  padding: 5rem 0 3rem 0;
  text-align: center;
}
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
}
.step {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
  border: 1.5px solid #e6efff;
  text-align: center;
  padding: 2rem 1.5rem;
  min-width: 220px;
  max-width: 280px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
}
.step-number {
  width: 3rem;
  height: 3rem;
  background: var(--theme-primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 1rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}
.step h3 {
  color: var(--theme-primary-color);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}
.step p {
  color: var(--theme-text-color);
  font-size: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  text-align: center;
  line-height: 1.5;
}
.step:hover {
  background: #f8fbff;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
  transform: translateY(-5px) scale(1.02);
  border-color: #e6efff;
}

/* Use Cases Section */
.use-cases {
  background: #fff;
  padding: 5rem 0 3rem 0;
}
.use-cases-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
}
.use-case-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.1);
  border: 1.5px solid var(--theme-border-color);
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: left;
  min-width: 260px;
  max-width: 420px;
  min-height: 220px;
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s,
    background 0.3s;
  position: relative;
  margin: 0 auto;
  height: auto;
  box-sizing: border-box;
}
.use-case-card i {
  margin-bottom: 0.5rem;
  background: none;
  border-radius: 50%;
  padding: 0;
  font-size: 1.6rem;
}
.use-case-card h3 {
  min-height: 2.5rem;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  color: var(--theme-primary-color);
}
.use-case-card p {
  flex: 1 1 auto;
  margin-bottom: 0.5rem;
  color: var(--theme-text-color);
  font-size: 1.01rem;
}
.use-case-card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
  border-color: var(--theme-primary-color);
}

/* Testimonials Section */
.testimonials {
  background: var(--theme-box-background);
  padding: 5rem 0 3rem 0;
}
.testimonials-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.2rem;
}
.testimonial-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.1);
  border: 1.5px solid var(--theme-border-color);
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: left;
  min-width: 260px;
  max-width: 420px;
  min-height: 220px;
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s,
    background 0.3s;
  position: relative;
  margin: 0 auto;
  height: auto;
  box-sizing: border-box;
}
.testimonial-card p {
  color: var(--theme-text-color);
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 1.2rem;
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 1rem;
  color: var(--theme-text-color);
}
.testimonial-user img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--theme-primary-color);
}
.testimonial-card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
  border-color: var(--theme-primary-color);
}

/* Newsletter Signup Section */
.newsletter {
  background: var(--theme-accent-light);
  padding: 4rem 0 3rem 0;
  text-align: center;
}
.newsletter h2 {
  color: var(--theme-primary-color);
  margin-bottom: 1rem;
}
.newsletter-desc {
  color: var(--theme-light-text);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.newsletter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  padding: 0.9rem 1.2rem;
  border-radius: 0.6rem;
  border: 1.5px solid var(--theme-primary-color);
  font-size: 1.1rem;
  outline: none;
  min-width: 220px;
  max-width: 320px;
  background: #fff;
  color: var(--theme-text-color);
  transition: border 0.2s;
}
.newsletter-form input[type="email"]:focus {
  border: 2px solid var(--theme-secondary-color);
}
.newsletter-form button {
  padding: 0.9rem 2rem;
  border-radius: 0.6rem;
  background: var(--theme-primary-color);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.newsletter-form button:hover {
  background: var(--theme-secondary-color);
  transform: scale(1.04);
}

/* Footer */
.footer {
  background: var(--theme-primary-color);
  color: white;
  padding: 4rem 0 2rem;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.footer-section {
  min-width: 180px;
  flex: 1 1 180px;
}
.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.footer-section a {
  color: white;
  text-decoration: none;
  display: block;
  margin: 0.5rem 0;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-section a:hover {
  color: var(--theme-secondary-color);
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  font-size: 1.5rem;
  color: #fff;
  transition: color 0.2s;
}
.social-links a:hover {
  color: var(--theme-secondary-color);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1rem;
}

/* Scroll to Top Button */
#scrollToTopBtn {
  background: var(--theme-primary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 3.2rem;
  height: 3.2rem;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
  cursor: pointer;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
}
#scrollToTopBtn:hover {
  background: var(--theme-secondary-color);
  transform: scale(1.08);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .features-row,
  .advanced-features-grid,
  .steps,
  .use-cases-row,
  .testimonials-row,
  .footer-content {
    gap: 1.2rem;
  }
  .feature-card,
  .advanced-card,
  .use-case-card,
  .testimonial-card {
    min-width: 220px;
    max-width: 100%;
    flex: 1 1 220px;
  }
}
@media (max-width: 900px) {
  .features-row {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
  }
  .feature-card,
  .advanced-card,
  .use-case-card,
  .testimonial-card {
    min-width: 200px;
    max-width: 300px;
    flex: 1 1 220px;
    margin-bottom: 1rem;
  }
}
@media (max-width: 768px) {
  .announcement-bar {
    font-size: 0.95rem;
    padding: 0.4rem 0;
  }
  .navbar {
    top: 2rem;
    padding: 0.7rem 0;
  }
  .hero {
    padding-top: 6rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .footer {
    padding: 2rem 0 1rem;
  }
  #scrollToTopBtn {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.1rem;
  }
  .step {
    min-width: 180px;
    max-width: 250px;
    flex: 1 1 200px;
    margin-bottom: 0.8rem;
  }
}
@media (max-width: 500px) {
  .container {
    padding: 0 0.3rem;
  }
  .hero-content h1 {
    font-size: 1.3rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .primary-button,
  .secondary-button,
  .hero-cta {
    font-size: 0.95rem;
    padding: 0.7rem 1.2rem;
  }
}

/* --- Card Enhancements for Dynamic Content --- */
.features-row,
.advanced-features-grid,
.use-cases-row,
.testimonials-row {
  align-items: stretch;
}
.feature-card,
.advanced-card,
.use-case-card,
.testimonial-card {
  justify-content: flex-start;
}
.feature-card h3,
.advanced-card h3,
.use-case-card h3 {
  min-height: 2.5rem;
}
.feature-card p,
.advanced-card ul,
.use-case-card p {
  flex: 1 1 auto;
  margin-bottom: 0.5rem;
}

/* Features Section - Grid Alignment */
.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  justify-items: center;
  align-items: stretch;
  margin-bottom: 2.5rem;
}
.feature-card {
  height: 100%;
  min-height: 260px;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .features-row {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
  }
}
@media (max-width: 600px) {
  .features-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.feature-badge {
  display: inline-block;
  background: var(--theme-primary-color);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 1em;
  padding: 0.22em 0.9em;
  margin-bottom: 0.7em;
  margin-top: 0.1em;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.08);
}

.orange-check {
  color: #d97706;
  background: none;
  font-size: 1.25rem;
  margin-right: 0.2em;
  vertical-align: middle;
}

/* Theme Selector */
.theme-selector {
  position: relative;
  margin-left: 1.5rem;
}

.theme-icon {
  font-size: 1.5rem;
  color: var(--theme-text-color);
  cursor: pointer;
  transition: color 0.2s;
}

.theme-icon:hover {
  color: var(--theme-primary-color);
}

.theme-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--theme-background);
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  padding: 0.5rem 0;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0.2s;
  max-height: 300px;
  overflow-y: auto;
}

.theme-dropdown.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.theme-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.theme-dropdown li {
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: var(--theme-text-color);
  transition: background 0.15s;
}

.theme-dropdown li:hover {
  background: var(--theme-light-background);
}

.theme-dropdown li i {
  font-size: 1.1rem;
  width: 1.5rem;
  text-align: center;
  color: var(--theme-primary-color);
}

.theme-dropdown li span {
  flex-grow: 1;
}

.theme-dropdown .theme-category {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--theme-light-text);
  padding: 0.8rem 1.2rem 0.4rem;
  margin-top: 0.5rem;
}

.theme-dropdown .theme-category:first-child {
  margin-top: 0;
}

.theme-dropdown hr {
  border: none;
  height: 1px;
  background: var(--theme-border-color);
  margin: 0.5rem 0;
}

/* Our Team Section */
.our-team {
  padding: 80px 0;
  text-align: center;
  background-color: var(--theme-light-background);
}

.our-team .section-description {
  margin-bottom: 60px;
}

.team-description {
  color: #000000; /* Pure dark black color */
}

.team-card ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.team-card ul li {
  color: #000000; /* Pure dark black for list items */
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.team-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background: var(--theme-background);
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--theme-border-color);
  padding: 1.5rem;
  text-align: center;
  min-width: 200px;
  max-width: 280px;
  height: auto;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--theme-primary-color);
}

.team-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--theme-primary-color);
}

.team-card h3 {
  font-size: 1.2rem;
  color: var(--theme-text-color);
  margin-bottom: 0.3rem;
}

.team-card p {
  font-size: 0.95rem;
  color: var(--theme-light-text);
  margin-bottom: 1.5rem;
}

.profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-primary-color);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.profile-button:hover {
  background: var(--theme-secondary-color);
}

.profile-button i {
  margin-right: 0.5rem;
}

/* Example Projects Section */
.example-projects {
  background: var(--theme-background);
  padding: 5rem 0 3rem 0;
  text-align: center;
}

.projects-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: -1rem;
  margin-right: -1rem;
}

.projects-carousel::-webkit-scrollbar {
  height: 10px;
}

.projects-carousel::-webkit-scrollbar-track {
  background: var(--theme-light-background);
  border-radius: 10px;
}

.projects-carousel::-webkit-scrollbar-thumb {
  background: var(--theme-primary-color);
  border-radius: 10px;
}

.projects-carousel::-webkit-scrollbar-thumb:hover {
  background: var(--theme-secondary-color);
}

.project-card {
  flex: 0 0 320px;
  width: 320px;
  background: var(--theme-box-background);
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--theme-border-color);
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-background {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(
    to bottom right,
    var(--theme-accent-light),
    var(--theme-border-color)
  );
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  padding: 1rem;
  color: #fff;
  text-align: left;
}

.overlay h3 {
  font-size: 1.35rem;
  margin: 0;
  color: #fff;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.card-content {
  padding: 1.5rem;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-description {
  font-size: 1rem;
  color: var(--theme-text-color);
  margin-bottom: 1rem;
  flex-grow: 1;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.tag {
  display: inline-block;
  background: var(--theme-accent-light);
  color: var(--theme-primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4em 1em;
  border-radius: 0.5rem;
  white-space: nowrap;
}

.carousel-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.6rem;
}

.pagination-dot {
  width: 12px;
  height: 12px;
  background: var(--theme-border-color);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.pagination-dot.active {
  background: var(--theme-primary-color);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .projects-carousel {
    gap: 1.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  .project-card {
    flex: 0 0 280px;
    width: 280px;
  }

  .overlay h3 {
    font-size: 1.2rem;
  }

  .project-description {
    font-size: 0.95rem;
  }

  .tag {
    font-size: 0.8rem;
    padding: 0.3em 0.8em;
  }

  .carousel-pagination {
    margin-top: 1.5rem;
  }
}

@media (max-width: 480px) {
  .projects-carousel {
    gap: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  .project-card {
    flex: 0 0 250px;
    width: 250px;
  }

  .overlay h3 {
    font-size: 1.1rem;
  }

  .project-description {
    font-size: 0.9rem;
  }

  .tag {
    font-size: 0.75rem;
    padding: 0.2em 0.6em;
  }
}

/* --- Animation Classes --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in-up:nth-child(odd) {
  transition-delay: 0.1s;
}

.fade-in-up:nth-child(even) {
  transition-delay: 0.2s;
}

.fade-in-up .feature-card,
.fade-in-up .advanced-card,
.fade-in-up .step,
.fade-in-up .use-case-card,
.fade-in-up .team-card {
  transition-delay: 0.1s;
}

.fade-in-up .features-row .feature-card:nth-child(2) {
  transition-delay: 0.2s;
}

.fade-in-up .features-row .feature-card:nth-child(3) {
  transition-delay: 0.3s;
}

.fade-in-up .features-row .feature-card:nth-child(4) {
  transition-delay: 0.4s;
}

.fade-in-up .features-row .feature-card:nth-child(5) {
  transition-delay: 0.5s;
}

.fade-in-up .features-row .feature-card:nth-child(6) {
  transition-delay: 0.6s;
}

.fade-in-up .features-row .feature-card:nth-child(7) {
  transition-delay: 0.7s;
}

.fade-in-up .features-row .feature-card:nth-child(8) {
  transition-delay: 0.8s;
}

.fade-in-up .features-row .feature-card:nth-child(9) {
  transition-delay: 0.9s;
}

.fade-in-up .advanced-features-grid .advanced-card:nth-child(2) {
  transition-delay: 0.2s;
}

.fade-in-up .advanced-features-grid .advanced-card:nth-child(3) {
  transition-delay: 0.3s;
}

.fade-in-up .advanced-features-grid .advanced-card:nth-child(4) {
  transition-delay: 0.4s;
}

.fade-in-up .advanced-features-grid .advanced-card:nth-child(5) {
  transition-delay: 0.5s;
}

.fade-in-up .steps .step:nth-child(2) {
  transition-delay: 0.2s;
}

.fade-in-up .steps .step:nth-child(3) {
  transition-delay: 0.3s;
}

.fade-in-up .steps .step:nth-child(4) {
  transition-delay: 0.4s;
}

.fade-in-up .use-cases-row .use-case-card:nth-child(2) {
  transition-delay: 0.2s;
}

.fade-in-up .use-cases-row .use-case-card:nth-child(3) {
  transition-delay: 0.3s;
}

.fade-in-up .use-cases-row .use-case-card:nth-child(4) {
  transition-delay: 0.4s;
}

.fade-in-up .use-cases-row .use-case-card:nth-child(5) {
  transition-delay: 0.5s;
}

.fade-in-up .team-row .team-card:nth-child(2) {
  transition-delay: 0.2s;
}

.fade-in-up .team-row .team-card:nth-child(3) {
  transition-delay: 0.3s;
}

.fade-in-up .team-row .team-card:nth-child(4) {
  transition-delay: 0.4s;
}

/* Collaboration Showcase Section */
.collaboration-showcase {
  background: var(--theme-light-background);
  padding: 5rem 0;
  text-align: center;
}

.collaboration-showcase .section-description {
  margin-bottom: 3rem;
}

.collaboration-panels {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.collab-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--theme-box-background);
  border-radius: 1rem;
  box-shadow: var(--theme-shadow);
  border: 1px solid var(--theme-border-color);
  padding: 2.5rem;
}

.panel-graphic {
  width: 100%;
  max-width: 600px;
  margin-bottom: 2rem;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.panel-graphic img {
  display: block;
  width: 100%;
  height: auto;
}

.panel-content {
  max-width: 600px;
}

.panel-content h3 {
  font-size: 1.8rem;
  color: var(--theme-primary-color);
  margin-bottom: 1rem;
}

.panel-content p {
  font-size: 1.1rem;
  color: var(--theme-text-color);
  line-height: 1.6;
}

/* Layout for larger screens: graphic and content side-by-side */
@media (min-width: 900px) {
  .collab-panel {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 4rem;
    padding: 3rem;
  }

  .collab-panel:nth-child(even) {
    flex-direction: row-reverse;
  }

  .panel-graphic,
  .panel-content {
    flex: 1;
    margin-bottom: 0;
  }

  .panel-graphic {
    max-width: none;
  }
}

/* Video Demo Section */
.demo-video {
  padding: 80px 0;
  text-align: center;
  background-color: var(--theme-light-background);
}

.video-container {
  position: relative;
  width: 80%; /* Adjust as needed */
  max-width: 900px; /* Max width for the video */
  margin: 0 auto;
  padding-bottom: 45%; /* 16:9 aspect ratio (height / width * 100) */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--theme-shadow);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .video-container {
    width: 95%;
    padding-bottom: 56.25%; /* Adjust for smaller screens, maybe 16:9 */
  }
}

@media (max-width: 480px) {
  .video-container {
    width: 100%;
    padding-bottom: 65%; /* Adjust for very small screens */
  }
}
