@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --bg-cream: #fbfaf6;
  --bg-white: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.75);
  --text-dark: #182415;
  --text-muted: #4e5e49;
  --primary: #2d5a27;
  --primary-dark: #1b3d18;
  --primary-light: #eff6ed;
  --accent: #5e8f4b;
  --accent-light: #e6efe4;
  --accent-yellow: #eab308;
  --accent-orange: #d97706;
  --border: rgba(45, 90, 39, 0.1);
  --border-focus: rgba(45, 90, 39, 0.3);
  --shadow-sm: 0 4px 12px rgba(24, 36, 21, 0.03);
  --shadow-md: 0 12px 36px rgba(24, 36, 21, 0.06);
  --shadow-lg: 0 24px 50px rgba(24, 36, 21, 0.09);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-image: url('./assets/greenhouse_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
  background: rgba(45, 90, 39, 0.25);
  border-radius: 999px;
  border: 2px solid var(--bg-cream);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(45, 90, 39, 0.4);
}

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

/* Common Layout Elements */
.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

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

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.03); opacity: 1; }
}

@keyframes scan-line {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation triggers */
.animate-fade-in {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Sticky Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 0;
  background: rgba(251, 250, 246, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--primary);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(45, 90, 39, 0.15);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 99px;
}

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

.cta-nav {
  font-size: 14px;
  font-weight: 700;
  background: var(--primary);
  color: var(--bg-cream) !important;
  padding: 10px 20px !important;
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.15);
}

.cta-nav:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(45, 90, 39, 0.25);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  background: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 250, 246, 0.96) 0%, rgba(251, 250, 246, 0.88) 45%, rgba(251, 250, 246, 0.5) 100%);
  z-index: 1;
}

@media (max-width: 991px) {
  .hero-overlay {
    background: rgba(251, 250, 246, 0.92);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.08;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-copy {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.store-badge {
  display: inline-block;
  width: 170px;
  height: 50px;
  border-radius: 8px;
  background: #000;
  border: 1px solid rgba(24, 36, 21, 0.08);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  overflow: hidden;
}

.store-badge:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.store-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.store-badge-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(1);
}

.store-badge-disabled:hover {
  transform: none;
  box-shadow: var(--shadow-md);
  border-color: rgba(24, 36, 21, 0.08);
}

.availability {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.availability::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse-soft 2s infinite;
}

.beta-note {
  font-size: 12px;
  color: rgba(78, 94, 73, 0.7);
  margin-top: 6px;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: slideInRight 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  animation-delay: 0.2s;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
  border: 4px solid var(--bg-white);
  animation: float 6s ease-in-out infinite;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.hero-img-wrapper:hover .hero-image {
  transform: scale(1.03);
}

/* Glassmorphic float cards */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  transition: var(--transition);
}

.floating-card:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.floating-card-1 {
  top: 15%;
  left: -15%;
  animation: float 5s ease-in-out infinite alternate;
}

.floating-card-2 {
  bottom: 12%;
  right: -5%;
  animation: float 6s ease-in-out infinite alternate-reverse;
}

.floating-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
}

.floating-card-text p {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.floating-card-text h4 {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 700;
}

/* SECTION HEADINGS */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
  opacity: 0;
}

.section-header.animated {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
  font-weight: 800;
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
}

/* FEATURES SECTION */
.features-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.features-decor-left,
.features-decor-right {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
  color: var(--primary);
  z-index: 1;
}

.features-decor-left {
  top: 15%;
  left: -20px;
  transform: rotate(12deg);
}

.features-decor-right {
  bottom: 15%;
  right: -20px;
  transform: rotate(-12deg) scaleX(-1);
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.bento-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(45, 90, 39, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  opacity: 0;
}

.bento-card.animated {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(45, 90, 39, 0.2);
}

.bento-card.highlighted {
  background: rgba(239, 246, 237, 0.65);
  border-color: rgba(45, 90, 39, 0.2);
  box-shadow: 0 8px 30px rgba(45, 90, 39, 0.05);
}

.bento-card.highlighted:hover {
  background: rgba(239, 246, 237, 0.8);
  border-color: rgba(45, 90, 39, 0.35);
}

.bento-col-2 {
  grid-column: span 2;
}

.bento-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bento-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  transition: var(--transition);
  flex-shrink: 0;
}

.bento-card:hover .bento-icon-wrapper {
  background: var(--primary);
  color: var(--bg-cream);
  transform: rotate(-4deg) scale(1.05);
}

.bento-card-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.bento-card.highlighted .bento-card-header h3 {
  color: var(--primary-dark);
  font-size: 19px;
}

.bento-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .features-bento {
    grid-template-columns: 1fr 1fr;
  }
  .bento-col-2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .features-bento {
    grid-template-columns: 1fr;
  }
  .bento-col-2 {
    grid-column: span 1;
  }
  .features-decor-left,
  .features-decor-right {
    display: none;
  }
}

