/* SellSmart main stylesheet */
:root {
    --container: 1240px;
    --primary: #4f46e5;
    --text: #0f1640;
    --muted: #5f6685;
    --line: #e4e8f5;
    --blue: #2554f4;
    --green: #19b980;
    --purple: #7a4fe8;
    --orange: #ff982d;
    --shadow: 0 24px 60px rgba(41, 50, 100, .14);
  }

  * { box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  #produse,
  #functionalitati,
  #resurse,
  #despre-noi,
  #contact,
  #demo {
    scroll-margin-top: 28px;
  }

  body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fff 0%, #fbfcff 55%, #fff 100%);
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  .site-header {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6vw;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 25px;
    font-weight: 800;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(135deg, #3157ff, #7a4fe8);
    font-weight: 900;
  }

  .nav {
    display: flex;
    gap: 34px;
    font-weight: 600;
    font-size: 14px;
  }

  .header-actions,
  .hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 44px;
    padding: 0 22px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid transparent;
  }

  .btn-primary {
    color: white;
    background: linear-gradient(135deg, #3b55f6, #6b4cf6);
    box-shadow: 0 12px 28px rgba(79, 70, 229, .28);
  }

  .btn-light,
  .btn-admin,
  .btn-outline {
    background: white;
    border-color: #dbe1f0;
  }

  .btn-large {
    height: 54px;
    padding: 0 28px;
    font-size: 15px;
  }

  .eyebrow,
  .section-badge {
    display: inline-flex;
    width: max-content;
    padding: 8px 17px;
    border-radius: 999px;
    background: #eef0ff;
    border: 1px solid #dcdfff;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
  }

  .hero {
    min-height: 580px;
    display: grid;
    grid-template-columns: 1fr 1.18fr;
    align-items: center;
    padding: 64px 6vw 52px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }

  .hero h1 {
    max-width: 620px;
    margin: 24px 0 18px;
    font-size: clamp(43px, 5vw, 68px);
    line-height: 1.07;
    letter-spacing: -.06em;
  }

  .hero h1 span {
    color: var(--primary);
    display: block;
  }

  .hero p {
    max-width: 560px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
  }

  .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 44px;
    color: #11183d;
    font-size: 14px;
    font-weight: 600;
  }

  .hero-badges span::first-letter {
    color: var(--primary);
  }

  .hero-visual {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gradient-orb {
    position: absolute;
    width: 720px;
    height: 520px;
    right: -180px;
    border-radius: 48% 0 0 48%;
    background: radial-gradient(circle at 50% 45%, #e6e9ff, #cbd4ff 52%, #b7c1ff);
    z-index: 0;
  }

  .hero-pos-image {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    height: auto;
    object-fit: contain;
    display: block;
  }

  .quick-benefits {
    width: var(--container);
    max-width: calc(100% - 48px);
    margin: 0 auto 70px;
    background: white;
    border: 1px solid #e8ecf7;
    border-radius: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.03);
  }

  .benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 32px;
    border-right: 1px solid #edf1f8;
    min-height: 118px;
  }

  .benefit-card:last-child {
    border-right: none;
  }

  .benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #f2f3ff;
    color: #5b5cf0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .benefit-icon svg {
    width: 24px;
    height: 24px;
    stroke: #5b5cf0;
  }

  .benefit-card h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
  }

  .benefit-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
  }

  .video-section {
    width: var(--container);
max-width: calc(100% - 48px);
    margin: 42px auto 70px;
    padding: 20px 42px;
    display: grid;
    grid-template-columns: 360px 1fr;
    align-items: center;
    gap: 44px;
    background: linear-gradient(135deg, #fafbff 0%, #f4f5fd 50%, #eef1fa 100%);
    border: 1px solid #e4e8f5;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(41, 50, 100, .08);
  }

  .video-content h2 {
    margin: 24px 0 18px;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -.04em;
    color: #0f1640;
  }

  .video-content h2 span {
    color: #4f46e5;
  }

  .video-content p {
    max-width: 300px;
    margin: 0 0 26px;
    color: #5f6685;
    font-size: 14px;
    line-height: 1.7;
  }

  .video-preview {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 360px;
    background: #a98ce9;
  }

  .video-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 74px;
    height: 74px;
    border: none;
    border-radius: 50%;
    background: white;
    color: #4f46e5;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 20px 45px rgba(41, 50, 100, .25);
  }

  .section {
    padding: 44px 6vw 32px;
  }

  .section-heading {
    text-align: center;
    margin-bottom: 50px;
  }

  .section-heading .eyebrow {
    margin-bottom: 18px;
  }

  .section-heading h2 {
    margin: 0;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #0f1640;
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .product-card {
    padding: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 16px 40px rgba(41, 50, 100, .06);
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .product-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
  }

  .icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    color: white;
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
  }

  .blue .icon,
  .blue .card-btn { background: var(--blue); }

  .green .icon,
  .green .card-btn { background: var(--green); }

  .purple .icon,
  .purple .card-btn { background: var(--purple); }

  .orange .icon,
  .orange .card-btn { background: var(--orange); }

  .agro .icon,
  .agro .card-btn { background: #10ad3d; }

  .product-card h3 {
    margin: 0 0 4px;
    font-size: 21px;
  }

  .product-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
  }

  .product-image {
    height: 175px;
    margin: 10px 0 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f7f9ff, #ffffff);
    position: relative;
    overflow: hidden;
  }

  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    color: #232a4d;
    font-size: 14px;
    flex: 1;
  }

  li::before {
    content: "✓";
    color: currentColor;
    margin-right: 9px;
    font-weight: 800;
  }

  .card-btn {
    margin-top: 24px;
    height: 48px;
    color: white;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-weight: 800;
  }

  .mobile-feature {
    width: var(--container);
max-width: calc(100% - 48px);
margin: 12px auto 42px;
padding: 32px 40px;
    display: grid;
    grid-template-columns: 320px 1fr 360px;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, #fff, #f3f7ff);
    border: 1px solid var(--line);
    border-radius: 18px;
  }

  .mobile-image {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mobile-image img {
    width: 280px;
    max-width: 100%;
    height: auto;
    transform: rotate(-12deg);
    filter: drop-shadow(0 25px 40px rgba(0,0,0,.15));
  }

  .mobile-copy h2 {
    text-align: left;
    margin: 18px 0 12px;
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: -0.05em;
    max-width: 650px;
  }

  .mobile-copy p {
    max-width: 620px;
    font-size: 20px;
    line-height: 1.8;
    color: #5f6685;
  }

  .store-buttons {
    display: flex;
    gap: 12px;
    margin-top: 22px;
  }

  .store-buttons a {
    border: 1px solid var(--line);
    background: white;
    border-radius: 9px;
    padding: 11px 18px;
    font-weight: 700;
  }

  .feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .feature-list span {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 18px;
    font-weight: 600;
    color: #0f1640;
  }

  .feature-list span i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    color: #5b5cf0;
    border: 1px solid #edf1fa;
    box-shadow: 0 8px 20px rgba(91,92,240,.08);
    flex-shrink: 0;
  }

  .feature-list span i svg {
    width: 22px;
    height: 22px;
  }

  .why-section {
    margin: 12px 6vw 42px;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 35px;
    align-items: center;
  }

  .why-section h2 {
    text-align: left;
    font-size: 34px;
    letter-spacing: -.04em;
    margin: 0 0 28px;
  }

  .why-grid,
  .stats-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    overflow: hidden;
  }

  .why-grid article {
    padding: 26px;
    text-align: center;
    border-right: 1px solid var(--line);
  }

  .why-grid article:last-child {
    border-right: 0;
  }

  .why-grid h4 {
    margin: 12px 0 8px;
  }

  .why-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
  }

  .stats-card {
    grid-template-columns: repeat(2, 1fr);
    padding: 28px;
    gap: 22px;
  }

  .stats-card div {
    text-align: center;
  }

  .stats-card strong {
    display: block;
    color: var(--primary);
    font-size: 36px;
  }

  .stats-card span {
    color: var(--muted);
    font-weight: 600;
  }

  .logos {
    padding: 0 6vw 70px;
  }

  .logos h3 {
    margin-bottom: 24px;
  }

.why-section,
.logos {
width: var(--container);
max-width: calc(100% - 48px);
margin-left: auto;
margin-right: auto;
}

  .logos div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 22px;
    align-items: center;
    color: #28304c;
    font-weight: 800;
    opacity: .72;
  }

  @media (max-width: 1100px) {
    .nav { display: none; }
    .hero { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .mobile-feature,
    .why-section {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 700px) {
    .site-header { padding: 0 20px; }
    .hero,
    .section {
       padding-left: max(24px, calc((100vw - var(--container)) / 2));
      padding-right: max(24px, calc((100vw - var(--container)) / 2));
    }
    .hero h1 { font-size: 42px; }
    .product-grid,
    .why-grid,
    .stats-card,
    .quick-benefits {
      grid-template-columns: 1fr;
    }
    .mobile-feature {
      margin: 0 20px 34px;
      padding: 28px;
    }
  }
