:root {
  --ink: #071a2d;
  --blue: #168fca;
  --cyan: #5fddff;
  --paper: #f3f7f9;
  --white: #fff;
  --muted: #617587;
  --line: #d9e4e9;
  --sun: #ffbf32;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
img { max-width: 100%; }

.site-header { height: 76px; padding: 0 clamp(20px, 5vw, 82px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(216,227,233,.8); background: rgba(255,255,255,.94); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 30; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 38px; width: auto; mix-blend-mode: multiply; }
.brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.back-link { color: #40586b; text-decoration: none; font-size: .82rem; font-weight: 800; }
.back-link::before { content: "←"; margin-right: 8px; color: var(--blue); }
.back-link:hover { color: var(--blue); }

.product-hero { position: relative; isolation: isolate; min-height: 660px; padding: 78px clamp(20px, 7vw, 120px) 118px; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(45px, 7vw, 110px); align-items: center; overflow: hidden; color: white; background: radial-gradient(circle at 10% 12%, rgba(87,219,255,.24), transparent 30%), radial-gradient(circle at 90% 10%, rgba(59,153,205,.25), transparent 32%), linear-gradient(135deg,#061827 0%,#0a3752 56%,#126987 100%); }
.product-hero::before { content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; right: -240px; bottom: -330px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.icon-product .product-hero { background: radial-gradient(circle at 12% 5%, rgba(115,222,255,.3), transparent 31%), radial-gradient(circle at 90% 90%, rgba(69,82,220,.32), transparent 34%), linear-gradient(135deg,#091d3d 0%,#153c75 58%,#2658a6 100%); }
.calendar-product .product-hero { background: radial-gradient(circle at 7% 8%, rgba(104,255,221,.22), transparent 30%), radial-gradient(circle at 92% 90%, rgba(39,144,178,.3), transparent 35%), linear-gradient(135deg,#071c2d 0%,#0b475a 58%,#16809a 100%); }
.product-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: .67rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.status { display: inline-flex; margin-bottom: 24px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; color: #dff8ff; background: rgba(255,255,255,.09); font-size: .63rem; font-weight: 850; letter-spacing: .08em; }
h1 { max-width: 760px; margin: 0 0 28px; font-size: clamp(3.5rem, 6.2vw, 6.7rem); line-height: .9; letter-spacing: -.07em; }
.lead { max-width: 660px; margin: 0; color: #c9dbe6; font-size: clamp(1rem,1.45vw,1.16rem); line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 23px; border-radius: 99px; text-decoration: none; font-size: .87rem; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { color: var(--ink); background: var(--sun); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.secondary { border: 1px solid rgba(255,255,255,.28); color: white; background: rgba(255,255,255,.08); }
.secondary:hover { background: rgba(255,255,255,.15); }
.product-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; color: #a9c5d4; font-size: .72rem; font-weight: 750; }
.product-points span::before { content: "✓"; margin-right: 7px; color: var(--cyan); }
.product-art { position: relative; z-index: 2; min-width: 0; padding: 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 32px; background: rgba(255,255,255,.08); box-shadow: 0 34px 90px rgba(0,0,0,.25); backdrop-filter: blur(10px); }
.product-art img { display: block; width: 100%; max-height: 560px; object-fit: contain; border-radius: 22px; }
.icon-product .product-art { max-width: 540px; justify-self: center; padding: 28px; }
.icon-product .product-art img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; }
.calendar-product .product-art { max-width: 540px; justify-self: center; padding: 42px; }
.calendar-product .product-art img { max-width: 390px; margin-inline: auto; }

.facts { position: relative; z-index: 5; width: min(1280px, calc(100% - 40px)); margin: -58px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border: 1px solid rgba(216,227,233,.9); border-radius: 24px; background: white; box-shadow: 0 22px 60px rgba(8,36,55,.14); }
.fact { min-height: 122px; padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact span { margin-bottom: 9px; color: #7b909e; font-size: .59rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.fact strong { font-size: 1.03rem; line-height: 1.35; }

.visual-section { padding: 106px clamp(20px,7vw,120px); color: white; background: #071a2d; }
.visual-heading { max-width: 1280px; margin: 0 auto 48px; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.visual-heading h2 { margin: 0; max-width: 780px; font-size: clamp(2.7rem,5vw,5rem); line-height: .95; letter-spacing: -.06em; }
.visual-heading > p { max-width: 470px; margin: 0; color: #a9bfcc; line-height: 1.7; }
.screen-gallery { max-width: 1280px; margin: auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; align-items: start; }
.weather-gallery { max-width: 1100px; grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr); align-items: stretch; }
.screen-card { margin: 0; padding: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: rgba(255,255,255,.07); box-shadow: 0 22px 50px rgba(0,0,0,.24); }
.screen-card:nth-child(even) { margin-top: 46px; }
.screen-card img { display: block; width: 100%; aspect-ratio: 9/19.5; object-fit: cover; object-position: top; border-radius: 19px; }
.screen-card figcaption { padding: 16px 8px 8px; color: #c7d8e2; font-size: .74rem; font-weight: 750; }
.weather-phone { grid-row: 1 / 3; }
.weather-phone:nth-child(even) { margin-top: 0; }
.weather-feature-card { margin: 0; padding: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: rgba(255,255,255,.07); box-shadow: 0 22px 50px rgba(0,0,0,.24); }
.weather-feature-card img { display: block; width: 100%; aspect-ratio: 16/7.5; object-fit: cover; border-radius: 19px; }
.weather-feature-card figcaption { padding: 14px 9px 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; color: white; }
.weather-feature-card figcaption strong { font-size: .9rem; }
.weather-feature-card figcaption span { color: #8fa9b8; font-size: .65rem; text-align: right; }

.flag-showcase { max-width: 1280px; margin: auto; display: grid; grid-template-columns: 1.45fr .8fr; gap: 18px; }
.map-card, .flag-card { min-height: 470px; padding: clamp(26px,4vw,54px); overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 30px; background: radial-gradient(circle at 75% 20%,rgba(85,213,247,.19),transparent 30%),#102c56; }
.map-card { display: flex; flex-direction: column; justify-content: space-between; }
.map-card img { width: 100%; margin: 25px 0; filter: drop-shadow(0 18px 35px rgba(0,0,0,.22)); }
.visual-kicker { color: var(--cyan); font-size: .68rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.visual-title { margin: 8px 0 0; font-size: clamp(1.65rem,2.8vw,2.7rem); line-height: 1.03; letter-spacing: -.045em; }
.map-card p, .flag-card p { color: #b9ccd8; line-height: 1.65; }
.flag-card { display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(150deg,#173b77,#244e9a); }
.flag-mosaic { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 28px; }
.flag-tile { min-height: 92px; padding: 16px; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 12px 24px rgba(0,0,0,.13); }
.flag-tile img { width: 100%; max-height: 60px; object-fit: contain; }

.calendar-showcase { max-width: 1280px; margin: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.calendar-device, .calendar-detail { min-height: 520px; padding: clamp(28px,4vw,52px); border: 1px solid rgba(255,255,255,.13); border-radius: 30px; }
.calendar-device { color: #172b42; background: linear-gradient(145deg,#eff8ff,#dcecf6); }
.calendar-appbar { display: flex; align-items: center; gap: 15px; margin-bottom: 34px; }
.calendar-appbar img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 10px 26px rgba(16,51,77,.18); }
.calendar-appbar strong { display: block; font-size: 1.08rem; }
.calendar-appbar span { color: #668096; font-size: .78rem; }
.date-card { margin-top: 13px; padding: 20px 22px; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; border-radius: 20px; background: white; box-shadow: 0 10px 28px rgba(18,54,78,.08); }
.date-card .date { width: 64px; height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 17px; color: white; background: #168fca; }
.date-card .date b { font-size: 1.35rem; line-height: 1; }
.date-card .date small { margin-top: 4px; font-size: .58rem; font-weight: 800; letter-spacing: .1em; }
.date-card strong { display: block; margin-bottom: 5px; }
.date-card p { margin: 0; color: #6a8090; font-size: .78rem; }
.calendar-detail { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 15%,rgba(96,239,213,.2),transparent 30%),linear-gradient(145deg,#0c3544,#087080); }
.calendar-detail h3 { max-width: 520px; margin: 12px 0 18px; font-size: clamp(2rem,3.5vw,3.7rem); line-height: .98; letter-spacing: -.055em; }
.calendar-detail > p { max-width: 540px; color: #bad5da; line-height: 1.7; }
.reminder-list { margin-top: 42px; display: grid; gap: 12px; }
.reminder { padding: 17px 19px; display: flex; align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: rgba(255,255,255,.08); }
.reminder b { width: 35px; height: 35px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 11px; color: #073b48; background: #6ee4d0; font-size: .72rem; }
.reminder span { color: #d9ecef; font-size: .82rem; font-weight: 700; }

.feature-section { padding: 108px clamp(20px,7vw,120px) 116px; background: linear-gradient(180deg,#f6f9fa 0%,#edf4f6 100%); }
.section-heading { max-width: 1280px; margin: 0 auto 52px; display: grid; grid-template-columns: 1fr .65fr; gap: 8vw; align-items: end; }
.section-heading h2 { margin: 0; max-width: 780px; font-size: clamp(2.75rem,5vw,5.2rem); line-height: .94; letter-spacing: -.06em; }
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.75; }
.feature-grid { max-width: 1280px; margin: auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature { min-height: 220px; padding: 28px; display: flex; flex-direction: column; border: 1px solid rgba(211,225,232,.9); border-radius: 22px; background: rgba(255,255,255,.88); box-shadow: 0 10px 28px rgba(20,54,73,.05); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.feature:hover { transform: translateY(-4px); border-color: #b9d7e4; box-shadow: 0 18px 42px rgba(20,54,73,.1); }
.feature-icon { width: 45px; height: 45px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; color: #0878aa; background: #dff5fc; font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.icon-product .feature-icon { color: #234d9a; background: #e6edff; }
.calendar-product .feature-icon { color: #087068; background: #dff7f1; }
.feature h3 { margin: auto 0 12px; font-size: 1.32rem; letter-spacing: -.035em; }
.feature p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }

.cta { padding: 0 clamp(20px,7vw,120px) 112px; background: #edf4f6; }
.cta-card { max-width: 1280px; min-height: 265px; margin: auto; padding: clamp(36px,5vw,68px); display: flex; align-items: center; justify-content: space-between; gap: 50px; overflow: hidden; position: relative; color: white; border-radius: 30px; background: radial-gradient(circle at 85% 25%, rgba(85,213,247,.22), transparent 28%), linear-gradient(135deg,#071a2d,#0c3c58); box-shadow: 0 24px 60px rgba(7,26,45,.18); }
.cta-card::after { content: ""; position: absolute; width: 280px; height: 280px; right: -130px; bottom: -180px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { max-width: 780px; margin: 0; font-size: clamp(2.2rem,4vw,4.3rem); line-height: .96; letter-spacing: -.055em; }
.cta-card p:not(.eyebrow) { max-width: 660px; margin: 18px 0 0; color: #b9cfda; line-height: 1.7; }
.cta-card .button { flex: 0 0 auto; min-width: 210px; }

footer { padding: 36px clamp(20px,6vw,100px); display: flex; justify-content: space-between; gap: 24px; color: #718493; background: white; font-size: .75rem; }
footer a { color: #30475d; text-decoration: none; font-weight: 700; }

@media (max-width: 1000px) {
  .product-hero { grid-template-columns: 1fr; padding-bottom: 110px; }
  .product-copy { max-width: 780px; }
  .product-art { width: min(760px,100%); justify-self: center; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .screen-gallery { grid-template-columns: repeat(2,1fr); }
  .weather-gallery { grid-template-columns: minmax(230px,.7fr) minmax(0,1.3fr); }
  .flag-showcase, .calendar-showcase { grid-template-columns: 1fr; }
  .cta-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .site-header { height: 68px; }
  .brand img { height: 32px; }
  .back-link { font-size: .72rem; }
  .product-hero { min-height: auto; padding: 58px 18px 96px; gap: 46px; }
  h1 { font-size: clamp(3.2rem,17vw,4.5rem); }
  .lead { line-height: 1.62; }
  .product-art, .icon-product .product-art, .calendar-product .product-art { padding: 10px; border-radius: 22px; }
  .product-art img, .icon-product .product-art img { border-radius: 15px; }
  .facts { width: calc(100% - 28px); margin-top: -48px; grid-template-columns: 1fr; border-radius: 20px; }
  .fact, .fact:nth-child(2) { min-height: 100px; padding: 23px 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .feature-section { padding: 82px 18px; }
  .visual-section { padding: 82px 14px; }
  .visual-heading { margin-bottom: 34px; align-items: flex-start; flex-direction: column; gap: 20px; padding: 0 4px; }
  .screen-gallery { display: flex; gap: 12px; overflow-x: auto; padding: 0 4px 18px; scroll-snap-type: x mandatory; }
  .weather-gallery { display: grid; grid-template-columns: 1fr; gap: 14px; overflow: visible; padding: 0 4px; }
  .screen-card { min-width: 76vw; scroll-snap-align: center; }
  .screen-card:nth-child(even) { margin-top: 0; }
  .weather-phone { grid-row: auto; width: min(100%,340px); min-width: 0; margin-inline: auto; }
  .weather-feature-card img { aspect-ratio: 4/3; }
  .weather-feature-card figcaption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .weather-feature-card figcaption span { text-align: left; }
  .map-card, .flag-card, .calendar-device, .calendar-detail { min-height: 0; padding: 28px 22px; border-radius: 22px; }
  .flag-mosaic { grid-template-columns: repeat(2,1fr); }
  .date-card { padding: 16px; grid-template-columns: 56px 1fr; }
  .date-card .date { width: 56px; height: 56px; }
  .section-heading, .feature-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 24px; margin-bottom: 36px; }
  .feature { min-height: 190px; }
  .cta { padding: 0 14px 76px; }
  .cta-card { min-height: 0; padding: 38px 26px; border-radius: 22px; }
  .cta-card .button { width: 100%; min-width: 0; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button, .feature { transition: none; } }