/* WIDGETS SECTION */
.widgets-section {
  padding: 100px 0;
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.widget-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.widget-layout:last-child {
  margin-bottom: 0;
}

.widget-layout.reverse {
  grid-template-columns: 1fr 1fr;
}

.widget-layout.reverse > *:first-child {
  order: 2;
}

.widget-desc {
  opacity: 0;
}

.widget-desc.animated {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.widget-desc h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.widget-desc p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.widget-desc ul {
  list-style: none;
  margin-bottom: 30px;
}

.widget-desc li {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.widget-desc li svg {
  color: var(--accent);
}

/* Widget 1: Calendario Semine */
.widget-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  opacity: 0;
}

.widget-box.animated {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  animation-delay: 0.15s;
}

.calendar-semina-container {
  margin-bottom: 100px;
  width: 100%;
}

.calendar-semina-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.calendar-semina-header h3 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.5vw, 42px);
  color: var(--text-dark);
  margin-bottom: 16px;
  font-weight: 800;
}

.calendar-semina-header p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.calendar-features-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.calendar-features-badges .feature-badge {
  background: rgba(45, 90, 39, 0.05);
  color: var(--primary-dark);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(45, 90, 39, 0.12);
  box-shadow: var(--shadow-sm);
}

.calendar-header-widget {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  width: 100%;
}

.calendar-header-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  width: 100%;
}

.calendar-header-widget h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
}

.live-simulator-badge {
  font-size: 9px;
  font-weight: 800;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid rgba(45, 90, 39, 0.25);
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: pulse-soft 2.5s infinite;
}

.live-simulator-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}

.interactive-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  margin-bottom: 18px;
  font-weight: 600;
  text-align: left;
  width: 100%;
}

.month-slider-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  width: 100%;
}

.month-slider {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  flex-grow: 1;
  padding: 4px 2px;
}

.month-slider::-webkit-scrollbar {
  display: none;
}

.month-pill {
  flex-shrink: 0;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 7px 15px;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.month-pill:hover {
  border-color: rgba(45, 90, 39, 0.25);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-1px);
}

.month-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-cream) !important;
  box-shadow: 0 4px 10px rgba(45, 90, 39, 0.2);
}

.month-nav-btn {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  color: var(--primary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: var(--transition);
  user-select: none;
  flex-shrink: 0;
  padding: 0;
  outline: none;
}

.month-nav-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.month-nav-btn:active {
  transform: scale(0.9);
}

.type-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--bg-cream);
  padding: 4px;
  border-radius: 99px;
  border: 1px solid var(--border);
}

.type-tab {
  flex: 1;
  text-align: center;
  background: none;
  border: none;
  padding: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 99px;
  transition: var(--transition);
}

