﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
       FARMFLOW REDESIGN â€” Ultra-Premium Dark Dashboard
       Techniques: @property, conic-gradient halo loop,
       glassmorphism, spring-based micro-interactions,
       ambient orbs, noise texture overlay
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

    /* === CSS Custom Properties for Animation === */
    @property --halo-angle {
      syntax: '<angle>';
      initial-value: 0deg;
      inherits: false;
    }
    @property --shimmer-pos {
      syntax: '<percentage>';
      initial-value: -100%;
      inherits: false;
    }

    /* === Reset & Base === */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html {
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      background:
        radial-gradient(900px 560px at 20% 16%, rgba(36, 231, 255, 0.18), transparent 62%),
        radial-gradient(950px 620px at 78% 18%, rgba(154, 109, 255, 0.18), transparent 62%),
        radial-gradient(920px 640px at 62% 94%, rgba(255, 79, 216, 0.12), transparent 64%),
        linear-gradient(140deg, #02040a, #071425 46%, #04020b);
      color: #e2e8f0;
      line-height: 1.6;
      overflow-x: hidden;
      min-height: 100vh;
      position: relative;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background:
        linear-gradient(rgba(172, 245, 255, 0.034) 1px, transparent 1px),
        linear-gradient(90deg, rgba(172, 245, 255, 0.028) 1px, transparent 1px);
      background-size: 52px 52px;
      mask-image: radial-gradient(circle at center, black 0, transparent 74%);
    }

    body::after {
      content: "";
      position: fixed;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      opacity: 0.32;
      mix-blend-mode: soft-light;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.68' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.58'/%3E%3C/svg%3E");
    }

    /* === Ambient Background Orbs === */
    .ambient-orb {
      position: fixed;
      border-radius: 50%;
      filter: blur(110px);
      opacity: 0.24;
      pointer-events: none;
      z-index: 0;
      animation: orbFloat 20s ease-in-out infinite;
    }
    .ambient-orb--1 {
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(36,231,255,0.24), transparent 70%);
      top: -200px; left: -100px;
      animation-delay: 0s;
    }
    .ambient-orb--2 {
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(154,109,255,0.22), transparent 70%);
      top: 40%; right: -150px;
      animation-delay: -7s;
    }
    .ambient-orb--3 {
      width: 400px; height: 400px;
      background: radial-gradient(circle, rgba(255,79,216,0.18), transparent 70%);
      bottom: 10%; left: 20%;
      animation-delay: -14s;
    }
    @keyframes orbFloat {
      0%, 100% { transform: translate(0, 0) scale(1); }
      33% { transform: translate(30px, -40px) scale(1.05); }
      66% { transform: translate(-20px, 20px) scale(0.95); }
    }

    /* === Noise Overlay === */
    .noise-overlay {
      position: fixed;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      opacity: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    /* === Top Navigation === */
    .top-nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 26px;
      background: rgba(7, 20, 35, 0.52);
      backdrop-filter: blur(24px) saturate(1.35);
      -webkit-backdrop-filter: blur(24px) saturate(1.35);
      border-bottom: 1px solid rgba(172, 245, 255, 0.16);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .nav-logo-mark {
      width: 40px;
      height: 40px;
      object-fit: contain;
      border-radius: 14px;
      filter: drop-shadow(0 0 18px rgba(36, 231, 255, 0.28));
    }
    .nav-brand {
      font-size: 1.2rem;
      font-weight: 800;
      background: linear-gradient(120deg, #f5fbff, #24e7ff 44%, #9a6dff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .nav-links {
      display: flex;
      gap: 32px;
    }
    .nav-links a {
      color: rgba(226, 245, 255, 0.72);
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 700;
      transition: color 0.2s, text-shadow 0.2s;
    }
    .nav-links a:hover {
      color: #f5fbff;
      text-shadow: 0 0 16px rgba(36, 231, 255, 0.26);
    }
    .nav-cta {
      padding: 9px 18px;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(36,231,255,0.2), rgba(154,109,255,0.2));
      border: 1px solid rgba(36,231,255,0.34);
      color: #e9fcff;
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 800;
      transition: all 0.2s;
    }
    .nav-cta:hover {
      background: linear-gradient(135deg, rgba(36,231,255,0.34), rgba(154,109,255,0.34));
      box-shadow: 0 0 32px rgba(36,231,255,0.28);
    }

    /* === HERO SECTION === */
    .hero {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      padding: 120px 40px 80px;
      text-align: center;
    }
    .hero-content {
      position: relative;
      z-index: 3;
      max-width: 800px;
    }

    /* Hero Halo â€” rotating conic gradient ring */
    .hero-halo {
      position: absolute;
      top: 50%; left: 50%;
      width: 700px; height: 700px;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      background: conic-gradient(
        from var(--halo-angle),
        transparent 0%,
        rgba(96,165,250,0.4) 10%,
        transparent 20%,
        rgba(167,139,250,0.3) 35%,
        transparent 45%,
        rgba(52,211,153,0.3) 60%,
        transparent 70%,
        rgba(96,165,250,0.4) 85%,
        transparent 100%
      );
      filter: blur(60px);
      opacity: 0.6;
      animation: haloSpin 8s linear infinite;
    }
    @keyframes haloSpin {
      to { --halo-angle: 360deg; }
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 16px;
      border-radius: 100px;
      background: rgba(96,165,250,0.08);
      border: 1px solid rgba(96,165,250,0.2);
      font-size: 0.8rem;
      font-weight: 500;
      color: #94a3b8;
      margin-bottom: 32px;
      animation: fadeInDown 0.8s ease 0.2s both;
    }
    .badge-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: #34d399;
      animation: pulse 2s ease-in-out infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.5); }
    }
    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .hero-title {
      font-size: clamp(2.5rem, 5vw, 4rem);
      font-weight: 800;
      line-height: 1.1;
      color: #f1f5f9;
      margin-bottom: 24px;
      animation: fadeInDown 0.8s ease 0.4s both;
    }
    .hero-gradient {
      background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #34d399 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero-subtitle {
      font-size: 1.15rem;
      color: #94a3b8;
      max-width: 580px;
      margin: 0 auto 40px;
      line-height: 1.7;
      animation: fadeInDown 0.8s ease 0.6s both;
    }

    /* Hero Actions */
    .hero-actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin-bottom: 60px;
      animation: fadeInDown 0.8s ease 0.8s both;
    }

    /* === HALO BUTTON (Primary CTA) === */
    .halo-btn {
      position: relative;
      display: inline-flex;
      align-items: center;
      padding: 14px 32px;
      border-radius: 12px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      overflow: hidden;
      background: linear-gradient(135deg, #1e3a5f, #1a2744);
      border: 1px solid rgba(96,165,250,0.3);
      color: #e2e8f0;
      cursor: pointer;
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                  box-shadow 0.3s ease;
    }
    .halo-btn__glow {
      position: absolute;
      inset: -2px;
      border-radius: inherit;
      background: conic-gradient(
        from var(--halo-angle),
        #60a5fa, #a78bfa, #34d399, #60a5fa
      );
      animation: haloSpin 3s linear infinite;
      opacity: 0;
      transition: opacity 0.4s ease;
      z-index: -1;
    }
    .halo-btn__glow::after {
      content: '';
      position: absolute;
      inset: 2px;
      border-radius: inherit;
      background: linear-gradient(135deg, #0f1a2e, #131d33);
    }
    .halo-btn:hover .halo-btn__glow { opacity: 1; }
    .halo-btn:hover {
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 8px 32px rgba(96,165,250,0.3),
                  0 0 60px rgba(96,165,250,0.15);
    }
    .halo-btn__text {
      position: relative;
      z-index: 2;
    }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 24px;
      border-radius: 12px;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      color: #94a3b8;
      border: 1px solid rgba(255,255,255,0.08);
      background: rgba(255,255,255,0.03);
      transition: all 0.2s;
    }
    .btn-secondary:hover {
      color: #e2e8f0;
      border-color: rgba(255,255,255,0.15);
      background: rgba(255,255,255,0.06);
    }

    /* Hero Stats */
    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 48px;
      animation: fadeInDown 0.8s ease 1s both;
    }
    .stat {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .stat-value {
      font-size: 2rem;
      font-weight: 800;
      color: #f1f5f9;
    }
    .stat-label {
      font-size: 0.8rem;
      color: #64748b;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-top: 4px;
    }

    /* === SECTION HEADERS === */
    .section-header {
      text-align: center;
      margin-bottom: 48px;
    }
    .section-title {
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      font-weight: 800;
      color: #f1f5f9;
      margin-bottom: 12px;
    }
    .section-desc {
      font-size: 1.05rem;
      color: #64748b;
      max-width: 500px;
      margin: 0 auto;
    }

    /* === SYSTEMS / MODULE GRID === */
    .modules {
      position: relative;
      z-index: 2;
      padding: 80px 40px;
      max-width: 1200px;
      margin: 0 auto;
    }
    .systems-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
      gap: 24px;
    }

    /* System Card â€” Glassmorphic Panel */
    .system-card {
      position: relative;
      background: rgba(14, 20, 36, 0.7);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 16px;
      padding: 28px;
      transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
      overflow: hidden;
    }
    .system-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: linear-gradient(135deg, rgba(96,165,250,0.05), transparent 50%);
      opacity: 0;
      transition: opacity 0.3s;
    }
    .system-card:hover {
      transform: translateY(-4px);
      border-color: rgba(96,165,250,0.2);
      box-shadow: 0 16px 48px rgba(0,0,0,0.4),
                  0 0 32px rgba(96,165,250,0.08);
    }
    .system-card:hover::before { opacity: 1; }

    /* System card color accents per system */
    .system-card[data-system="production"]:hover { border-color: rgba(96,165,250,0.3); }
    .system-card[data-system="production"] .system-icon { color: #60a5fa; }
    .system-card[data-system="fleet"]:hover { border-color: rgba(167,139,250,0.3); }
    .system-card[data-system="fleet"] .system-icon { color: #a78bfa; }
    .system-card[data-system="warehouse"]:hover { border-color: rgba(52,211,153,0.3); }
    .system-card[data-system="warehouse"] .system-icon { color: #34d399; }
    .system-card[data-system="sales"]:hover { border-color: rgba(251,191,36,0.3); }
    .system-card[data-system="sales"] .system-icon { color: #fbbf24; }
    .system-card[data-system="accounting"]:hover { border-color: rgba(248,113,113,0.3); }
    .system-card[data-system="accounting"] .system-icon { color: #f87171; }
    .system-card[data-system="admin"]:hover { border-color: rgba(139,233,253,0.3); }
    .system-card[data-system="admin"] .system-icon { color: #8be9fd; }

    .system-card__header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }
    .system-icon {
      width: 40px; height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.06);
    }
    .system-card__header h3 {
      font-size: 1.1rem;
      font-weight: 700;
      color: #f1f5f9;
      flex: 1;
    }
    .module-count {
      font-size: 0.75rem;
      color: #64748b;
      font-weight: 500;
    }

    .system-card__modules {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 16px;
    }
    .module-pill {
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 0.72rem;
      font-weight: 500;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.06);
      color: #94a3b8;
      transition: all 0.2s;
    }
    .system-card:hover .module-pill {
      background: rgba(255,255,255,0.06);
      border-color: rgba(255,255,255,0.1);
    }

    .system-card__metric {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 12px;
      border-top: 1px solid rgba(255,255,255,0.04);
    }
    .metric-label {
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #475569;
    }
    .metric-value {
      font-size: 0.75rem;
      color: #94a3b8;
      font-weight: 500;
    }

    /* === COSTING ENGINE SHOWCASE === */
    .showcase {
      position: relative;
      z-index: 2;
      padding: 80px 40px;
      max-width: 900px;
      margin: 0 auto;
    }
    .cost-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }
    .cost-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px 16px;
      border-radius: 10px;
      background: rgba(14, 20, 36, 0.6);
      border: 1px solid rgba(255,255,255,0.05);
      font-size: 0.85rem;
      color: #94a3b8;
      transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .cost-item:hover {
      background: rgba(96,165,250,0.06);
      border-color: rgba(96,165,250,0.15);
      transform: translateY(-2px);
      color: #e2e8f0;
    }
    .cost-icon { font-size: 1.2rem; }

    /* === PRICING SECTION === */
    .pricing {
      position: relative;
      z-index: 2;
      padding: 80px 40px;
      max-width: 600px;
      margin: 0 auto;
    }
    .pricing-card {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
    }
    .pricing-card__halo {
      position: absolute;
      inset: -3px;
      border-radius: inherit;
      background: conic-gradient(
        from var(--halo-angle),
        #60a5fa, #a78bfa, #34d399, #fbbf24, #60a5fa
      );
      animation: haloSpin 4s linear infinite;
      opacity: 0.7;
    }
    .pricing-card__halo::after {
      content: '';
      position: absolute;
      inset: 3px;
      border-radius: 17px;
      background: #0a0f1e;
    }
    .pricing-card__content {
      position: relative;
      z-index: 2;
      padding: 48px 40px;
      text-align: center;
    }
    .pricing-tier {
      font-size: 1.5rem;
      font-weight: 800;
      color: #f1f5f9;
      margin-bottom: 8px;
    }
    .pricing-model {
      font-size: 0.85rem;
      color: #64748b;
      margin-bottom: 32px;
      text-transform: uppercase;
      letter-spacing: 1.5px;
    }
    .pricing-features {
      list-style: none;
      text-align: left;
      margin-bottom: 36px;
    }
    .pricing-features li {
      padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,0.04);
      color: #94a3b8;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .pricing-features li::before {
      content: '✓';
      color: #34d399;
      font-weight: 700;
      font-size: 0.85rem;
    }
    .pricing-cta { width: 100%; justify-content: center; }

    /* === DOCUMENTATION HUB === */
    .docs-hub {
      position: relative;
      z-index: 2;
      padding: 80px 40px;
      max-width: 1000px;
      margin: 0 auto;
    }
    .docs-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 16px;
    }
    .doc-card {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 20px 24px;
      border-radius: 12px;
      background: rgba(14, 20, 36, 0.6);
      border: 1px solid rgba(255,255,255,0.05);
      text-decoration: none;
      color: #e2e8f0;
      transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      position: relative;
      overflow: hidden;
    }
    .doc-card::after {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: linear-gradient(135deg, rgba(96,165,250,0.05), transparent);
      opacity: 0;
      transition: opacity 0.3s;
    }
    .doc-card:hover {
      transform: translateY(-3px) scale(1.01);
      border-color: rgba(96,165,250,0.2);
      box-shadow: 0 12px 40px rgba(0,0,0,0.3),
                  0 0 24px rgba(96,165,250,0.06);
    }
    .doc-card:hover::after { opacity: 1; }
    .doc-card__icon {
      font-size: 1.8rem;
      flex-shrink: 0;
    }
    .doc-card__info {
      flex: 1;
      min-width: 0;
    }
    .doc-card__info h3 {
      font-size: 0.95rem;
      font-weight: 600;
      margin-bottom: 4px;
    }
    .doc-card__info p {
      font-size: 0.8rem;
      color: #64748b;
      line-height: 1.4;
    }
    .doc-card__tag {
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      padding: 3px 8px;
      border-radius: 4px;
      background: rgba(96,165,250,0.1);
      color: #60a5fa;
      font-weight: 600;
      white-space: nowrap;
    }

    /* === FOOTER === */
    .site-footer {
      position: relative;
      z-index: 2;
      padding: 48px 40px;
      text-align: center;
      border-top: 1px solid rgba(255,255,255,0.04);
      margin-top: 40px;
    }
    .footer-brand {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-bottom: 12px;
    }
    .footer-tagline {
      font-size: 0.8rem;
      color: #475569;
    }
    .footer-copy {
      font-size: 0.75rem;
      color: #334155;
    }

    /* === SCROLL REVEAL ANIMATION === */
    .system-card,
    .cost-item,
    .doc-card {
      opacity: 0;
      transform: translateY(24px);
      animation: revealUp 0.6s ease forwards;
    }
    .system-card:nth-child(1) { animation-delay: 0.1s; }
    .system-card:nth-child(2) { animation-delay: 0.2s; }
    .system-card:nth-child(3) { animation-delay: 0.3s; }
    .system-card:nth-child(4) { animation-delay: 0.4s; }
    .system-card:nth-child(5) { animation-delay: 0.5s; }
    .system-card:nth-child(6) { animation-delay: 0.6s; }
    .cost-item:nth-child(1) { animation-delay: 0.05s; }
    .cost-item:nth-child(2) { animation-delay: 0.1s; }
    .cost-item:nth-child(3) { animation-delay: 0.15s; }
    .cost-item:nth-child(4) { animation-delay: 0.2s; }
    .cost-item:nth-child(5) { animation-delay: 0.25s; }
    .cost-item:nth-child(6) { animation-delay: 0.3s; }
    .cost-item:nth-child(7) { animation-delay: 0.35s; }
    .cost-item:nth-child(8) { animation-delay: 0.4s; }
    .cost-item:nth-child(9) { animation-delay: 0.45s; }
    .doc-card:nth-child(1) { animation-delay: 0.1s; }
    .doc-card:nth-child(2) { animation-delay: 0.15s; }
    .doc-card:nth-child(3) { animation-delay: 0.2s; }
    .doc-card:nth-child(4) { animation-delay: 0.25s; }
    .doc-card:nth-child(5) { animation-delay: 0.3s; }
    .doc-card:nth-child(6) { animation-delay: 0.35s; }

    @keyframes revealUp {
      to { opacity: 1; transform: translateY(0); }
    }

    /* === RESPONSIVE === */
    @media (max-width: 768px) {
      .top-nav { padding: 12px 20px; }
      .nav-links { display: none; }
      .hero { padding: 100px 20px 60px; min-height: auto; }
      .hero-halo { width: 400px; height: 400px; }
      .hero-title { font-size: 2rem; }
      .hero-subtitle { font-size: 1rem; }
      .hero-actions { flex-direction: column; }
      .hero-stats { gap: 24px; }
      .stat-value { font-size: 1.5rem; }
      .modules, .showcase, .pricing, .docs-hub { padding: 60px 20px; }
      .systems-grid { grid-template-columns: 1fr; }
      .cost-grid { grid-template-columns: 1fr 1fr; }
      .docs-grid { grid-template-columns: 1fr; }
      .pricing-card__content { padding: 32px 24px; }
    }

    @media (max-width: 480px) {
      .cost-grid { grid-template-columns: 1fr; }
      .hero-stats { flex-direction: column; gap: 16px; }
    }

    /* === REDUCED MOTION === */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      .ambient-orb { display: none; }
      .hero-halo { display: none; }
    }

