:root {
  /* Aurinkosähkö värimaailma */
  --solar-primary: #0d2b4e;
  --solar-secondary: #ff6b35;
  --solar-accent: #4a9b8e;
  --solar-bg: #f8f5f0;
  --solar-surface: #ffffff;
  --solar-text: #2d3748;
  --solar-text-light: #6b7280;
  --solar-border: #e2e8f0;
  --solar-yellow: #fdd751;
  
  /* Gradientit */
  --solar-gradient: linear-gradient(135deg, #0d2b4e 0%, #2c4d7a 100%);
  --solar-accent-gradient: linear-gradient(135deg, #ff6b35 0%, #e05a2b 100%);
  --solar-hero-gradient: linear-gradient(135deg, rgba(13, 43, 78, 0.95) 0%, rgba(44, 77, 122, 0.95) 100%);
  
  /* Varjostukset */
  --solar-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --solar-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --solar-shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --solar-shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
  
  /* Siirtymät */
  --solar-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Välit */
  --section-padding: 5rem 2rem;
  --section-padding-mobile: 3rem 1.5rem;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Arial', sans-serif;
  background: var(--solar-bg);
  color: var(--solar-text);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

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

/* === HERO SECTION === */
.hero-section {
  position: relative;
  background: var(--solar-gradient);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 6rem 2rem;
  color: white;
  text-align: center;
  min-height: 500px;
  max-height: 650px;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-section * {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--solar-yellow);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.hero-section p {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
}

.hero-section .button,
.hero-section .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
  background: var(--solar-secondary);
  color: white !important;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--solar-transition);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  margin: 0.5rem;
  border: none;
  cursor: pointer;
}

.hero-section .button:hover,
.hero-section .btn-primary:hover {
  background: #e05a2b;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

/* === SECTIONS === */
section {
  margin-bottom: 3rem;
  background: var(--solar-surface);
  padding: var(--section-padding);
  border-radius: 16px;
  box-shadow: var(--solar-shadow);
  border: 1px solid var(--solar-border);
}

/* === JOHDANTO - Tekstiosio emojilla === */
.savings-intro {
  background: var(--solar-surface);
  padding: 3rem 2rem;
  margin: 3rem 0;
  border-radius: 16px;
  box-shadow: var(--solar-shadow);
  border: 2px solid var(--solar-border);
}

.savings-intro h3 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--solar-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.savings-intro p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--solar-text-light);
  margin-bottom: 1.25rem;
}

/* Jos on emoji-lista */
.savings-intro ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.savings-intro li {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--solar-text-light);
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.savings-intro li::before {
  content: attr(data-icon);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
}

/* === MIKSI AURINKOSÄHKÖ - Benefit kortit (6 syytä) === */
/* Tunnistaa h2:n jossa on "6 syytä" tai emoji */
h2:first-child {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--solar-primary);
  text-align: center;
  letter-spacing: -0.02em;
}

/* Benefit-lista joka tulee heti h2:n jälkeen ja sisältää emojit */
h2 + ul,
h3 + ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 2.5rem 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

h2 + ul > li,
h3 + ul > li {
  background: var(--solar-surface);
  border: 2px solid var(--solar-border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: var(--solar-transition);
  box-shadow: var(--solar-shadow-sm);
  position: relative;
  overflow: hidden;
  list-style: none !important;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--solar-text-light);
}

/* Reunan vaakaviiva joka animoituu hoverissa */
h2 + ul > li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--solar-accent-gradient);
  transform: scaleY(0);
  transform-origin: top;
  transition: var(--solar-transition);
}

h2 + ul > li:hover {
  transform: translateY(-6px);
  box-shadow: var(--solar-shadow-lg);
  border-color: var(--solar-secondary);
}

h2 + ul > li:hover::before {
  transform: scaleY(1);
}

/* Strong-otsikko lihavoituna */
h2 + ul > li strong,
h3 + ul > li strong {
  font-weight: 700;
  color: var(--solar-primary);
  display: inline;
}

/* Emoji näkyy isompana */
h2 + ul > li::first-line {
  font-size: 1.5rem;
  line-height: 1;
}

/* === MIKSI AURINKOMAAILMA - Feature grid === */
.miksi-aurinkomaailma {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  padding: 4rem 2rem;
  position: relative;
}

.miksi-aurinkomaailma h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--solar-primary);
  text-align: center;
  letter-spacing: -0.02em;
}

.valttikate-icon-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.step-icon-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--solar-surface);
  border-radius: 16px;
  box-shadow: var(--solar-shadow);
  border: 2px solid var(--solar-border);
  transition: var(--solar-transition);
  position: relative;
  overflow: hidden;
}

.step-icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--solar-accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--solar-transition);
}

.step-icon-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--solar-shadow-xl);
  border-color: var(--solar-secondary);
}

.step-icon-box:hover::before {
  transform: scaleX(1);
}

.step-icon-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--solar-secondary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.step-icon-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--solar-text-light);
  margin: 0;
}

.aurinkomaailma-button {
  text-align: center;
  margin-top: 2.5rem;
}

.aurinkomaailma-button .button {
  background: var(--solar-secondary);
  color: white;
  padding: 1.125rem 2.5rem;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--solar-transition);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  display: inline-block;
}

