/* ===================================================================
   Global Reset & Box Sizing
   =================================================================== */
   *,
   *::before,
   *::after {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
   }
   
   /* ===================================================================
      Root Variables (Your Original Theme)
      =================================================================== */
   :root {
     --color-bg:         #EEE9DA;
     --color-bg-alt:     #F8F4EC;
     --color-bg-light:   #FFFFFF;
     --color-bg-accent:  #E4F1F7;
   
     --color-primary:        #46758e;
     --color-primary-dark:   #4B7C99;
   
     --color-text:        #1A1A1A;
     --color-text-light:  #FFFFFF;
   
     --radius:           12px;
     --transition-fast:  0.2s ease-out;
     --shadow-soft:      0 4px 16px rgba(0,0,0,0.06);
   }
   
   /* ===================================================================
      Global Button Styles
      =================================================================== */
   .button {
     display: inline-block;
     background-color: var(--color-bg-light);
     color: var(--color-text);
     padding: 0.75rem 1.5rem;
     border-radius: var(--radius);
     font-weight: 600;
     text-decoration: none;
     box-shadow: var(--shadow-soft);
     transition: background-color var(--transition-fast), transform var(--transition-fast);
   }
   .button:hover {
     background-color: var(--color-bg-alt);
     color: var(--color-text);
     transform: translateY(-2px);
   }
   
   /* ===================================================================
      Base Typography & Layout
      =================================================================== */
   body {
     font-family: 'Inter', sans-serif;
     background-color: var(--color-bg);
     color: var(--color-text);
     line-height: 1.6;
   }
   
   .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 1rem;
   }
   
   a {
     text-decoration: none;
     color: inherit;
   }
   
   /* ===================================================================
      Header & Navigation
      =================================================================== */
   header {
     position: sticky;
     top: 0;
     z-index: 1000;
     background-color: var(--color-primary);
     color: var(--color-text-light);
     display: flex;
     align-items: center;
     justify-content: space-between;
     flex-wrap: wrap;
     padding: 0rem 0.9rem;
     backdrop-filter: blur(6px);
   }
   
   .hero-logo {
     height: 7rem;
   }
   
   #menu-toggle {
     display: none;
     background: none;
     border: none;
     font-size: 2rem;
     color: var(--color-text-light);
     cursor: pointer;
   }
   
   /* Desktop nav */
   #main-nav {
     display: flex;
     gap: 1.5rem;
   }
   
   #main-nav a {
     font-weight: 500;
     font-size: 1rem;
     padding: 0.5rem;
     transition: color var(--transition-fast);
   }
   
   #main-nav a:hover,
   #main-nav a:focus {
     color: var(--color-bg-light);
     outline: none;
   }
   
   /* Mobile nav toggle */
   @media (max-width: 768px) {
     #menu-toggle {
       display: block;
     }
     #main-nav {
       display: none;
       flex-direction: column;
       width: 100%;
       margin-top: 1rem;
       background-color: var(--color-primary-dark);
       border-radius: var(--radius);
       padding: 1rem;
     }
     #main-nav.show {
       display: flex;
     }
     #main-nav a {
       color: var(--color-text-light);
       padding: 0.75rem 0;
       font-size: 1.1rem;
     }
   }
   
   /* ===================================================================
      Hero Section
      =================================================================== */
   .hero {
     background: linear-gradient(rgba(55, 102, 128, 0.7), rgba(73, 141, 166, 0.7)), no-repeat center/cover;
     text-align: center;
     padding: 2rem 2rem;
     color: var(--color-text-light);
   }
   
   .hero h1 {
     font-size: 2.8rem;
     font-weight: 700;
     margin-bottom: 1rem;
     color: #FFFFFF !important;
     /*text-shadow: 0 4px 12px rgba(0,0,0,0.8);*/
     opacity: 0;
     animation: fadeInUp 1s var(--transition-fast) forwards;
     animation-delay: 0.3s;
   }
   
   .hero h2 {
     font-size: 1.85rem;
     font-weight: 500;
     margin-bottom: 1rem;
     color: #FFFFFF !important;
     /*text-shadow: 0 4px 12px rgba(0,0,0,0.8);*/
     opacity: 0;
     animation: fadeInUp 1s var(--transition-fast) forwards;
     animation-delay: 0.3s;
   }
   
   .hero p {
     font-size: 1.25rem;
     max-width: 700px;
     margin: 0 auto;
     color: #FFFFFF !important;
     /*text-shadow: 0 2px 8px rgba(0,0,0,0.6);*/
     opacity: 0;
     animation: fadeInUp 1s var(--transition-fast) forwards;
     animation-delay: 0.6s;
   }
   
   /* ===================================================================
      Section Headings & Text
      =================================================================== */
   section h2,
   .step-h2 {
     font-size: 2rem;
     font-weight: 600;
     margin-bottom: 1.5rem;
     text-align: center;
     color: var(--color-primary-dark);
   }
   
   section p,
   .feature-card p,
   .product-description p,
   .resilience p {
     font-size: 1rem;
     max-width: 800px;
     margin: 0 auto 1rem;
   }
   
   /* ===================================================================
      Features & How It Works
      =================================================================== */
   .features,
   .how-it-works {
     background-color: var(--color-bg-alt);
     padding: 1.5rem 1.5rem;
   }
   
   .features .container {
     display: grid;
     gap: 2rem;
     grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
   }
   
   .feature-card {
     background-color: var(--color-bg-light);
     border-radius: var(--radius);
     padding: 2rem;
     box-shadow: var(--shadow-soft);
     text-align: center;
     transition: transform var(--transition-fast), box-shadow var(--transition-fast);
   }
   
   .feature-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 6px 20px rgba(0,0,0,0.1);
   }
   
   .feature-card img {
     display: block;
     margin: 0 auto 1rem;
   }
   
   /* Center images in the Features section’s .step cards */
   #features .step img {
     display: block;
     margin: 0 auto 1rem;
   }
   
   /* ===================================================================
      Steps Layout & Animation
      =================================================================== */
   .steps {
     display: flex;
     flex-wrap: wrap;
     gap: 2rem;
     justify-content: center;
     margin: 0 auto;
     padding: 0 1rem;
   }
   
   .step {
     background: var(--color-bg-light);  
     border-radius: var(--radius);
     padding: 1.5rem;
     box-shadow: var(--shadow-soft);
     text-align: left;
     opacity: 0;
     transform: translateY(20px);
     animation: fadeInUp 0.8s var(--transition-fast) forwards;
   }
   
   .step:nth-child(1) { animation-delay: 0.2s; }
   .step:nth-child(2) { animation-delay: 0.4s; }
   .step:nth-child(3) { animation-delay: 0.6s; }
   .step:nth-child(4) { animation-delay: 0.8s; }
   
   .step h3 {
     font-size: 1.25rem;
     font-weight: 600;
     margin-bottom: 0.5rem;
   }
   
   @media (min-width: 769px) {
     .steps .step {
       flex: 1 1 calc(33.333% - 2rem);
       max-width: calc(33.333% - 2rem);
     }
   }
   
   @media (max-width: 768px) {
     .steps {
       flex-direction: column;
     }
     .steps .step {
       flex: 1 1 100%;
       max-width: 100%;
     }
   }
   
   /* ===================================================================
      Our Product Section — True 50/50 Split
      =================================================================== */
   .product-page {
     background-color: var(--color-bg);
     padding: 3rem 1.5rem;
   }
   
   .product-page .product {
     display: flex;
     flex-wrap: nowrap;
     align-items: flex-start;
     justify-content: space-between;
     max-width: 1000px;
     margin: 0 auto;
     gap: 2rem;
   }
   
   @media (min-width: 769px) {
     .product-page .product img {
       flex: 0 0 50%;
       max-width: 50%;
       width: 100%;
       height: auto;
       border-radius: var(--radius);
       box-shadow: var(--shadow-soft);
     }
     .product-page .product-description {
       flex: 0 0 50%;
       max-width: 50%;
       display: flex;
       flex-direction: column;
       justify-content: flex-start;
     }
     .product-page .product-description h3 {
       margin: 0 0 0.75rem;
       font-size: 1.5rem;
       color: var(--color-primary-dark);
     }
     .product-page .product-description p {
       margin: 0;
       line-height: 1.6;
     }
   }
   
   @media (max-width: 768px) {
     .product-page .product {
       flex-direction: column;
       text-align: center;
     }
     .product-page .product img,
     .product-page .product-description {
       flex: 1 1 100%;
       max-width: 100%;
     }
     .product-page .product img {
       max-width: 80%;
       margin: 0 auto 1.5rem;
     }
   }
   
   /* ===================================================================
      Home Assistant Section – 50/50 Split & No-Distortion Image
      =================================================================== */
   .home-assistant-inner {
     display: flex;
     gap: 2rem;
     align-items: center;
     justify-content: space-between;
     max-width: 1200px;
     margin: 0 auto;
   }
   
   .home-assistant {
     background-color: var(--color-bg-accent);
     padding: 3rem 1.5rem;
   }
   
   .home-assistant-inner .image-column,
   .home-assistant-inner .text-column {
     flex: 0 0 50%;
   }
   
   .home-assistant-inner .image-column {
     display: flex;
     justify-content: center;
   }
   
   .ha-phone {
     width: 100%;
     max-width: 600px;
     height: auto;
     object-fit: contain;
     border-radius: var(--radius);
     box-shadow: var(--shadow-soft);
   }
   
   .ha-logo {
     height: 4rem;
     margin-bottom: 1rem;
   }
   
   .text-column .button {
     margin-top: 1.5rem;
     align-self: flex-start;
   }
   
   @media (max-width: 768px) {
     .home-assistant-inner {
       flex-direction: column-reverse;
       text-align: center;
     }
     .home-assistant-inner .image-column,
     .home-assistant-inner .text-column {
       flex: 1 1 100%;
       max-width: 100%;
     }
     .ha-phone {
       max-width: 80%;
       margin: 1rem auto;
     }
     .text-column .button {
       align-self: center;
     }
   }
   
   /* ===================================================================
      Resilience Section
      =================================================================== */
   .resilience {
     background-color: var(--color-bg-alt);
     padding: 3rem 1.5rem;
   }
   
   .resilience h2 {
     margin-bottom: 1rem;
   }
   
   /* ===================================================================
      Footer
      =================================================================== */
   footer {
     background-color: var(--color-primary);
     color: var(--color-text-light);
     text-align: center;
     padding: 2rem 1rem;
   }
   
   footer a {
     color: #90CDF4;
     transition: color var(--transition-fast);
   }
   
   footer a:hover {
     color: #FFFFFF;
   }
   
   /* ===================================================================
      Animations
      =================================================================== */
   @keyframes fadeInUp {
     from {
       opacity: 0;
       transform: translateY(30px);
     }
     to {
       opacity: 1;
       transform: translateY(0);
     }
   }
   
   /* ===================================================================
      Responsive Adjustments
      =================================================================== */
   @media (max-width: 768px) {
     .hero h1 {
       font-size: 2rem;
     }
     .hero h2 {
       font-size: 1.5rem;
     }
     .product {
       flex-direction: column;
       text-align: center;
     }
     .home-assistant {
       flex-direction: column;
       text-align: center;
     }
   }
   