.type-tab.active {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.plants-grid-widget {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  min-height: 180px;
}

@media (min-width: 768px) {
  .plants-grid-widget {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plant-widget-card {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
}

.plant-widget-card:hover {
  transform: translateY(-2px);
  background: var(--bg-white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.plant-widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plant-widget-emoji {
  font-size: 20px;
  line-height: 1;
}

.plant-widget-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.plant-widget-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}

.plant-widget-difficulty {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: auto;
}

/* Widget 2: Diagnosi Malattie AI Scanner Mockup */
.scanner-container-widget {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  opacity: 0;
}

.scanner-container-widget.animated {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  animation-delay: 0.15s;
}

.scanner-screen {
  background: #f1f3f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(45, 90, 39, 0.08);
}

.scanner-image-target {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s ease;
}

.scanner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.scanner-overlay.scanning {
  opacity: 1;
}

.scanner-overlay-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: scan-line 2s ease-in-out infinite;
  z-index: 2;
}

.scanner-overlay-text {
  font-size: 14px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.65);
  padding: 6px 16px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  z-index: 3;
}

.scanner-selectors {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.scanner-select-btn {
  flex: 1;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.scanner-select-btn img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
}

.scanner-select-btn span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.scanner-select-btn.active {
  background: var(--accent-light);
  border-color: var(--primary);
}

.scanner-select-btn.active span {
  color: var(--primary);
}

.scanner-result-box {
  background: var(--primary-light);
  border: 1px solid rgba(45, 90, 39, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  display: none;
}

.scanner-result-box.active {
  display: block;
  animation: fadeInUp 0.4s ease-out forwards;
}

.scanner-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.scanner-result-diagnosis {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-dark);
}

.scanner-result-accuracy {
  font-size: 11px;
  font-weight: 700;
  background: var(--primary);
  color: var(--bg-cream);
  padding: 2px 8px;
  border-radius: 4px;
}

.scanner-result-treatment {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* PARTNERSHIP PAGE */
.partner-hero {
  position: relative;
  padding: 150px 0 80px;
  background: none;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.partner-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(251, 250, 246, 0.88) 0%, rgba(251, 250, 246, 0.97) 80%);
  z-index: 1;
}

.partner-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.partner-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.partner-hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.partner-features {
  padding: 90px 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.partner-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.partner-feature-card {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  opacity: 0;
}

.partner-feature-card.animated {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.partner-feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45, 90, 39, 0.22);
}

.partner-feature-num {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
}

.partner-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.partner-feature-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* CONTACT SECTION */
.contact-section {
  padding: 100px 0;
  background: rgba(251, 250, 246, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 600px;
  opacity: 0;
}

.contact-card.animated {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.contact-header {
  text-align: center;
  margin-bottom: 30px;
}

.contact-header h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-header p {
  font-size: 14px;
  color: var(--text-muted);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.form-control {
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}

.form-control::placeholder {
  color: rgba(78, 94, 73, 0.45);
}

.form-control:focus {
  background: var(--bg-white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  font-family: var(--font-sans);
  background: var(--primary);
  color: var(--bg-cream);
  border: none;
  font-size: 14px;
  font-weight: 700;
  padding: 14px;
  border-radius: 99px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(45, 90, 39, 0.18);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(45, 90, 39, 0.28);
}

/* Success Banner animation */
.success-banner {
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  display: none;
}

.success-banner.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeInUp 0.5s ease-out forwards;
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.success-banner h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
}

.success-banner p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* LEGAL PAGES GENERAL STYLING (updated to light theme) */
.page {
  background: var(--bg-cream);
}

.page-header {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.page-brand {
  color: var(--primary) !important;
}

.legal {
  width: min(760px, calc(100% - 40px));
  margin: 60px auto 100px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.legal .eyebrow {
  margin-bottom: 12px;
}

.legal h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  color: var(--text-dark);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.legal h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text-dark);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

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

.legal a:hover {
  color: var(--accent);
}

.support-page {
  max-width: 900px;
}

.support-hero-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-top: 24px;
  margin-bottom: 40px;
}

.support-hero-card h2 {
  margin-top: 0;
  font-size: 20px;
  font-weight: 700;
}

.support-hero-card p {
  font-size: 14px;
  margin-bottom: 20px;
}

.support-mail-button {
  display: inline-flex;
  background: var(--primary);
  color: var(--bg-cream) !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 99px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.15);
}

.support-mail-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.support-grid article {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.support-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 90, 39, 0.2);
}

.support-grid h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.support-grid p {
  margin-bottom: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* FOOTER SECTION */
.site-footer {
  background: rgba(239, 246, 237, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
}

.footer-brand-title img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-links-col h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-links-col a:hover {
  color: var(--primary);
  padding-left: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(45, 90, 39, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(78, 94, 73, 0.7);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: var(--bg-cream);
  transform: translateY(-2px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .store-actions {
    justify-content: center;
  }

  .availability {
    justify-content: center;
  }

  .hero-img-wrapper {
    max-width: 360px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .widget-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .widget-layout.reverse > *:first-child {
    order: 0;
  }

  .widget-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .widget-desc ul {
    display: inline-block;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 12px 0;
  }

  .site-nav {
    display: none; /* In a real project we'd use a mobile hamburger. For simple site, we can show key links or clean header */
  }

  .header-container {
    justify-content: center; /* Center brand for simplicity and elegance on mobile */
  }

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

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

  .contact-card {
    padding: 24px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .store-actions {
    flex-direction: column;
    align-items: center;
  }

  .store-badge {
    width: 220px;
    height: 65px;
  }

  .hero {
    padding-top: 100px;
  }

  .floating-card-1 {
    left: -5%;
  }

  .floating-card-2 {
    right: -2%;
  }
}

/* INTERACTIVE SHOWCASE LAYOUT */
.showcase-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 50px;
}

.showcase-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-pill {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(45, 90, 39, 0.08);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
}

.showcase-pill:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(45, 90, 39, 0.15);
  transform: translateX(4px);
}

.showcase-pill.active {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.showcase-pill-icon {
  font-size: 28px;
  background: var(--primary-light);
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.showcase-pill.active .showcase-pill-icon {
  background: var(--primary);
  color: var(--bg-cream);
  transform: rotate(-3deg) scale(1.05);
}

.showcase-pill-text h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.showcase-pill.active .showcase-pill-text h3 {
  color: var(--primary-dark);
}

.showcase-pill-text p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Phone Simulator styling */
.showcase-simulator {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 290px;
  height: 550px;
  background: #1b261a;
  border: 10px solid #2d3c2b;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(15, 30, 14, 0.3);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 18px;
  background: #2d3c2b;
  border-radius: 10px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-cream);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(45, 90, 39, 0.15);
}

.simulator-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 40px 16px 20px;
}

.simulator-screen.active {
  opacity: 1;
  pointer-events: auto;
}

.sim-header {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid rgba(45, 90, 39, 0.08);
}

.sim-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* App Scanner Simulation */
.scanner-box {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  flex-grow: 1;
  max-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px dashed rgba(45, 90, 39, 0.3);
}

.scanner-leaf {
  width: 90px;
  height: 90px;
  color: var(--primary);
}

.scanner-laser {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #39b54a;
  box-shadow: 0 0 10px #39b54a;
  animation: scan-vertical 2.2s linear infinite alternate;
}

@keyframes scan-vertical {
  0% { top: 10%; }
  100% { top: 90%; }
}

.sim-result-card {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.sim-result-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.sim-result-text {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* App Tasks Simulation */
.sim-task-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.sim-task-card.urgent {
  border-color: rgba(194, 99, 78, 0.15);
}

.sim-task-card h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.sim-task-card .task-time {
  font-size: 10px;
  color: var(--text-muted);
}

.task-status {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--primary-light);
  color: var(--primary-dark);
}

.task-status.urgent {
  background: rgba(194, 99, 78, 0.1);
  color: var(--accent);
}

.task-status.checked {
  background: var(--primary);
  color: var(--bg-cream);
  font-size: 11px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}

/* App Grid Simulation */
.sim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.sim-grid-cell {
  aspect-ratio: 1;
  background: var(--bg-cream);
  border: 1px dashed rgba(45, 90, 39, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.sim-grid-cell.planted {
  background: var(--primary-light);
  border-color: rgba(45, 90, 39, 0.25);
  border-style: solid;
}

.sim-grid-hint {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* App Weather/Diary Simulation */
.sim-weather-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
}

.weather-icon {
  font-size: 24px;
}

.weather-temp h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.weather-temp span {
  font-size: 10px;
  color: var(--text-muted);
}

.sim-diary-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  gap: 10px;
  border: 1px solid var(--border);
}

.diary-pic {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.diary-info h4 {
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 2px;
}

.diary-info p {
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--text-muted);
}

/* Bottom Extras Row */
.showcase-extra-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

.showcase-extra-features span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.extra-badge {
  background: rgba(45, 90, 39, 0.05);
  color: var(--primary-dark) !important;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12.5px !important;
  border: 1px solid rgba(45, 90, 39, 0.12);
}

/* Animations */
.animate-pop {
  animation: pop-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes pop-in {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 991px) {
  .showcase-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .showcase-simulator {
    order: -1;
  }
}

/* LIVE WEATHER SECTION */
.live-weather-section {
  padding: 100px 0;
  background: rgba(251, 250, 246, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.weather-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.weather-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.5vw, 42px);
  color: var(--primary-dark);
  margin-bottom: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.weather-intro p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.weather-bullet-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.bullet-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
}

.bullet-item strong {
  display: block;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.bullet-item p {
  font-size: 13.5px;
  margin: 0;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Weather Station Card */
.weather-station-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 40px rgba(45, 90, 39, 0.08);
  position: relative;
  overflow: hidden;
  transition: background 0.8s ease, border-color 0.8s ease, box-shadow 0.5s ease;
  z-index: 2;
}

/* Specific morphing colors for weather cards */
.weather-station-card.sun-state {
  background: rgba(253, 246, 227, 0.55);
  border-color: rgba(249, 215, 28, 0.25);
  box-shadow: 0 20px 40px rgba(249, 215, 28, 0.1);
}

.weather-station-card.rain-state {
  background: rgba(225, 235, 245, 0.55);
  border-color: rgba(61, 90, 128, 0.25);
  box-shadow: 0 20px 40px rgba(61, 90, 128, 0.1);
}

.weather-station-card.cloud-state {
  background: rgba(240, 242, 240, 0.6);
  border-color: rgba(140, 150, 140, 0.25);
  box-shadow: 0 20px 40px rgba(100, 110, 100, 0.08);
}

.card-glass-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.station-search {
  display: flex;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(45, 90, 39, 0.12);
  border-radius: 99px;
  padding: 4px 6px 4px 18px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.station-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
  background: var(--bg-white);
}

.station-search input {
  border: none;
  background: transparent;
  flex-grow: 1;
  font-size: 13.5px;
  outline: none;
  color: var(--text-dark);
}

.station-search button {
  background: var(--primary);
  color: var(--bg-cream);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.station-search button:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.station-main-info {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}

.weather-temp-block {
  flex-grow: 1;
}

.temp-number {
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.temp-unit {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  vertical-align: super;
}

.weather-status-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.weather-city-badge {
  background: rgba(45, 90, 39, 0.08);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Animations for Weather Icons */
.weather-icon-animated {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Sun animation */
.anim-sun-source {
  width: 38px;
  height: 38px;
  background: #f9d71c;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(249, 215, 28, 0.8);
  position: relative;
  animation: pulse-glow 2.5s ease-in-out infinite alternate;
}

.anim-sun-source::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 3px dotted #f9d71c;
  border-radius: 50%;
  animation: rotate-sun-rays 10s linear infinite;
}

@keyframes rotate-sun-rays {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0% { transform: scale(0.92); box-shadow: 0 0 15px rgba(249, 215, 28, 0.6); }
  100% { transform: scale(1.08); box-shadow: 0 0 35px rgba(249, 215, 28, 1); }
}

/* Rain cloud animation */
.anim-rain-cloud {
  position: relative;
  width: 50px;
  height: 35px;
  background: #7ca1c3;
  border-radius: 20px;
  animation: float-cloud 4s ease-in-out infinite alternate;
}

.anim-rain-cloud::before {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  background: #7ca1c3;
  border-radius: 50%;
  top: -12px;
  left: 8px;
}

.anim-rain-cloud::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background: #7ca1c3;
  border-radius: 50%;
  top: -16px;
  right: 6px;
}

.rain-drops {
  position: absolute;
  bottom: -15px;
  left: 10px;
  width: 30px;
  height: 15px;
  display: flex;
  justify-content: space-between;
}

.drop {
  width: 3px;
  height: 10px;
  background: #3d5a80;
  border-radius: 99px;
  animation: drop-fall 0.8s linear infinite;
}

.drop:nth-child(2) { animation-delay: 0.25s; }
.drop:nth-child(3) { animation-delay: 0.5s; }

@keyframes drop-fall {
  0% { transform: translateY(-15px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

@keyframes float-cloud {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

/* Clouds animation */
.anim-cloudy {
  position: relative;
  width: 55px;
  height: 40px;
}

.cloud-back {
  width: 40px;
  height: 25px;
  background: #a8b2a8;
  top: 3px;
  left: 0;
  position: absolute;
  border-radius: 20px;
  opacity: 0.8;
  animation: float-cloud-back 4s ease-in-out infinite alternate;
}

.cloud-back::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: #a8b2a8;
  top: -10px;
  left: 6px;
  border-radius: 50%;
}

.cloud-front {
  width: 45px;
  height: 28px;
  background: #f7f9f7;
  bottom: 0;
  right: 0;
  position: absolute;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  animation: float-cloud-front 3s ease-in-out infinite alternate;
}

.cloud-front::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background: #f7f9f7;
  top: -11px;
  left: 8px;
  border-radius: 50%;
}

@keyframes float-cloud-back {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-4px) translateX(2px); }
}

@keyframes float-cloud-front {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-6px) translateX(-2px); }
}

/* Stats progress bars */
.station-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
  border-top: 1.5px solid rgba(45, 90, 39, 0.08);
  border-bottom: 1.5px solid rgba(45, 90, 39, 0.08);
  padding: 20px 0;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.stat-val {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.stat-progress-bar {
  height: 6px;
  background: rgba(45, 90, 39, 0.06);
  border-radius: 99px;
  overflow: hidden;
  width: 100%;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Advice panel */
.station-advice-box {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 18px 20px;
  border: 1px dashed rgba(45, 90, 39, 0.15);
  position: relative;
}

.advice-pill {
  position: absolute;
  top: -9px;
  left: 20px;
  background: var(--primary);
  color: var(--bg-cream);
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 99px;
  letter-spacing: 0.5px;
}

.station-advice-box p {
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .weather-grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* SUGGESTIONS DROPDOWN */
.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 18px;
  right: 50px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 5px;
  display: none;
}

.suggestion-item {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-dark);
  text-align: left;
  transition: var(--transition);
  border-bottom: 1px solid rgba(45, 90, 39, 0.06);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* Card loading state spinner */
.weather-station-card.loading {
  opacity: 0.75;
  pointer-events: none;
}
.weather-station-card.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border: 4px solid rgba(45, 90, 39, 0.1);
  border-left-color: var(--primary);
  border-radius: 50%;
  animation: spinner-rotate 0.8s linear infinite;
  z-index: 10;
}

.station-footer {
  margin-top: 15px;
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
  opacity: 0.8;
  letter-spacing: 0.3px;
}

@keyframes spinner-rotate {
  100% { transform: rotate(360deg); }
}
