:root {
      --color-sand: #f5e6d3;
      --color-cream: #faf6f0;
      --color-teal: #2d6a6a;
      --color-teal-light: #3d8b8b;
      --color-gold: #c9a227;
      --color-brown: #5c4033;
      --color-text: #2c2416;
      --color-text-soft: #5a4a3a;
      --shadow-soft: 0 4px 20px rgba(44, 36, 22, 0.08);
      --radius: 16px;
      --radius-sm: 10px;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Nunito', sans-serif;
      color: var(--color-text);
      background: var(--color-cream);
      line-height: 1.6;
      overflow-x: hidden;
    }

    .pattern-bg {
      background-color: var(--color-sand);
      background-image: 
        radial-gradient(circle at 20% 80%, rgba(45, 106, 106, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.08) 0%, transparent 50%);
    }

    /* Islamic geometric pattern - corners only, чуть заметнее */
    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: 
        repeating-linear-gradient(
          45deg,
          transparent,
          transparent 20px,
          rgba(45, 106, 106, 0.06) 20px,
          rgba(45, 106, 106, 0.06) 40px
        );
      pointer-events: none;
      mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, black 100%);
      -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, black 100%);
    }

    .container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Header */
    header {
      padding: 20px 0;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: rgba(250, 246, 240, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(92, 64, 51, 0.08);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .logo {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 1.35rem;
      color: var(--color-teal);
    }

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

    nav a {
      text-decoration: none;
      color: var(--color-text-soft);
      font-weight: 600;
      margin-left: 28px;
      transition: color 0.2s;
    }

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

    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 44px;
      height: 44px;
      padding: 10px;
      background: none;
      border: none;
      cursor: pointer;
      color: var(--color-teal);
      border-radius: var(--radius-sm);
      transition: background 0.2s;
    }

    .nav-toggle:hover {
      background: rgba(45, 106, 106, 0.08);
    }

    .nav-toggle-bar {
      display: block;
      width: 22px;
      height: 2px;
      background: currentColor;
      border-radius: 1px;
      transition: transform 0.2s, opacity 0.2s;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
      opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* Hero */
    .hero {
      position: relative;
      padding: 140px 0 100px;
      text-align: center;
    }

    .hero .pattern-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
    }

    .hero .container {
      position: relative;
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 1;
    }

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

    .hero-visual:empty {
      display: none;
    }

    .hero-visual img {
      max-width: 280px;
      width: 100%;
      height: auto;
      border-radius: var(--radius);
      box-shadow: 0 20px 50px rgba(44, 36, 22, 0.15);
    }

    .hero-badge {
      display: inline-block;
      background: rgba(45, 106, 106, 0.12);
      color: var(--color-teal);
      padding: 8px 18px;
      border-radius: 50px;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 24px;
    }

    .hero h1 {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 700;
      color: var(--color-brown);
      max-width: 700px;
      margin: 0 auto 20px;
      line-height: 1.25;
    }

    .hero h1 .accent {
      color: var(--color-teal);
    }

    .hero p {
      font-size: 1.2rem;
      color: var(--color-text-soft);
      max-width: 540px;
      margin: 0 auto 36px;
    }

    .cta-buttons {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 28px;
      border-radius: var(--radius-sm);
      font-family: 'Nunito', sans-serif;
      font-weight: 700;
      font-size: 1rem;
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .btn-primary {
      background: var(--color-teal);
      color: white;
      border: none;
      box-shadow: var(--shadow-soft);
    }

    .btn-primary:hover {
      background: var(--color-teal-light);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(45, 106, 106, 0.3);
    }

    .btn-secondary {
      background: white;
      color: var(--color-teal);
      border: 2px solid var(--color-teal);
    }

    .btn-secondary:hover {
      background: rgba(45, 106, 106, 0.06);
      transform: translateY(-2px);
    }

    /* Features */
    section {
      padding: 80px 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 48px;
    }

    .section-title h2 {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(1.75rem, 4vw, 2.25rem);
      color: var(--color-brown);
      margin-bottom: 12px;
    }

    .section-title p {
      color: var(--color-text-soft);
      font-size: 1.1rem;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 28px;
    }

    .feature-card {
      background: white;
      padding: 32px;
      border-radius: var(--radius);
      box-shadow: var(--shadow-soft);
      transition: transform 0.2s, box-shadow 0.2s;
      border: 1px solid rgba(92, 64, 51, 0.06);
    }

    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(44, 36, 22, 0.12);
    }

    .feature-icon {
      width: 56px;
      height: 56px;
      background: linear-gradient(135deg, rgba(45, 106, 106, 0.15), rgba(45, 106, 106, 0.06));
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      margin-bottom: 20px;
    }

    .feature-icon-svg {
      color: var(--color-teal);
    }

    .feature-icon-svg svg {
      flex-shrink: 0;
    }

    .feature-card h3 {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.2rem;
      color: var(--color-brown);
      margin-bottom: 10px;
    }

    .feature-card p {
      color: var(--color-text-soft);
      font-size: 0.98rem;
    }

    /* How it works / Benefits */
    .benefits {
      background: var(--color-sand);
      padding: 80px 0;
    }

    .benefits-list {
      max-width: 640px;
      margin: 0 auto;
    }

    .benefit-item {
      display: flex;
      align-items: flex-start;
      gap: 20px;
      margin-bottom: 28px;
      padding: 24px;
      background: white;
      border-radius: var(--radius);
      box-shadow: var(--shadow-soft);
    }

    .benefit-num {
      width: 44px;
      height: 44px;
      background: linear-gradient(135deg, var(--color-teal), var(--color-gold));
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      flex-shrink: 0;
    }

    .benefit-item h4 {
      font-family: 'Montserrat', sans-serif;
      color: var(--color-brown);
      margin-bottom: 6px;
    }

    .benefit-item p {
      color: var(--color-text-soft);
      font-size: 0.98rem;
    }

    /* App preview / CTA */
    .app-cta {
      text-align: center;
      padding: 80px 0 100px;
    }

    .app-cta h2 {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(1.5rem, 3.5vw, 2rem);
      color: var(--color-brown);
      margin-bottom: 16px;
    }

    .app-cta p {
      color: var(--color-text-soft);
      margin-bottom: 32px;
    }

    .stores {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .store-btn {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 14px 24px;
      background: var(--color-text);
      color: white;
      border-radius: var(--radius-sm);
      text-decoration: none;
      font-weight: 600;
      transition: transform 0.2s, background 0.2s;
    }

    .store-btn:hover {
      background: var(--color-brown);
      transform: translateY(-2px);
    }

    .store-btn span:first-child {
      font-size: 1.5rem;
    }

    .store-btn-google {
      padding: 0;
      background: transparent;
      border-radius: 0;
    }

    .store-btn-google:hover {
      background: transparent;
      transform: translateY(-2px);
    }

    .store-badge-img {
      display: block;
      height: auto;
    }

    .store-btn-coming {
      opacity: 0.7;
      cursor: default;
      background: var(--color-text-soft);
    }

    .store-btn-coming:hover {
      background: var(--color-text-soft);
      transform: none;
    }

    .store-ios-placeholder {
      font-size: 1rem;
    }

    .app-cta-note {
      font-size: 0.9rem;
      margin-top: -16px;
      margin-bottom: 24px;
      color: var(--color-text-soft);
      opacity: 0.9;
    }

    .app-cta-note a {
      color: var(--color-teal);
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .app-cta-note a:hover {
      color: var(--color-teal-light);
    }

    /* Footer */
    footer {
      background: var(--color-brown);
      color: var(--color-sand);
      padding: 40px 0 24px;
      text-align: center;
    }

    footer .logo {
      color: var(--color-sand);
      margin-bottom: 16px;
      display: inline-block;
    }

    footer p {
      font-size: 0.9rem;
      opacity: 0.9;
      margin-bottom: 20px;
    }

    footer a {
      color: var(--color-gold);
      text-decoration: none;
    }

        /* Responsive */
    @media (max-width: 900px) {
      .container {
        padding: 0 20px;
      }

      .hero {
        padding: 120px 0 80px;
      }

      section {
        padding: 64px 0;
      }

      .benefits-list {
        max-width: 100%;
      }
    }

    @media (max-width: 768px) {
      header {
        padding: 16px 0;
      }

      .header-inner {
        flex-wrap: nowrap;
        gap: 12px;
      }

      .logo {
        font-size: 1.2rem;
      }

      .nav-toggle {
        display: flex;
        order: 2;
        margin-left: auto;
      }

      .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250, 246, 240, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(92, 64, 51, 0.08);
        padding: 16px 24px 20px;
        flex-direction: column;
        gap: 4px;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.2s ease;
      }

      .nav-menu.is-open {
        max-height: 320px;
        opacity: 1;
      }

      .nav-menu a {
        display: block;
        padding: 12px 0;
        margin: 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(92, 64, 51, 0.06);
      }

      .nav-menu a:last-child {
        border-bottom: none;
      }

      .hero {
        padding: 100px 0 60px;
      }

      .hero-badge {
        font-size: 0.85rem;
        padding: 6px 14px;
        margin-bottom: 18px;
      }

      .hero h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 16px;
      }

      .hero p {
        font-size: 1.05rem;
        margin-bottom: 28px;
      }

      .cta-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
      }

      .btn {
        justify-content: center;
        padding: 14px 20px;
      }

      .section-title {
        margin-bottom: 32px;
      }

      .section-title h2 {
        font-size: clamp(1.4rem, 4vw, 1.75rem);
      }

      .section-title p {
        font-size: 1rem;
      }

      .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .feature-card {
        padding: 24px;
      }

      .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        margin-bottom: 16px;
      }

      .feature-card h3 {
        font-size: 1.1rem;
      }

      .feature-card p {
        font-size: 0.95rem;
      }

      .benefit-item {
        flex-direction: column;
        gap: 14px;
        padding: 20px;
        margin-bottom: 20px;
      }

      .benefit-num {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
      }

      .benefit-item h4 {
        font-size: 1.05rem;
      }

      .benefit-item p {
        font-size: 0.95rem;
      }

      .app-cta {
        padding: 60px 0 80px;
      }

      .app-cta h2 {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
        margin-bottom: 12px;
      }

      .app-cta p {
        margin-bottom: 24px;
        font-size: 0.98rem;
      }

      .stores {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
      }

      .store-btn {
        justify-content: center;
        padding: 14px 20px;
      }

      footer {
        padding: 32px 0 20px;
      }

      footer .logo {
        font-size: 1.15rem;
        margin-bottom: 12px;
      }

