/* Stilul comun al site-ului macslink.xyz (toate paginile) */
:root {
    --navy: #0a0e1a;
    --deep: #0d1526;
    --panel: #111827;
    --border: #1e2d45;
    --accent: #00b4d8;
    --accent2: #0077b6;
    --green: #22c55e;
    --text: #e2e8f0;
    --muted: #64748b;
    --warning: #f59e0b;
    --ballast: #22d3ee;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--navy);
    color: var(--text);
    overflow-x: hidden;
  }

  /* ── GRID BACKGROUND ── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(0,180,216,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,180,216,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    background: rgba(10,14,26,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
  }

  .nav-logo span { color: var(--accent); }

  nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
  }

  nav a:hover { color: var(--text); }

  .nav-links { display: flex; gap: 28px; align-items: center; }

  .nav-cta {
    background: var(--accent);
    color: var(--navy) !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600 !important;
  }

  .nav-cta:hover { background: #00c8f0 !important; color: var(--navy) !important; }

  /* ── HERO ── */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    z-index: 1;
  }

  .hero::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    max-width: 100vw;
    background: radial-gradient(ellipse, rgba(0,119,182,0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,180,216,0.08);
    border: 1px solid rgba(0,180,216,0.2);
    color: var(--accent);
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 32px;
    letter-spacing: 0.05em;
    animation: fadeUp 0.6s ease both;
  }

  .hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeUp 0.6s 0.1s ease both;
  }

  h1 .accent { color: var(--accent); }
  h1 .block { display: block; }

  .hero-sub {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
    font-weight: 300;
    animation: fadeUp 0.6s 0.2s ease both;
  }

  .hero-sub b { color: var(--text); font-weight: 500; }

  .hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
  }

  .btn-primary {
    background: var(--accent);
    color: var(--navy);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 0.02em;
  }

  .btn-primary:hover {
    background: #00c8f0;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,180,216,0.25);
  }

  .btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.2s;
  }

  .btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  /* hero: two module visuals side by side */
  .hero-images {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
    animation: fadeUp 0.6s 0.4s ease both;
  }

  .hero-images figure { margin: 0; }

  .hero-images img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #050a14;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(0,180,216,0.2);
    box-shadow: 0 24px 80px rgba(0,119,182,0.25);
  }

  .hero-images figcaption {
    margin-top: 10px;
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .hero-images figcaption b { color: var(--accent); font-weight: 500; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ── STATS ── */
  .stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .stat {
    background: var(--deep);
    padding: 40px 32px;
    text-align: center;
  }

  .stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -1px;
  }

  .stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 6px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* ── SECTIONS ── */
  section {
    position: relative;
    z-index: 1;
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.1;
  }

  h2 .accent { color: var(--accent); }

  .section-desc {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 56px;
    font-weight: 300;
  }

  .section-desc b { color: var(--text); font-weight: 500; }

  /* ── SUITE: MODULE CARDS ── */
  .module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
  }

  .module-card {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px 32px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
  }

  .module-card:hover {
    border-color: rgba(0,180,216,0.35);
    transform: translateY(-2px);
  }

  .module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent2), var(--accent));
  }

  .module-card.ballast::before {
    background: linear-gradient(90deg, var(--accent), var(--ballast));
  }

  .module-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
  }

  .module-icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    background: rgba(0,180,216,0.08);
    border: 1px solid rgba(0,180,216,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
  }

  .module-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.4px;
  }

  .module-kicker {
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 2px;
  }

  .module-card > p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 20px;
  }

  .module-list {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
  }

  .module-list li {
    font-size: 0.86rem;
    color: var(--muted);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 10px;
    font-weight: 300;
    line-height: 1.5;
  }

  .module-list li::before {
    content: '→';
    color: var(--accent);
    flex-shrink: 0;
  }

  .module-link {
    color: var(--accent);
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    text-decoration: none;
  }

  .module-link:hover { text-decoration: underline; }

  .suite-note {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(0,180,216,0.04);
    border: 1px solid var(--border);
    border-left: 2px solid var(--accent);
    border-radius: 10px;
    padding: 18px 22px;
  }

  .suite-note .ico { font-size: 1.15rem; line-height: 1.5; }

  .suite-note p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
    font-weight: 300;
  }

  .suite-note b { color: var(--text); font-weight: 500; }

  /* ── FEATURES ── */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }

  .feature-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: border-color 0.2s, transform 0.2s;
  }

  .feature-card:hover {
    border-color: rgba(0,180,216,0.3);
    transform: translateY(-2px);
  }

  .feature-icon {
    width: 44px; height: 44px;
    background: rgba(0,180,216,0.08);
    border: 1px solid rgba(0,180,216,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .feature-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
  }

  .feature-card p {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.6;
    font-weight: 300;
  }

  /* ── BALLAST SPLIT (visual + transfer modes) ── */
  .ballast-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
  }

  .ballast-split img {
    width: 100%;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(34,211,238,0.25);
    box-shadow: 0 24px 80px rgba(0,119,182,0.25);
  }

  .modes {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .mode {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    align-items: center;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
  }

  .mode-route {
    font-family: 'DM Mono', monospace;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
  }

  .mode-in   .mode-route { background: rgba(30,136,229,0.14); color: #64b5f6; border: 1px solid rgba(30,136,229,0.35); }
  .mode-out  .mode-route { background: rgba(230,126,34,0.14); color: #f0a35e; border: 1px solid rgba(230,126,34,0.35); }
  .mode-tr   .mode-route { background: rgba(126,87,194,0.16); color: #b39ddb; border: 1px solid rgba(126,87,194,0.4); }

  .mode h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
  }

  .mode p {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
    font-weight: 300;
  }

  .wip {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warning);
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.35);
    border-radius: 4px;
    padding: 2px 6px;
    margin-left: 6px;
    vertical-align: middle;
    white-space: nowrap;
  }

  .howto-note.wip-note { border-left-color: var(--warning); }

  /* ── HOW IT WORKS ── */
  .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    counter-reset: steps;
  }

  .step {
    counter-increment: steps;
  }

  .step::before {
    content: "0" counter(steps);
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 16px;
  }

  .step h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .step p {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.6;
    font-weight: 300;
  }

  .steps-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
    color: var(--text);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .steps-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
  }

  .steps + .steps-label { margin-top: 56px; }

  /* ── HOW TO USE ── */
  .howto {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
  }

  .howto-step {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 28px;
    padding: 0 0 40px 0;
  }

  .howto-step:last-child { padding-bottom: 0; }

  /* connecting vertical line */
  .howto-step::before {
    content: '';
    position: absolute;
    left: 31px;
    top: 52px;
    bottom: -8px;
    width: 1px;
    background: linear-gradient(var(--border), rgba(30,45,69,0.2));
  }

  .howto-step:last-child::before { display: none; }

  .howto-num {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    position: relative;
    z-index: 1;
  }

  .howto-body { padding-top: 6px; min-width: 0; }

  .howto-body h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
  }

  .howto-body p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
    max-width: 620px;
  }

  .howto-body p + p { margin-top: 10px; }

  /* inline button-label chips that mirror the app UI */
  .ui {
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(0,180,216,0.08);
    border: 1px solid rgba(0,180,216,0.2);
    border-radius: 5px;
    padding: 2px 7px;
    white-space: nowrap;
  }

  .howto-note {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(0,180,216,0.04);
    border: 1px solid var(--border);
    border-left: 2px solid var(--accent);
    border-radius: 8px;
    padding: 12px 16px;
    max-width: 620px;
  }

  .howto-note span {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 300;
  }

  .howto-note b { color: var(--text); font-weight: 500; }

  /* module switch header inside How to Use */
  .howto-module {
    margin: 72px 0 8px;
    padding-top: 40px;
    border-top: 1px dashed var(--border);
  }

  .howto-module:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }

  .howto-module h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
  }

  .howto-module h3 span { color: var(--accent); }

  .howto-module p {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 300;
    margin-top: 6px;
    max-width: 640px;
    line-height: 1.7;
  }

  /* phase header — names which app you're working in */
  .howto-phase {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin: 52px 0 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }

  .howto-phase-tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--navy);
    background: var(--accent);
    padding: 4px 9px;
    border-radius: 5px;
    font-weight: 500;
  }

  .howto-phase h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
  }

  .howto-phase .app {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
    color: var(--muted);
    margin-left: auto;
    white-space: nowrap;
  }

  .howto-phase .app b { color: var(--accent); font-weight: 500; }

  .howto-setup {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0 8px;
    max-width: 760px;
  }

  .howto-setup .ico { font-size: 1.1rem; line-height: 1.5; }

  .howto-setup p {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.7;
    font-weight: 300;
  }

  .howto-setup b { color: var(--text); font-weight: 500; }

  .howto-shot {
    display: inline-block;
    margin-top: 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    transition: border-color 0.2s, transform 0.2s;
    line-height: 0;
    max-width: 100%;
  }

  .howto-shot:hover {
    border-color: rgba(0,180,216,0.4);
    transform: translateY(-2px);
  }

  .howto-shot img {
    display: block;
    max-width: min(560px, 100%);
    max-height: 440px;
    width: auto;
    height: auto;
  }

  /* ── PRICING ── */
  #pricing { max-width: 1100px; }

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
  }

  .price-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 36px;
    transition: border-color 0.2s;
  }

  .price-card.featured {
    border-color: var(--accent);
    position: relative;
    overflow: hidden;
  }

  .price-card.featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent2), var(--accent));
  }

  .price-tag {
    display: inline-block;
    background: rgba(0,180,216,0.1);
    color: var(--accent);
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    letter-spacing: 0.08em;
  }

  .price-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .price-amount {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    margin: 24px 0 8px;
  }

  .price-amount sup {
    font-size: 1.2rem;
    font-weight: 600;
    vertical-align: super;
    letter-spacing: 0;
  }

  .price-period {
    color: var(--muted);
    font-size: 0.8rem;
    margin-bottom: 32px;
  }

  .price-desc {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 300;
  }

  .price-features {
    list-style: none;
    margin-bottom: 36px;
  }

  .price-features li {
    font-size: 0.875rem;
    color: var(--muted);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 300;
  }

  .price-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
  }

  .btn-plan {
    display: block;
    text-align: center;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 0.02em;
  }

  .btn-plan-primary {
    background: var(--accent);
    color: var(--navy);
  }

  .btn-plan-primary:hover {
    background: #00c8f0;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,180,216,0.2);
  }

  .btn-plan-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
  }

  .btn-plan-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  .pricing-note {
    text-align: center;
    margin-top: 32px;
    color: var(--muted);
    font-size: 0.8rem;
    font-family: 'DM Mono', monospace;
    line-height: 1.8;
  }

  .trial-howto {
    margin-top: 20px;
    background: rgba(0,180,216,0.04);
    border: 1px solid var(--border);
    border-left: 2px solid var(--accent);
    border-radius: 10px;
    padding: 16px 18px;
  }

  .trial-howto-title {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .trial-howto ol {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .trial-howto li {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.6;
    font-weight: 300;
  }

  .trial-howto .ui { white-space: normal; font-size: 0.74rem; }

  .trial-howto a { color: var(--accent); text-decoration: none; font-family: 'DM Mono', monospace; overflow-wrap: anywhere; }
  .trial-howto a:hover { text-decoration: underline; }

  /* ── TERMS ── */
  .terms-box {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 48px;
  }

  .terms-box h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--accent);
  }

  .terms-box h3:first-child { margin-top: 0; }

  .terms-box p, .terms-box li {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.8;
    font-weight: 300;
  }

  .terms-box ul {
    padding-left: 20px;
    margin-top: 8px;
  }

  .terms-box li { margin-bottom: 6px; }

  /* ── CONTACT ── */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }

  .contact-item {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
  }

  .contact-item h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .contact-item p {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 16px;
  }

  .contact-item a {
    color: var(--accent);
    text-decoration: none;
    font-family: 'DM Mono', monospace;
    font-size: 0.875rem;
  }

  /* ── FOOTER ── */
  footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1rem;
  }

  .footer-logo span { color: var(--accent); }

  footer p {
    color: var(--muted);
    font-size: 0.8rem;
  }

  .divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    position: relative;
    z-index: 1;
  }

  @media (max-width: 900px) {
    .nav-links { gap: 18px; }
    .ballast-split { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 768px) {
    nav { padding: 16px 24px; }
    .nav-links { display: none; }
    .hero-images { grid-template-columns: 1fr; }
    section { padding: 72px 16px; }
    .contact-grid { grid-template-columns: 1fr; }
    .terms-box { padding: 28px; }
    .mode { grid-template-columns: 1fr; gap: 10px; }
    .mode-route { justify-self: start; }
    .howto-step { grid-template-columns: 48px 1fr; gap: 18px; }
    .howto-num { width: 48px; height: 48px; font-size: 1.2rem; border-radius: 12px; }
    .howto-step::before { left: 23px; top: 40px; }
    .howto-phase .app { margin-left: 0; }
    footer { padding: 32px 24px; }
  }

  @media (max-width: 480px) {
    .stats { grid-template-columns: 1fr; }
    .module-grid, .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  }

  /* ── PAGINI SEPARATE ── */
  .nav-logo a { color: var(--text); text-decoration: none; }
  .nav-links { align-items: center; }
  nav a.active { color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
  section.page-first { padding-top: 48px; }
  section[id] { scroll-margin-top: 80px; }

  /* ── PAGINA DE START: cele două produse ── */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
  }

  .product-card {
    display: block;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, transform 0.2s;
  }

  .product-card:hover { border-color: var(--accent); transform: translateY(-2px); }

  .product-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 4px 0 10px;
  }

  .product-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 20px;
  }

  .product-card .more { color: var(--accent); font-family: 'DM Mono', monospace; font-size: 0.8rem; }

  /* ── MACSLINK CM (Android) ── */
  .cm-wrap {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
  }

  .cm-list {
    list-style: none;
    margin: 8px 0 32px;
  }

  .cm-list li {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 300;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
  }

  .cm-list li b { color: var(--text); font-weight: 500; }

  .cm-list li::before {
    content: '▸';
    color: var(--accent);
    flex-shrink: 0;
  }

  .cm-card {
    background: var(--panel);
    border: 1px solid var(--accent);
    border-radius: 16px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    text-align: center;
  }

  .cm-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent2), var(--accent));
  }

  .cm-qr {
    width: 180px; height: 180px;
    margin: 8px auto 24px;
    border: 1px dashed var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    background: rgba(0,180,216,0.03);
  }

  .cm-qr img { width: 100%; height: 100%; border-radius: 12px; background: #fff; padding: 8px; }

  .btn-store {
    display: inline-block;
    background: var(--deep);
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: default;
  }

  .btn-store.live {
    background: var(--accent);
    color: var(--navy);
    border-color: var(--accent);
    cursor: pointer;
  }

  .cm-plans {
    margin-top: 28px;
    text-align: left;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 300;
  }

  .cm-plans b { color: var(--text); font-weight: 500; }

  .cm-note {
    margin-top: 28px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.7;
    font-weight: 300;
    border-left: 2px solid var(--warning);
    padding-left: 14px;
  }

  .cm-note a, .cm-plans a { color: var(--accent); text-decoration: none; }


  @media (max-width: 768px) {
    nav { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
    .nav-links { display: flex; gap: 16px; width: 100%; overflow-x: auto; white-space: nowrap; padding-bottom: 4px; }
    .nav-cta { padding: 6px 14px; }
    section.page-first { padding-top: 48px; }
    .hero { padding-top: 160px; }
    .cm-wrap { grid-template-columns: 1fr; }
  }

/* ========================================================================
   MacsLink .eu — suită de produse (adăugat nov 2026)
   ======================================================================== */
:root{
  --cm:#e8821e; --dg:#2fa84f; --ballast:#2f7fd1; --inspect:#17a2a8; --slop:#7b3fbf;
  --card:#111827; --card-line:#1e2d45;
}
.nav-logo a{display:inline-flex;align-items:center;gap:10px}
.nav-logo img{height:30px;width:30px;border-radius:7px;display:block}

/* HERO suită */
.hero-suite{position:relative;z-index:1;text-align:center;padding:120px 24px 60px;max-width:1000px;margin:0 auto}
.hero-suite .wordmark{font-family:'Syne',sans-serif;font-weight:800;font-size:clamp(3rem,9vw,5.5rem);letter-spacing:-2px;line-height:1;margin-bottom:14px;animation:fadeUp .6s .05s ease both}
.hero-suite .wordmark b{color:var(--accent);font-weight:800}
.hero-suite .tagline{font-family:'Syne',sans-serif;font-weight:600;font-size:clamp(1.1rem,2.6vw,1.6rem);color:var(--text);margin-bottom:18px;animation:fadeUp .6s .12s ease both}
.hero-suite .lead{color:var(--muted);font-size:1.05rem;line-height:1.7;max-width:600px;margin:0 auto 36px;font-weight:300;animation:fadeUp .6s .18s ease both}
.hero-suite .lead b{color:var(--text);font-weight:500}
.hero-ctas{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;animation:fadeUp .6s .24s ease both}

/* rand de iconite in hero */
.tilerow{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin-top:56px;animation:fadeUp .6s .3s ease both}
.tilerow a{display:flex;flex-direction:column;align-items:center;gap:10px;text-decoration:none;width:120px;transition:transform .2s}
.tilerow a:hover{transform:translateY(-4px)}
.tilerow img{width:72px;height:72px;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.tilerow span{font-size:.8rem;font-weight:600;color:var(--muted);letter-spacing:.02em;text-align:center}
.tilerow a:hover span{color:var(--text)}

/* grila de produse */
.appgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px}
.app{position:relative;display:flex;flex-direction:column;background:var(--card);border:1px solid var(--card-line);border-radius:16px;padding:26px;text-decoration:none;transition:border-color .2s,transform .2s;overflow:hidden}
.app:hover{transform:translateY(-3px)}
.app::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--c,var(--accent))}
.app:hover{border-color:color-mix(in srgb,var(--c,var(--accent)) 50%,var(--card-line))}
.app-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.app-head img{width:56px;height:56px;border-radius:14px;flex-shrink:0}
.app-name{font-family:'Syne',sans-serif;font-weight:700;font-size:1.2rem;color:var(--text);letter-spacing:-.3px}
.app-plat{font-family:'DM Mono',monospace;font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;color:var(--c,var(--accent));margin-top:3px}
.app p{color:var(--muted);font-size:.9rem;line-height:1.6;font-weight:300;flex:1;margin-bottom:18px}
.app-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}
.app-badge{font-family:'DM Mono',monospace;font-size:.66rem;text-transform:uppercase;letter-spacing:.08em;padding:4px 9px;border-radius:5px}
.app-badge.ok{color:#07131e;background:var(--c,var(--accent))}
.app-badge.soon{color:var(--muted);background:rgba(100,116,139,.14);border:1px solid var(--card-line)}
.app-go{font-family:'DM Mono',monospace;font-size:.8rem;color:var(--c,var(--accent))}
.c-cm{--c:var(--cm)} .c-dg{--c:var(--dg)} .c-ballast{--c:var(--ballast)} .c-inspect{--c:var(--inspect)} .c-slop{--c:var(--slop)}

.note-oneapp{margin-top:26px;display:flex;gap:12px;align-items:flex-start;background:rgba(0,180,216,.04);border:1px solid var(--card-line);border-left:2px solid var(--accent);border-radius:10px;padding:16px 20px}
.note-oneapp p{color:var(--muted);font-size:.88rem;line-height:1.6;font-weight:300}
.note-oneapp b{color:var(--text);font-weight:500}

@media(max-width:768px){.hero-suite{padding:100px 18px 48px}.tilerow a{width:84px}.tilerow img{width:60px;height:60px}}


/* ===== MASTHEAD orizontal, scund, cu valuri animate (nov 2026) ===== */
.mast{width:100%;margin:0;border-radius:0;
  background:linear-gradient(135deg,#f5f9fc 0%,#e9f2f9 55%,#dcebf6 100%);
  display:flex;align-items:center;gap:20px;padding:14px clamp(18px,4vw,52px);
  box-shadow:0 10px 30px rgba(0,0,0,.28);position:relative;z-index:2}
.mast .ship{overflow:hidden}
/* bara utilitara sub banner */
.util{width:100%;display:flex;align-items:center;justify-content:flex-end;gap:22px;
  padding:9px clamp(18px,4vw,52px);background:#0c1322;border-bottom:1px solid rgba(255,255,255,.07)}
.util a{font-family:'Syne',sans-serif;font-size:.82rem;font-weight:600;letter-spacing:.02em;
  color:#9fb2c6;text-decoration:none;position:static;transition:color .15s}
.util a:hover{color:#00b4d8}
.util a.dl{margin-left:2px;padding:7px 16px;border-radius:999px;color:#06121f;font-weight:700;
  background:linear-gradient(135deg,#00b4d8,#17a2a8);box-shadow:0 6px 16px rgba(0,180,216,.3)}
.util a.dl:hover{color:#06121f;filter:brightness(1.08)}
@media(max-width:860px){.util{justify-content:center;gap:16px;flex-wrap:wrap}}
.mast .ship{flex:0 0 auto;width:170px;height:104px}
.mast .hub{flex:0 0 auto}
.mast .hub img{width:66px;height:66px;border-radius:15px;display:block}
.mast .brand{flex:0 0 auto}
.mast .brand .wm{font-family:'Syne',sans-serif;font-weight:800;font-size:2.3rem;line-height:1;letter-spacing:-1px;color:#13324a}
.mast .brand .wm b{color:#17a2a8;font-weight:800}
.mast .brand .tag{font-family:'Syne',sans-serif;font-weight:600;font-size:.92rem;color:#2f6fae;margin-top:6px}
.mast .spacer{flex:1 1 auto;min-width:8px}
.mast .apps{flex:0 0 auto;display:flex;gap:12px}
.mast .apps a{display:flex;flex-direction:column;align-items:center;gap:5px;text-decoration:none;width:62px;transition:transform .15s}
.mast .apps a:hover{transform:translateY(-3px)}
.mast .apps img{width:50px;height:50px;border-radius:13px;box-shadow:0 6px 16px rgba(13,40,70,.22)}
.mast .apps span{font-size:.6rem;font-weight:700;letter-spacing:.02em;text-align:center;line-height:1.15;color:#50657a}
.mast .apps a:hover span{color:#13324a}
.wave{animation:drift 2.6s linear infinite}
.wave.w2{animation-duration:3.6s;animation-direction:reverse}
@keyframes drift{from{transform:translateX(0)}to{transform:translateX(-36px)}}
@media(max-width:860px){.mast{flex-wrap:wrap;justify-content:center;text-align:center;gap:14px}.mast .spacer{display:none}.mast .brand .tag{margin-bottom:4px}}
@media(max-width:480px){.mast .apps a{width:54px}.mast .apps img{width:44px;height:44px}}

/* ===== masthead pliabil pe mobil ===== */
@media(max-width:860px){
  .mast{transition:padding .35s ease}
  .mast .ship,.mast .hub,.mast .brand,.mast .spacer{
    transition:opacity .3s ease,max-height .35s ease,margin .3s ease;overflow:hidden}
  .mast.collapsed{position:sticky;top:0;margin-top:0;border-radius:0 0 16px 16px;padding:8px 12px;gap:0}
  .mast.collapsed .ship,.mast.collapsed .hub,.mast.collapsed .brand,.mast.collapsed .spacer{
    opacity:0;max-height:0;margin:0;pointer-events:none;flex-basis:0;width:0}
  .mast.collapsed .apps{width:100%;justify-content:space-around;gap:6px}
}