/* ==========================================================================
   FarmFlow Liquid Glass Neon Layer
   Visual-only overrides for www.farm-flow.org.
   ========================================================================== */

@property --ff-halo-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@property --ff-glow-shift {
  syntax: '<percentage>';
  initial-value: 0%;
  inherits: false;
}

:root {
  color-scheme: dark;
}

html {
  background: #02040a;
}

body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(900px 560px at 20% 16%, rgba(36, 231, 255, 0.22), transparent 62%),
    radial-gradient(950px 620px at 78% 18%, rgba(154, 109, 255, 0.20), transparent 62%),
    radial-gradient(920px 640px at 62% 94%, rgba(255, 79, 216, 0.16), transparent 64%),
    linear-gradient(140deg, #02040a, #071425 46%, #04020b) !important;
  color: var(--ff-text-primary) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(172, 245, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(172, 245, 255, 0.032) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 0, transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.52;
  background:
    conic-gradient(from var(--ff-halo-angle) at 50% 18%,
      rgba(36, 231, 255, 0) 0deg,
      rgba(36, 231, 255, 0.26) 62deg,
      rgba(154, 109, 255, 0.22) 115deg,
      rgba(255, 79, 216, 0.20) 190deg,
      rgba(55, 255, 195, 0.14) 260deg,
      rgba(36, 231, 255, 0) 360deg);
  filter: blur(18px);
  animation: ffHaloSpin 20s linear infinite;
}

.ambient-orb {
  display: none !important;
}

.noise-overlay {
  opacity: 0.34 !important;
  mix-blend-mode: soft-light;
}

body .top-nav {
  top: 18px !important;
  left: min(28px, 4vw) !important;
  right: min(28px, 4vw) !important;
  width: auto !important;
  padding: 12px 16px !important;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(8, 17, 31, 0.76), rgba(8, 17, 31, 0.44)) !important;
  border: 1px solid rgba(190, 229, 255, 0.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 70px rgba(0, 0, 0, 0.42),
    0 0 42px rgba(0, 229, 255, 0.08);
}

body .top-nav::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--ff-halo-angle), transparent, rgba(0, 229, 255, 0.65), rgba(139, 92, 246, 0.44), transparent 72%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: ffHaloSpin 9s linear infinite;
}