footer p {
        font-size: 0.85rem;
        margin-bottom: 14px;
      }

      .feature-icon-svg {
        width: 48px;
        height: 48px;
      }

      .feature-icon-svg svg {
        width: 24px;
        height: 24px;
      }
    }

    @media (max-width: 480px) {
      .container {
        padding: 0 16px;
      }

      .hero {
        padding: 90px 0 50px;
      }

      .hero h1 {
        font-size: 1.4rem;
      }

      .hero p {
        font-size: 1rem;
      }

      section {
        padding: 48px 0;
      }

      .benefits {
        padding: 48px 0;
      }

      .feature-card {
        padding: 20px;
      }

      .benefit-item {
        padding: 18px;
      }

      .app-cta {
        padding: 48px 0 60px;
      }
    }

    /* Планшеты и ноутбуки: шире контейнер, сетка фич */
    @media (min-width: 900px) {
      .container {
        max-width: 1140px;
        padding: 0 32px;
      }

      .hero {
        padding: 150px 0 110px;
      }

      .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
      }

      .benefits-list {
        max-width: 720px;
      }
    }

    @media (min-width: 1200px) {
      .container {
        max-width: 1200px;
      }

      .features-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .hero-inner-wide {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center;
        text-align: left;
      }

      .hero-inner-wide .hero-content {
        margin: 0;
      }

      .hero-inner-wide .hero-content h1,
      .hero-inner-wide .hero-content p {
        margin-left: 0;
        margin-right: 0;
      }

      .hero-inner-wide .cta-buttons {
        justify-content: flex-start;
      }
    }

    /* Страница подписки */
    .page-subscription .hero {
      padding-top: 120px;
      padding-bottom: 56px;
    }

    .page-subscription .hero h1 {
      max-width: 720px;
    }

    .subscription-lead {
      font-size: 1.15rem;
      color: var(--color-text-soft);
      max-width: 640px;
      margin: 0 auto 40px;
      text-align: center;
    }

    .pricing-section {
      padding: 40px 0 90px;
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 28px;
      align-items: stretch;
      max-width: 880px;
      margin: 0 auto;
    }

    .pricing-card {
      background: white;
      border-radius: var(--radius);
      padding: 32px 28px;
      box-shadow: var(--shadow-soft);
      border: 2px solid rgba(92, 64, 51, 0.08);
      display: flex;
      flex-direction: column;
      text-align: center;
    }

    .pricing-card.featured {
      border-color: var(--color-teal);
      position: relative;
      box-shadow: 0 12px 40px rgba(45, 106, 106, 0.15);
    }

    .pricing-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--color-gold);
      color: var(--color-brown);
      font-size: 0.75rem;
      font-weight: 700;
      padding: 6px 14px;
      border-radius: 50px;
    }

    .pricing-card h2 {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.35rem;
      color: var(--color-brown);
      margin-bottom: 8px;
    }

    .pricing-price {
      font-family: 'Montserrat', sans-serif;
      font-size: 2rem;
      font-weight: 700;
      color: var(--color-teal);
      margin-bottom: 8px;
    }

    .pricing-price span {
      font-size: 1rem;
      font-weight: 600;
      color: var(--color-text-soft);
    }

    .pricing-card ul {
      list-style: none;
      text-align: left;
      margin: 24px 0;
      flex: 1;
    }

    .pricing-card li {
      padding: 8px 0;
      padding-left: 28px;
      position: relative;
      color: var(--color-text-soft);
      font-size: 0.95rem;
    }

    .pricing-card li::before {
      content: '✓';
      position: absolute;
      left: 0;
      color: var(--color-teal);
      font-weight: 700;
    }

    .pricing-note {
      text-align: center;
      color: var(--color-text-soft);
      font-size: 0.95rem;
      max-width: 560px;
      margin: 40px auto 0;
    }

    nav a.nav-active {
      color: var(--color-teal);
    }

    .breadcrumb {
      font-size: 0.9rem;
      margin-bottom: 16px;
    }

    .breadcrumb a {
      color: var(--color-teal);
      text-decoration: none;
    }

    .breadcrumb a:hover {
      text-decoration: underline;
    }