.aurinkomaailma-button .button:hover {
  background: #e05a2b;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

/* === HINNOITTELU === */
.pricing-section {
  background: var(--solar-surface);
  padding: 4rem 2rem;
}

.pricing-section h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--solar-primary);
  text-align: center;
  letter-spacing: -0.02em;
}

.pricing-section table {
  width: 100%;
  max-width: 900px;
  margin: 2.5rem auto;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--solar-surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--solar-shadow-lg);
}

.pricing-section th,
.pricing-section td {
  padding: 1.25rem 1.75rem;
  text-align: left;
  border-bottom: 1px solid var(--solar-border);
}

.pricing-section th {
  background: var(--solar-gradient);
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-section td {
  font-size: 1.0625rem;
  color: var(--solar-text);
}

.pricing-section td:first-child {
  font-weight: 700;
  color: var(--solar-primary);
}

.pricing-section td:nth-child(3) {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--solar-secondary);
}

.pricing-section tr:last-child td {
  border-bottom: none;
}

.pricing-section tbody tr {
  transition: var(--solar-transition);
}

.pricing-section tbody tr:hover {
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
  transform: scale(1.01);
}

/* === TYÖVAIHEET === */
.tyovaiheet-content {
  background: var(--solar-surface);
  padding: 4rem 2rem;
  border-radius: 16px;
  box-shadow: var(--solar-shadow);
  border: 1px solid var(--solar-border);
}

.tyovaiheet-content h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 2.5rem;
  color: var(--solar-primary);
  text-align: center;
  letter-spacing: -0.02em;
}

.tyovaiheet-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--solar-primary);
  margin: 2.5rem 0 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-left: 4px solid var(--solar-secondary);
  border-radius: 8px;
  transition: var(--solar-transition);
}

.tyovaiheet-content h3:hover {
  transform: translateX(8px);
  border-left-width: 6px;
  box-shadow: var(--solar-shadow-lg);
}

.tyovaiheet-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--solar-text-light);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.tyovaiheet-content ul {
  list-style: disc inside;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

.tyovaiheet-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--solar-text-light);
}

/* === CTA SECTION === */
.cta-section {
  background: var(--solar-gradient);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--solar-shadow-xl);
  margin: 3rem 0;
  border: none;
}

.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--solar-yellow);
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .button,
.cta-section .btn-primary {
  background: var(--solar-secondary);
  color: white !important;
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.cta-section .button:hover,
.cta-section .btn-primary:hover {
  background: #e05a2b;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

/* === FAQ SECTION === */
.faq-section {
  background: var(--solar-surface);
  padding: 4rem 2rem;
}

.faq-section h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--solar-primary);
  text-align: center;
}

.faq-section h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--solar-primary);
  margin: 2rem 0 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-left: 4px solid var(--solar-secondary);
  border-radius: 8px;
  transition: var(--solar-transition);
  cursor: pointer;
}

.faq-section h3:hover {
  transform: translateX(8px);
  border-left-width: 6px;
  box-shadow: var(--solar-shadow-lg);
  color: var(--solar-secondary);
}

.faq-section p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--solar-text-light);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

/* === LOCAL SERVICES === */
.local-services {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 4rem 2rem;
}

.local-services h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--solar-primary);
  text-align: center;
}

.local-services ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.local-services li {
  margin: 0;
}

.local-services li a {
  display: block;
  padding: 1rem 1.5rem;
  background: var(--solar-surface);
  border: 1px solid var(--solar-border);
  border-radius: 8px;
  color: var(--solar-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--solar-transition);
  box-shadow: var(--solar-shadow-sm);
}

.local-services li a:hover {
  background: var(--solar-secondary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--solar-shadow);
  border-color: var(--solar-secondary);
}

/* === BUTTONS - YLEISET === */
.button, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--solar-secondary);
  color: white !important;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--solar-transition);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
  border: none;
  text-decoration: none;
  cursor: pointer;
}

.button:hover, .btn-primary:hover {
  background: #e05a2b;
  transform: translateY(-3px);
  box-shadow: 0 7px 18px rgba(255, 107, 53, 0.45);
}

/* === YLEISET OTSIKOT === */
h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--solar-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--solar-primary);
}

p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--solar-text-light);
  margin-bottom: 1.25rem;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  :root {
    --section-padding: 4rem 1.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }

  .container {
    padding: 0 1.5rem;
  }
  
  section {
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
  }
  
  .hero-section {
    padding: 4rem 1.5rem;
    min-height: 400px;
    max-height: 500px;
    height: 50vh;
  }

  .savings-intro {
    padding: 2.5rem 1.5rem;
    margin-top: -1.5rem;
  }

  .miksi-aurinkosahko-section ul {
    grid-template-columns: 1fr;
  }

  .valttikate-icon-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-section th,
  .pricing-section td {
    padding: 1rem;
    font-size: 0.9375rem;
  }

  .local-services ul {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section .button {
    display: block;
    margin: 0.5rem auto;
    max-width: 280px;
  }

  .pricing-section th,
  .pricing-section td {
    padding: 0.875rem;
    font-size: 0.875rem;
  }

  .step-icon-box {
    padding: 2rem 1.5rem;
  }

  .savings-intro {
    padding: 2rem 1.5rem;
  }
}