body .nav-brand,
body .gradient-text,
body .hero-gradient {
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.94), rgba(141, 247, 255, 0.72), rgba(255, 127, 225, 0.62)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body .nav-links a,
body .footer-tagline,
body .footer-copy {
  color: var(--ff-text-muted) !important;
}

body .nav-links a:hover,
body .nav-links a:focus-visible {
  color: #f4f8ff !important;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.42);
}

body .nav-cta,
body .ff-back-btn {
  border-radius: 999px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #24e7ff, #9a6dff 58%, #ff4fd8) !important;
  border: 0 !important;
  box-shadow: 0 0 46px rgba(36, 231, 255, 0.22), inset 0 1px 0 rgba(255,255,255,0.3) !important;
}

body .nav-cta:hover,
body .ff-back-btn:hover,
body .ff-back-btn:focus-visible {
  transform: translateY(-2px) scale(1.015) !important;
  box-shadow: 0 0 54px rgba(36, 231, 255, 0.38), 0 0 70px rgba(154, 109, 255, 0.22) !important;
}

body .hero {
  min-height: 94svh !important;
  padding-top: 132px !important;
  overflow: hidden;
}

body .hero-content {
  max-width: 960px !important;
}

body .hero-halo {
  width: min(920px, 94vw) !important;
  height: min(920px, 94vw) !important;
  opacity: 0.78 !important;
  filter: blur(44px) saturate(1.35) !important;
  background: conic-gradient(
    from var(--ff-halo-angle),
    transparent 0deg,
    rgba(0, 229, 255, 0.56) 58deg,
    transparent 112deg,
    rgba(139, 92, 246, 0.42) 174deg,
    transparent 228deg,
    rgba(163, 255, 18, 0.34) 304deg,
    transparent 360deg
  ) !important;
  animation: ffHaloSpin 10s linear infinite !important;
}

