/* CSS Variables for Theme */
:root {
    /* Light Mode Colors */
    --background: hsl(0, 0%, 98%);
    --foreground: hsl(220, 15%, 15%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(220, 15%, 15%);
    --primary: hsl(215, 85%, 25%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(220, 10%, 92%);
    --secondary-foreground: hsl(220, 15%, 15%);
    --muted: hsl(220, 10%, 95%);
    --muted-foreground: hsl(220, 10%, 45%);
    --accent: hsl(145, 65%, 42%);
    --accent-foreground: hsl(0, 0%, 100%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(0, 0%, 100%);
    --border: hsl(220, 13%, 88%);
    --glow-subtle: hsl(215, 85%, 25%);
    --glow-accent: hsl(145, 65%, 42%);
}

.dark-mode {
    /* Dark Mode Colors */
    --background: hsl(220, 20%, 8%);
    --foreground: hsl(220, 10%, 95%);
    --card: hsl(220, 18%, 12%);
    --card-foreground: hsl(220, 10%, 95%);
    --primary: hsl(215, 85%, 55%);
    --primary-foreground: hsl(220, 20%, 8%);
    --secondary: hsl(220, 15%, 18%);
    --secondary-foreground: hsl(220, 10%, 95%);
    --muted: hsl(220, 15%, 18%);
    --muted-foreground: hsl(220, 10%, 65%);
    --accent: hsl(145, 65%, 50%);
    --accent-foreground: hsl(220, 20%, 8%);
    --destructive: hsl(0, 62.8%, 50.6%);
    --destructive-foreground: hsl(220, 10%, 95%);
    --border: hsl(220, 15%, 20%);
    --glow-subtle: hsl(215, 85%, 55%);
    --glow-accent: hsl(145, 65%, 50%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 50;
    padding: 12px;
    border-radius: 50%;
    background-color: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.light-mode .icon-sun {
    display: none;
}

.dark-mode .icon-moon {
    display: none;
}

/* Section Container */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 16px;
}

@media (min-width: 640px) {
    .section-container {
        padding: 80px 24px;
    }
}

@media (min-width: 1024px) {
    .section-container {
        padding: 80px 32px;
    }
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Glow Effect */
.glow-effect {
    transition: all 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 20px hsla(var(--glow-subtle), 0.3);
}

/* Buttons */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(to right, var(--primary), var(--primary));
    color: var(--primary-foreground);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    box-shadow: 0 10px 25px hsla(var(--glow-subtle), 0.25);
    transform: scale(1.05);
}

.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-outline-hero:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 10px 25px hsla(var(--glow-subtle), 0.25);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.dark-mode .hero-image {
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        hsla(var(--background), 0.3), 
        hsla(var(--background), 0.6), 
        var(--background));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 2.25rem;
    }
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .hero-tagline {
        font-size: 1.5rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.hero-stats {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (min-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-item:nth-child(even) .stat-value {
    color: var(--accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 672px;
    margin: 0 auto;
}

/* Products Section */
.products-section {
    background-color: hsla(var(--muted), 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
}

.product-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.product-icon {
    padding: 12px;
    border-radius: 8px;
    background-color: hsla(var(--primary), 0.1);
    color: var(--primary);
    flex-shrink: 0;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-description {
    color: var(--muted-foreground);
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: auto auto auto auto auto auto auto;
        align-items: center;
    }
}

.process-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
}

.process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.process-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.process-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.process-arrow {
    display: none;
    color: var(--primary);
}

@media (min-width: 1024px) {
    .process-arrow {
        display: block;
    }
}

.process-advantages {
    margin-top: 64px;
    background-color: hsla(var(--accent), 0.1);
    border: 1px solid hsla(var(--accent), 0.2);
    border-radius: 8px;
    padding: 32px;
}

.advantages-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.advantages-list {
    display: grid;
    gap: 16px;
    list-style: none;
}

@media (min-width: 768px) {
    .advantages-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.advantages-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.advantages-list li::before {
    content: "•";
    color: var(--accent);
    font-weight: 700;
    font-size: 1.5rem;
}

/* Solutions Section */
.solutions-section {
    background-color: hsla(var(--muted), 0.3);
}

.solutions-grid {
    max-width: 1152px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.challenge-solution-pair {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .challenge-solution-pair {
        grid-template-columns: repeat(2, 1fr);
    }
}

.challenge-card {
    background-color: hsla(var(--destructive), 0.1);
    border: 1px solid hsla(var(--destructive), 0.3);
    border-radius: 8px;
    padding: 24px;
}

.solution-card {
    background-color: hsla(var(--accent), 0.1);
    border: 1px solid hsla(var(--accent), 0.3);
    border-radius: 8px;
    padding: 24px;
}

.challenge-header,
.solution-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.challenge-header svg {
    color: var(--destructive);
    flex-shrink: 0;
    margin-top: 4px;
}

.solution-header svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.challenge-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--destructive);
    margin-bottom: 8px;
}

.solution-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.challenge-text,
.solution-text {
    color: var(--foreground);
    opacity: 0.8;
}

/* Offerings Section */
.offerings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1152px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .offerings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.offering-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
}

.offering-icon {
    display: inline-flex;
    padding: 16px;
    border-radius: 50%;
    background-color: hsla(var(--primary), 0.1);
    color: var(--primary);
    margin-bottom: 16px;
}

.offering-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.offering-description {
    color: var(--muted-foreground);
}

/* Outcomes Section */
.outcomes-section {
    background: linear-gradient(to bottom, hsla(var(--primary), 0.05), hsla(var(--accent), 0.05));
}

.outcomes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1152px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .outcomes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .outcomes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.outcome-item {
    text-align: center;
}

.outcome-icon {
    display: inline-flex;
    padding: 24px;
    border-radius: 50%;
    background-color: var(--card);
    border: 2px solid hsla(var(--primary), 0.2);
    color: var(--primary);
    margin-bottom: 24px;
}

.outcome-metric {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.outcome-label {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.outcome-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.cta-box {
    margin-top: 64px;
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    color: var(--muted-foreground);
    margin-bottom: 24px;
}

/* Footer */
.footer {
    background-color: var(--card);
    border-top: 1px solid var(--border);
    padding: 32px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
    text-align: left;
}

.footer-text {
    color: var(--muted-foreground);
    margin-bottom: 8px;
}

.footer-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ==== INDEX.HTML SPECIFIC STYLES ==== */
/* Calculator Section */
.calculator-section {
  padding: 80px 24px;
  background-color: hsla(var(--muted), 0.3);
  transition: background-color 0.3s ease-in-out;
}

.calculator-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .calculator-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.calculator-intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  width: fit-content;
}

.section-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.calculator-features {
  background-color: var(--card);
  padding: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.calculator-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--muted-foreground);
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bullet {
  color: var(--accent);
  margin-top: 4px;
}

/* Services Section */
.services-section {
  padding: 80px 24px;
  transition: background-color 0.3s ease-in-out;
}

.services-header {
  text-align: center;
  max-width: 672px;
  margin: 0 auto 48px;
}

.services-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: hsla(var(--glow-accent), 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}

.service-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: hsla(var(--primary), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease-in-out;
}

.service-card:hover .service-icon-wrapper {
  background-color: hsla(var(--primary), 0.2);
}

.service-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.service-description {
  color: var(--muted-foreground);
  line-height: 1.75;
  font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
  padding: 80px 24px;
  background: linear-gradient(to right, hsla(var(--primary), 0.05), hsla(var(--accent), 0.05));
  transition: background-color 0.3s ease-in-out;
}

.cta-container {
  max-width: 896px;
  margin: 0 auto;
  text-align: center;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px 32px;
}

.cta-content {
  margin-bottom: 32px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  border: none;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px hsla(var(--glow-subtle), 0.25);
}

.arrow-icon {
  transition: transform 0.3s ease-in-out;
}

.cta-button:hover .arrow-icon {
  transform: translateX(4px);
}
