/* eFarmWorks marketing site — shared styles for all pages.
   Palette taken from the brand logo (#0C447C) and the approved mockups. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root{
  --navy:#0b2c54;          /* hero / nav / footer ground */
  --navy-2:#0a2547;        /* deeper navy for gradients */
  --brand:#0c447c;         /* logo navy — headings, dark accents */
  --blue:#1f74e0;          /* primary action blue */
  --blue-dark:#155bc0;
  --blue-100:#e7f0fc;      /* icon wash / light chips */
  --ink:#12294a;           /* body headings on light */
  --muted:#5b7089;         /* body text on light */
  --line:#e5eef8;          /* hairline on light */
  --panel:#f4f8fd;         /* light section ground */
  --white:#ffffff;
  --radius:14px;
  --shadow:0 10px 30px -12px rgba(12,46,90,.18);
  --shadow-sm:0 2px 10px -4px rgba(12,46,90,.14);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--white); color:var(--ink);
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:"Plus Jakarta Sans","Inter",sans-serif; color:var(--ink); line-height:1.15; margin:0 0 .5em; letter-spacing:-.01em}
h1{font-size:clamp(2.1rem,4.4vw,3.3rem); font-weight:800}
h2{font-size:clamp(1.7rem,3vw,2.4rem); font-weight:800}
h3{font-size:1.15rem; font-weight:700}
p{margin:0 0 1em}
a{color:var(--blue); text-decoration:none}
a:hover{color:var(--blue-dark)}
img{max-width:100%; display:block}
.container{max-width:1180px; margin:0 auto; padding:0 24px}
.eyebrow{font-size:.78rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--blue)}
.eyebrow.on-dark{color:#8fbaf0}
.muted{color:var(--muted)}
.center{text-align:center}

/* buttons */
.btn{display:inline-flex; align-items:center; gap:9px; font-family:"Inter",sans-serif; font-weight:600; font-size:.98rem;
  padding:13px 24px; border-radius:999px; border:1px solid transparent; cursor:pointer; transition:.15s; white-space:nowrap}
.btn-primary{background:var(--blue); color:#fff}
.btn-primary:hover{background:var(--blue-dark); color:#fff}
.btn-ghost{background:transparent; color:#fff; border-color:rgba(255,255,255,.35)}
.btn-ghost:hover{background:rgba(255,255,255,.1); color:#fff}
.btn-light{background:#fff; color:var(--brand)}
.btn-light:hover{background:#eef4fc; color:var(--brand)}
.btn-play{display:inline-flex; align-items:center; gap:10px; color:#fff; font-weight:600}
.btn-play .disc{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center}

/* ---------- header / nav ---------- */
.site-header{background:var(--navy); position:sticky; top:0; z-index:50}
.nav{display:flex; align-items:center; justify-content:space-between; height:100px}
.nav .logo img{height:72px; width:auto}
.nav-links{display:flex; align-items:center; gap:30px; list-style:none; margin:0; padding:0}
.nav-links a{color:#dbe7f6; font-weight:500; font-size:.95rem; padding:6px 0; position:relative}
.nav-links a:hover,.nav-links a.active{color:#fff}
.nav-links a.active::after{content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px; background:#fff; border-radius:2px}
.nav-right{display:flex; align-items:center; gap:18px}
.nav-toggle{display:none; background:none; border:0; color:#fff; cursor:pointer; padding:6px}
.nav-toggle svg{width:26px;height:26px}

/* ---------- hero ---------- */
/* The hero photo is set inline on the .hero element (style="background-image:url('assets/…')") so its
   relative path resolves against the HTML page, not this stylesheet's css/ folder. The ::before is only
   the dark overlay that sits on top of that photo; a navy background-color is the fallback when no photo. */
.hero{position:relative; color:#fff; background-color:var(--navy); background-size:cover; background-position:center; background-repeat:no-repeat}
.hero::before{content:""; position:absolute; inset:0; z-index:0;
  background:linear-gradient(100deg, rgba(8,28,54,.93) 0%, rgba(8,28,54,.74) 46%, rgba(8,28,54,.34) 100%)}
.hero .container{position:relative; z-index:1; padding-top:82px; padding-bottom:92px}
.hero-inner{max-width:560px}
.hero h1{color:#fff; margin-top:.4em}
.hero p{color:#cfe0f3; font-size:1.1rem; max-width:44ch}
.hero-cta{display:flex; align-items:center; gap:22px; margin-top:28px; flex-wrap:wrap}
.hero.compact .container{padding-top:64px; padding-bottom:64px}
.hero.compact p{max-width:60ch}

/* ---------- generic section ---------- */
.section{padding:76px 0}
.section.tint{background:var(--panel)}
.section-head{max-width:680px; margin:0 auto 46px; text-align:center}
.section-head h2{margin-top:.3em}
.section-head p{color:var(--muted); font-size:1.08rem}

/* ---------- feature icon row (home) ---------- */
.feature-row{display:grid; grid-template-columns:repeat(5,1fr); gap:26px}
.feature-row .item{padding:6px}
.ficon{width:46px;height:46px;border-radius:12px;background:var(--blue-100);color:var(--blue);display:grid;place-items:center;margin-bottom:14px}
.ficon svg{width:24px;height:24px}
.feature-row h3{font-size:1.02rem; margin-bottom:.35em}
.feature-row p{font-size:.9rem; color:var(--muted); margin:0}

/* ---------- feature cards grid (features page) ---------- */
.card-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px}
.fcard{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px; box-shadow:var(--shadow-sm)}
.fcard .ficon{margin-bottom:16px}
.fcard h3{margin-bottom:.4em}
.fcard p{color:var(--muted); font-size:.95rem; margin:0}

/* ---------- split (text + product) ---------- */
.split{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center}
.split .lead h2{margin-bottom:.5em}
.checklist{list-style:none; margin:22px 0 0; padding:0; display:grid; gap:14px}
.checklist li{display:flex; align-items:flex-start; gap:12px; color:var(--ink); font-weight:500}
.check{flex:none; width:22px;height:22px;border-radius:50%;background:var(--blue-100);color:var(--blue);display:grid;place-items:center;margin-top:1px}
.check svg{width:13px;height:13px}

/* product overview card (recreated, not an image) */
.product{background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); padding:22px; position:relative}
.product .p-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:16px}
.product .p-title{font-weight:700; color:var(--ink)}
.stat-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.stat{background:var(--panel); border-radius:12px; padding:14px 16px; display:flex; align-items:center; gap:12px}
.stat .si{width:34px;height:34px;border-radius:9px;background:var(--blue-100);color:var(--blue);display:grid;place-items:center;flex:none}
.stat .sv{font-family:"Plus Jakarta Sans",sans-serif; font-weight:800; font-size:1.15rem; color:var(--ink); line-height:1}
.stat .sl{font-size:.72rem; color:var(--muted)}
.p-rows{margin-top:16px; border-top:1px solid var(--line); padding-top:12px}
.p-row{display:flex; justify-content:space-between; font-size:.82rem; color:var(--muted); padding:7px 0; border-bottom:1px solid var(--panel)}
.p-row:last-child{border-bottom:0}

/* ---------- pricing ---------- */
.price-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; align-items:start}
.plan{background:#fff; border:1px solid var(--line); border-radius:16px; padding:28px; box-shadow:var(--shadow-sm); position:relative}
.plan.featured{border:2px solid var(--blue); box-shadow:var(--shadow)}
.plan .tag{position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--blue); color:#fff; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:5px 14px; border-radius:999px}
.plan h3{font-size:1.3rem; margin-bottom:.2em}
.plan .plan-sub{color:var(--muted); font-size:.9rem; min-height:40px}
.plan ul{list-style:none; margin:18px 0 22px; padding:0; display:grid; gap:11px}
.plan li{display:flex; gap:10px; align-items:flex-start; font-size:.93rem}
.plan li .check{width:20px;height:20px}
.plan .soon{font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:10px}
.callout{margin-top:26px; background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:24px 28px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap}
.callout .co-l{display:flex; align-items:center; gap:16px}
.callout .co-ic{width:44px;height:44px;border-radius:12px;background:#fff;border:1px solid var(--line);color:var(--blue);display:grid;place-items:center}

/* ---------- resources cards ---------- */
.res-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px}
.rcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow-sm)}
.rcard h3{margin:14px 0 .4em}
.rcard p{color:var(--muted); font-size:.95rem}
.rlinks{list-style:none; margin:14px 0 0; padding:0; display:grid; gap:8px}
.rlinks a{font-weight:600; font-size:.92rem; display:inline-flex; gap:6px; align-items:center}

/* ---------- about ---------- */
.about-media{border-radius:16px; overflow:hidden; box-shadow:var(--shadow); background:var(--panel); aspect-ratio:4/3;
  background-image:var(--about-img,none); background-size:cover; background-position:center}

/* ---------- demo / video ---------- */
.video-wrap{max-width:900px; margin:0 auto; border-radius:16px; overflow:hidden; box-shadow:var(--shadow); background:#000; aspect-ratio:16/9; position:relative}
.video-wrap iframe,.video-wrap video{position:absolute; inset:0; width:100%; height:100%; border:0}
.video-placeholder{position:absolute; inset:0; display:grid; place-items:center; text-align:center; color:#cfe0f3;
  background:linear-gradient(120deg,#0e355f,#0a2344)}
.video-placeholder .play{width:76px;height:76px;border-radius:50%;background:var(--blue);display:grid;place-items:center;margin:0 auto 16px;box-shadow:0 10px 30px -6px rgba(31,116,224,.6)}
.video-placeholder .play svg{width:30px;height:30px;fill:#fff}

/* ---------- launch band ---------- */
.launch{background:linear-gradient(120deg,var(--navy),var(--navy-2)); color:#fff}
.launch .container{padding:44px 24px; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap}
.launch .l-left{display:flex; align-items:center; gap:18px}
.launch .l-ic{width:52px;height:52px;border-radius:13px;background:rgba(255,255,255,.12);display:grid;place-items:center;flex:none}
.launch h3{color:#fff; margin:0 0 3px}
.launch p{color:#bcd2ec; margin:0; font-size:.95rem}
.signup{display:flex; gap:10px}
.signup input{border:0; border-radius:999px; padding:13px 20px; font-size:.95rem; min-width:240px; font-family:inherit}
.signup input:focus{outline:2px solid var(--blue)}

/* ---------- footer ---------- */
.site-footer{background:var(--navy-2); color:#aac3e2}
.site-footer .container{padding:34px 24px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap}
.site-footer .logo img{height:63px}
.foot-links{display:flex; gap:24px; list-style:none; margin:0; padding:0}
.foot-links a{color:#cdddf0; font-size:.92rem}
.foot-links a:hover{color:#fff}
.foot-social{display:flex; gap:14px}
.foot-social a{width:32px;height:32px;border-radius:8px;background:rgba(255,255,255,.1);display:grid;place-items:center;color:#dce9f7}
.foot-social a:hover{background:var(--blue); color:#fff}
.foot-social svg{width:16px;height:16px;fill:currentColor}
.foot-bottom{border-top:1px solid rgba(255,255,255,.1)}
.foot-bottom .container{padding:16px 24px; font-size:.85rem}
.foot-bottom a{color:#aac3e2; margin-left:20px}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .feature-row{grid-template-columns:repeat(2,1fr)}
  .card-grid,.price-grid,.res-grid{grid-template-columns:1fr}
  .split{grid-template-columns:1fr; gap:36px}
  /* Mobile header: burger on the left, logo centered and a bit smaller. */
  .nav{height:72px; position:relative}
  .nav-toggle{order:-1}
  .nav .logo{position:absolute; left:50%; transform:translateX(-50%)}
  .nav .logo img{height:48px}
  .site-footer .logo img{height:46px}
  .nav-links{position:absolute; top:72px; left:0; right:0; background:var(--navy); flex-direction:column; gap:0; padding:8px 24px 18px; display:none; box-shadow:var(--shadow)}
  .nav-links.open{display:flex}
  .nav-links li{width:100%}
  .nav-links a{display:block; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.08)}
  .nav-toggle{display:block}
  .nav-right .btn{display:none}
  .nav-right .btn.always{display:inline-flex}
}
@media (max-width:560px){
  .feature-row{grid-template-columns:1fr}
  .launch .container,.site-footer .container{flex-direction:column; align-items:flex-start}
  .signup{width:100%}
  .signup input{min-width:0; flex:1}
  /* Phone: smaller centered logo + hide the header CTA (launch bands cover the action). */
  .nav{height:60px}
  .nav .logo img{height:40px}
  .site-footer .logo img{height:40px}
  .nav-links{top:60px}
  .nav-right .btn.always{display:none}
}