body .hero-title,
body .slide__hero-title {
  font-size: 4.6rem !important;
  line-height: 0.98 !important;
  color: #f7fbff !important;
  text-wrap: balance;
  text-shadow: 0 0 54px rgba(0, 229, 255, 0.18);
}

body .hero-subtitle,
body .section-desc,
body .slide__subtitle,
body .slide__hero-sub {
  color: var(--ff-text-muted) !important;
}

body .hero-badge,
body .slide__badge,
body .pricing-card__badge,
body .doc-card__tag,
body .feature-card__tag,
body .module-count,
body .ms__version {
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(139, 92, 246, 0.10)) !important;
  border: 1px solid rgba(190, 229, 255, 0.18) !important;
  color: #d9f8ff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 0 22px rgba(0,229,255,0.08);
  letter-spacing: 0.04em;
}

body .badge-dot {
  background: #a3ff12 !important;
  box-shadow: 0 0 16px rgba(163, 255, 18, 0.9);
}

body .hero-stats {
  gap: 16px !important;
  flex-wrap: wrap;
}

body .stat,
body .metric,
body .traction-stat,
body .fin-card {
  min-width: 152px;
  padding: 18px 22px;
  border-radius: var(--ff-radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,0.095), rgba(255,255,255,0.025));
  border: 1px solid rgba(210, 232, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.13), 0 20px 54px rgba(0,0,0,0.28);
  backdrop-filter: blur(22px) saturate(1.22);
  -webkit-backdrop-filter: blur(22px) saturate(1.22);
}

body .stat-value,
body .metric-val,
body .traction-stat__value,
body .fin-card__value,
body .price-amount {
  color: #f7fbff !important;
  text-shadow: 0 0 26px rgba(0, 229, 255, 0.22);
}

body .modules,
body .features,
body .showcase,
body .pricing,
body .pricing-comparison,
body .docs-hub,
body .contact-section {
  position: relative;
  z-index: 2;
  max-width: 1220px !important;
  margin-inline: auto !important;
  padding: 84px min(40px, 5vw) !important;
}

body .features-grid,
body .systems-grid,
body .pricing-grid,
body .docs-grid,
body .pain-grid,
body .solution-grid,
body .traction-grid,
body .financials-grid,
body .cost-grid {
  display: grid !important;
  gap: 18px !important;
}

body .features-grid,
body .systems-grid {
  grid-template-columns: repeat(auto-fit, minmax(282px, 1fr)) !important;
}

body .pricing-grid,
body .pain-grid,
body .solution-grid,
body .traction-grid,
body .financials-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  align-items: stretch;
}

body .cost-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
}

body .system-card,
body .feature-card,
body .pricing-card,
body .doc-card,
body .cost-item,
body .contact-container,
body .pain-card,
body .solution-item,
body .biz-card,
body .team-card,
body .comp-table,
body .ask-use,
body .ms__card,
body .toc,
body .content section,
body .cover-page {
  position: relative !important;
  overflow: hidden;
  border-radius: var(--ff-radius-lg) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.026)),
    rgba(8, 17, 31, 0.54) !important;
  border: 1px solid rgba(210, 232, 255, 0.14) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 22px 80px rgba(0, 0, 0, 0.36),
    0 0 50px rgba(0, 229, 255, 0.055) !important;
  backdrop-filter: blur(24px) saturate(1.24);
  -webkit-backdrop-filter: blur(24px) saturate(1.24);
  transition:
    transform var(--ff-spring),
    border-color var(--ff-transition),
    box-shadow var(--ff-transition),
    background var(--ff-transition) !important;
}

body .feature-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 68px !important;
  min-height: 260px;
}

body .feature-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
  color: #f5fbff;
}

body .feature-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(226, 245, 255, 0.9);
}

body .feature-card__tag {
  position: absolute;
  left: 18px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: calc(100% - 36px);
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
}

body .pricing-card {
  padding: 22px !important;
}

body .pricing-card__badge {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: calc(100% - 28px);
  padding: 5px 10px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

body .pricing-card__header {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding-top: 8px;
}

body .pricing-card__header h3 {
  margin: 0;
  font-size: 1.95rem;
  line-height: 1.2;
  color: #f5fbff;
}

body .pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

body .pricing-card__desc {
  margin: 0;
  color: rgba(226, 245, 255, 0.82);
}

body .pricing-card__features {
  margin: 0;
  padding: 0;
}

body .system-card::before,
body .feature-card::before,
body .pricing-card::before,
body .doc-card::before,
body .cost-item::before,
body .pain-card::before,
body .solution-item::before,
body .biz-card::before,
body .team-card::before,
body .ms__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--ff-halo-angle), transparent, rgba(0, 229, 255, 0.52), rgba(139, 92, 246, 0.28), transparent 72%);
  opacity: 0;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: opacity var(--ff-transition);
  animation: ffHaloSpin 8s linear infinite;
}

body .system-card::after,
body .feature-card::after,
body .pricing-card::after,
body .doc-card::after,
body .cost-item::after,
body .pain-card::after,
body .solution-item::after,
body .biz-card::after,
body .team-card::after,
body .ms__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.12) 44%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

body .system-card > *,
body .feature-card > *,
body .pricing-card > *,
body .doc-card > *,
body .cost-item > *,
body .pain-card > *,
body .solution-item > *,
body .biz-card > *,
body .team-card > *,
body .ms__card > * {
  position: relative;
  z-index: 1;
}

body .system-card:hover,
body .feature-card:hover,
body .pricing-card:hover,
body .doc-card:hover,
body .cost-item:hover,
body .pain-card:hover,
body .solution-item:hover,
body .biz-card:hover,
body .team-card:hover,
body .ms__card:hover {
  transform: translateY(-6px) scale(1.012) !important;
  border-color: rgba(0, 229, 255, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 30px 92px rgba(0, 0, 0, 0.46),
    0 0 44px rgba(0, 229, 255, 0.14),
    0 0 82px rgba(139, 92, 246, 0.10) !important;
}

body .system-card:hover::before,
body .feature-card:hover::before,
body .pricing-card:hover::before,
body .doc-card:hover::before,
body .cost-item:hover::before,
body .pain-card:hover::before,
body .solution-item:hover::before,
body .biz-card:hover::before,
body .team-card:hover::before,
body .ms__card:hover::before {
  opacity: 1;
}

body .system-card:hover::after,
body .feature-card:hover::after,
body .pricing-card:hover::after,
body .doc-card:hover::after,
body .cost-item:hover::after,
body .pain-card:hover::after,
body .solution-item:hover::after,
body .biz-card:hover::after,
body .team-card:hover::after,
body .ms__card:hover::after {
  transform: translateX(120%);
}

body .system-icon,
body .feature-card__icon {
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 48px;
  width: 48px !important;
  height: 48px !important;
  border-radius: 16px !important;
  line-height: 1 !important;
  color: #07111e !important;
  background: linear-gradient(135deg, #00e5ff, #a3ff12) !important;
  border: 0 !important;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.26), inset 0 1px 0 rgba(255,255,255,0.4);
}

body .feature-card__icon svg {
  display: block;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  stroke-width: 2.2;
}

body .feature-card__icon img {
  display: block;
  width: 44px !important;
  height: 44px !important;
  object-fit: contain;
  margin: 0 !important;
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.26));
}

body .module-pill,
body .module-chip,
body .ask-use__item,
body .legend-item {
  border-radius: 999px !important;
  color: #dcecff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(210, 232, 255, 0.13) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}

body .system-card__metric,
body .comp-row,
body .pricing-card__features li,
body .pricing-features li {
  border-color: rgba(210, 232, 255, 0.10) !important;
}

body .pricing-card--farmflow,
body .biz-card--good,
body .market-circle--som {
  border-color: rgba(163, 255, 18, 0.26) !important;
  box-shadow: 0 0 52px rgba(163, 255, 18, 0.08), 0 24px 80px rgba(0,0,0,0.42) !important;
}

body .pricing-card--saas,
body .biz-card--bad {
  border-color: rgba(255, 107, 138, 0.24) !important;
}

body .pricing-card__halo,
body .halo-btn__glow {
  background: conic-gradient(from var(--ff-halo-angle), #24e7ff, #9a6dff, #ff4fd8, #37ffc3, #24e7ff) !important;
  animation: ffHaloSpin 3.8s linear infinite !important;
}

body .pricing-card__halo::after {
  background: rgba(3, 8, 16, 0.88) !important;
}

body .halo-btn,
body .btn-primary,
body .pricing-card__cta,
body .form-submit {
  min-height: 48px;
  border-radius: 999px !important;
  color: #06111d !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.42), rgba(255,255,255,0.04)),
    linear-gradient(135deg, #00e5ff 0%, #8b5cf6 48%, #a3ff12 100%) !important;
  border: 0 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 0 28px rgba(0, 229, 255, 0.32),
    0 18px 46px rgba(0, 0, 0, 0.36) !important;
  transition: transform var(--ff-spring), box-shadow var(--ff-transition), filter var(--ff-transition) !important;
}

body .halo-btn:hover,
body .btn-primary:hover,
body .pricing-card__cta:hover,
body .form-submit:hover {
  transform: translateY(-3px) scale(1.025) !important;
  filter: saturate(1.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.56),
    0 0 42px rgba(0, 229, 255, 0.46),
    0 0 82px rgba(139, 92, 246, 0.22),
    0 22px 58px rgba(0, 0, 0, 0.44) !important;
}

body .btn-secondary {
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border-color: rgba(210, 232, 255, 0.16) !important;
  color: #e8f3ff !important;
  backdrop-filter: blur(18px);
}

body .contact-container,
body .contact-form {
  max-width: 820px;
  margin-inline: auto;
}

body .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body .form-group {
  margin-bottom: 16px;
}

body .form-group label {
  display: block;
  margin-bottom: 8px;
  color: #d9f8ff;
  font-weight: 650;
}

body .form-control,
body .download-input,
body input,
body select,
body textarea {
  width: 100%;
  border-radius: 16px !important;
  border: 1px solid rgba(210, 232, 255, 0.15) !important;
  background: rgba(3, 8, 16, 0.62) !important;
  color: var(--ff-text-primary) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

body .form-control:focus,
body .download-input:focus,
body input:focus,
body select:focus,
body textarea:focus {
  outline: none !important;
  border-color: rgba(0, 229, 255, 0.54) !important;
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.12), inset 0 1px 0 rgba(255,255,255,0.1) !important;
}

body .slide-nav {
  border-radius: 999px !important;
  padding: 8px !important;
  background: rgba(8, 17, 31, 0.74) !important;
  border: 1px solid rgba(210, 232, 255, 0.16) !important;
  box-shadow: 0 20px 70px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.12) !important;
  backdrop-filter: blur(22px);
}

body .slide {
  background: transparent !important;
}

body .slide__content {
  max-width: 1080px !important;
}

body .market-circle {
  border-radius: 50% !important;
  background: linear-gradient(145deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 22px 70px rgba(0,0,0,0.32), 0 0 44px rgba(0,229,255,0.08) !important;
  backdrop-filter: blur(18px);
}

body .comp-row {
  background: rgba(255,255,255,0.035);
  border-radius: 14px;
  margin-bottom: 8px;
  padding: 12px 14px;
}

body .roadmap-timeline::before,
body .timeline::before {
  background: linear-gradient(180deg, #00e5ff, #8b5cf6, #a3ff12) !important;
  box-shadow: 0 0 24px rgba(0,229,255,0.34);
}

body .roadmap-item__marker,
body .ms__marker {
  box-shadow: 0 0 0 8px rgba(0,229,255,0.08), 0 0 24px rgba(0,229,255,0.42) !important;
}

body .container {
  position: relative !important;
  z-index: 2;
  max-width: 1040px !important;
}

body .metrics-bar {
  border-radius: var(--ff-radius-xl) !important;
  padding: 16px !important;
  background: rgba(8, 17, 31, 0.44) !important;
  border: 1px solid rgba(210, 232, 255, 0.12) !important;
  backdrop-filter: blur(24px);
}

body .content {
  position: relative;
  z-index: 2;
  max-width: 980px !important;
}

body .toc-list a,
body .content a {
  color: #66f1ff !important;
}

body .tip,
body .info,
body .warning {
  border-radius: 18px !important;
  border: 1px solid rgba(210, 232, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

body table {
  border-radius: 18px !important;
  overflow: hidden;
  background: rgba(8, 17, 31, 0.52) !important;
  border: 1px solid rgba(210, 232, 255, 0.12) !important;
}

body th {
  background: rgba(0, 229, 255, 0.10) !important;
  color: #d9f8ff !important;
}

body td {
  border-color: rgba(210, 232, 255, 0.08) !important;
}

body .kbd {
  border-radius: 8px !important;
  background: rgba(0, 229, 255, 0.13) !important;
  border: 1px solid rgba(0, 229, 255, 0.25) !important;
  color: #d9f8ff !important;
}

@keyframes ffHaloSpin {
  to { --ff-halo-angle: 360deg; --halo-angle: 360deg; }
}

@media (max-width: 860px) {
  body .top-nav {
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
  }

  body .hero {
    min-height: auto !important;
    padding-top: 112px !important;
  }

  body .hero-title,
  body .slide__hero-title {
    font-size: 2.7rem !important;
  }

  body .form-row {
    grid-template-columns: 1fr;
  }

  body .modules,
  body .features,
  body .showcase,
  body .pricing,
  body .pricing-comparison,
  body .docs-hub,
  body .contact-section {
    padding-block: 58px !important;
  }
}

@media (max-width: 520px) {
  body .hero-title,
  body .slide__hero-title {
    font-size: 2.2rem !important;
  }

  body .hero-actions {
    width: 100%;
  }

  body .halo-btn,
  body .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  body .stat,
  body .metric {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after,
  body .hero-halo,
  body .pricing-card__halo,
  body .halo-btn__glow,
  body .top-nav::before,
  body .system-card::before,
  body .feature-card::before,
  body .pricing-card::before,
  body .doc-card::before,
  body .cost-item::before {
    animation: none !important;
  }
}


/* === WORK IN PROGRESS BANNER === */
.wip-banner {
  position: fixed;
  left: 0; right: 0;
  z-index: 9999;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border: none;
}
.wip-banner--top { top: 0; border-bottom: 1px solid rgba(36,231,255,0.4); }
.wip-banner--bottom { bottom: 0; border-top: 1px solid rgba(36,231,255,0.4); }
.wip-banner__text {
  font-family: 'Inter', monospace;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(90deg, #24e7ff, #9a6dff, #ff4fd8, #37ffc3, #24e7ff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wipShimmer 3s linear infinite;
}
@keyframes wipShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
body.has-wip { padding-top: 22px !important; padding-bottom: 22px !important; }

/* === FORM FIELD FIXES === */
body .form-control,
body .download-input,
body input[type="text"],
body input[type="email"],
body input[type="password"],
body input[type="tel"],
body select,
body textarea {
  min-height: 52px !important;
  padding: 14px 16px !important;
  font-size: 0.92rem !important;
  display: flex !important;
  align-items: center !important;
  text-align: left;
  vertical-align: middle;
}
body textarea {
  min-height: 120px !important;
  align-items: flex-start !important;
}
body select {
  padding-right: 36px !important;
}
body .form-submit,
body button[type="submit"] {
  min-height: 52px !important;
  padding: 14px 32px !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.02em;
  gap: 10px;
}

/* === OFFER PAGE POLISH === */
body .pricing-comparison .section-header {
  max-width: 880px;
  margin: 0 auto 44px;
  text-align: center;
}

body .pricing-comparison .pricing-grid {
  max-width: 1120px !important;
  margin: 0 auto !important;
  grid-template-columns: repeat(2, minmax(320px, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

body .pricing-comparison .pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 560px;
  padding: 44px 42px !important;
  text-align: center;
  border-radius: 28px !important;
}

body .pricing-comparison .pricing-card--farmflow {
  justify-content: flex-start;
  padding-top: 104px !important;
}

body .pricing-comparison .pricing-card__badge {
  top: 34px;
  left: 50%;
  max-width: calc(100% - 48px);
  min-width: 164px;
  padding: 8px 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(36, 231, 255, 0.18), rgba(163, 255, 18, 0.10)) !important;
  border: 1px solid rgba(172, 245, 255, 0.26) !important;
  color: #e9fcff;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  box-shadow: 0 0 24px rgba(36, 231, 255, 0.14), inset 0 1px 0 rgba(255,255,255,0.16);
}

body .pricing-comparison .pricing-card__header {
  justify-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding-top: 0;
}

body .pricing-comparison .pricing-card__header h3 {
  max-width: 430px;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  text-wrap: balance;
}

body .pricing-comparison .pricing-card__price {
  justify-content: center;
  row-gap: 6px;
  width: 100%;
}

body .pricing-comparison .price-amount {
  font-size: clamp(2.25rem, 4.8vw, 3.8rem) !important;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #f5fbff;
  text-shadow: 0 0 28px rgba(36, 231, 255, 0.16);
}

body .pricing-comparison .pricing-card--farmflow .price-amount {
  font-size: clamp(1.95rem, 2.7vw, 2.55rem) !important;
}

body .pricing-comparison .price-period {
  color: rgba(226, 245, 255, 0.78);
  font-size: 1rem;
  font-weight: 800;
}

body .pricing-comparison .pricing-card__desc {
  max-width: 430px;
  color: rgba(226, 245, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.55;
  text-wrap: balance;
}

body .pricing-comparison .pricing-card__features {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  list-style: none;
}

body .pricing-comparison .pricing-card__features li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(210, 232, 255, 0.12) !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(245, 251, 255, 0.94);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

body .pricing-comparison .pricing-card__features svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

body .pricing-comparison .feature-negative svg {
  color: #ff6b8a;
  filter: drop-shadow(0 0 10px rgba(255, 107, 138, 0.32));
}

body .pricing-comparison .feature-positive svg {
  color: #37ffc3;
  filter: drop-shadow(0 0 10px rgba(55, 255, 195, 0.30));
}

body .pricing-comparison .roi-calculator {
  width: 100%;
  max-width: 720px;
  margin: 30px auto 0 !important;
  padding: 26px !important;
  border-radius: 24px !important;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.018)),
    rgba(3, 8, 16, 0.56) !important;
  border: 1px solid rgba(172, 245, 255, 0.18) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.11), 0 18px 54px rgba(0,0,0,0.22);
}

body .pricing-comparison .roi-calculator h4 {
  margin-bottom: 22px !important;
  color: #f5fbff !important;
  font-size: 1.08rem !important;
  line-height: 1.35;
}

body .pricing-comparison .roi-calculator__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

body .pricing-comparison .roi-calculator__field {
  display: grid;
  align-content: start;
  min-width: 0;
}

body .pricing-comparison .roi-calculator__summary {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(172, 245, 255, 0.14);
}

body .pricing-comparison .roi-calculator label {
  display: block;
  margin-bottom: 10px !important;
  color: rgba(226, 245, 255, 0.74) !important;
  font-size: 0.92rem !important;
  font-weight: 750;
  line-height: 1.35;
}

body .pricing-comparison .roi-calculator input[type="range"] {
  display: block !important;
  min-height: auto !important;
  padding: 0 !important;
  margin-bottom: 12px !important;
  accent-color: #24e7ff;
}

body .pricing-comparison .roi-calculator input[type="number"] {
  display: block !important;
  min-height: 56px !important;
  padding: 15px 18px !important;
  margin-bottom: 18px !important;
  border-radius: 999px !important;
  font-size: 1.05rem !important;
  font-weight: 750;
  text-align: center;
}

body .pricing-comparison #roi-current-val {
  margin-bottom: 0 !important;
  color: #24e7ff !important;
  font-size: 0.98rem !important;
  font-weight: 850 !important;
}

body .pricing-comparison #roi-savings {
  color: #37ffc3 !important;
  font-size: 1.9rem !important;
  letter-spacing: -0.02em;
  text-shadow: 0 0 22px rgba(55, 255, 195, 0.18);
}

@media (max-width: 680px) {
  body .pricing-comparison .roi-calculator {
    max-width: 100%;
    padding: 22px !important;
  }

  body .pricing-comparison .roi-calculator__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

body .pricing-comparison .pricing-card__cta {
  width: fit-content;
  min-width: 292px;
  margin: 26px auto 0;
  justify-content: center;
}

body .contact-section .contact-container {
  max-width: 980px;
  padding: 46px 44px !important;
  border-radius: 30px !important;
}

body .contact-section .section-header {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

body .contact-section .contact-form {
  display: grid;
  gap: 22px;
  max-width: 900px;
}

body .contact-section .form-row {
  gap: 22px;
}

body .contact-section .form-group {
  display: grid;
  gap: 10px;
  margin-bottom: 0 !important;
}

body .contact-section .form-group label {
  margin-bottom: 0;
  color: #e9fcff;
  font-size: 0.98rem;
  font-weight: 800;
}

body .contact-section .form-control {
  display: block !important;
  min-height: 64px !important;
  padding: 18px 20px !important;
  border-radius: 20px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015)),
    rgba(3, 8, 16, 0.64) !important;
  color: #f5fbff !important;
  font-size: 1.02rem !important;
  font-weight: 650;
  line-height: 1.35;
}

body .contact-section .form-control::placeholder {
  color: rgba(226, 245, 255, 0.42);
}

body .contact-section select.form-control {
  cursor: pointer;
}

body .contact-section textarea.form-control {
  min-height: 168px !important;
  padding-top: 18px !important;
  line-height: 1.55;
  resize: vertical;
}

body .contact-section .form-submit {
  justify-self: start;
  min-width: 286px;
  min-height: 62px !important;
  padding: 18px 38px !important;
  font-size: 1.02rem !important;
}

@media (max-width: 900px) {
  body .pricing-comparison .pricing-grid {
    grid-template-columns: 1fr !important;
    max-width: 680px !important;
  }

  body .pricing-comparison .pricing-card {
    min-height: auto;
    padding: 38px 30px !important;
  }

  body .pricing-comparison .pricing-card--farmflow {
    padding-top: 104px !important;
  }
}

@media (max-width: 520px) {
  body .pricing-comparison .pricing-card,
  body .contact-section .contact-container {
    padding-inline: 22px !important;
  }

  body .pricing-comparison .pricing-card__features li {
    border-radius: 18px;
    padding-inline: 14px;
  }

  body .pricing-comparison .pricing-card__cta,
  body .contact-section .form-submit {
    width: 100%;
    min-width: 0;
  }
}

/* === OFFER PAGE POSITION FIXES === */
body .features-grid .feature-card {
  min-height: 430px;
  padding: 32px 28px 92px !important;
}

body .features-grid .feature-card__tag {
  position: absolute !important;
  left: 28px !important;
  right: 28px !important;
  bottom: 28px !important;
  width: auto !important;
  max-width: none !important;
  min-height: 30px;
  padding: 7px 14px;
  transform: none !important;
}

body .pricing-comparison .pricing-card--farmflow {
  padding-top: 126px !important;
}

body .pricing-comparison .pricing-card__badge {
  position: absolute !important;
  top: 36px !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 4 !important;
  width: min(410px, calc(100% - 72px)) !important;
  max-width: none !important;
  transform: translateX(-50%) !important;
}

body .pricing-comparison .pricing-card--farmflow .pricing-card__header {
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  body .features-grid .feature-card {
    min-height: 440px;
  }

  body .pricing-comparison .pricing-card--farmflow {
    padding-top: 126px !important;
  }
}

@media (max-width: 520px) {
  body .features-grid .feature-card {
    min-height: 460px;
    padding: 28px 22px 88px !important;
  }

  body .features-grid .feature-card__tag {
    left: 22px !important;
    right: 22px !important;
    bottom: 24px !important;
  }

  body .pricing-comparison .pricing-card--farmflow {
    padding-top: 132px !important;
  }

  body .pricing-comparison .pricing-card__badge {
    width: min(360px, calc(100% - 44px)) !important;
  }
}
