/* ═══════════════════════════════════════════════
   tarella-notes.css — Styles specific to /tarella-notes
   frontendneeded.com
   ═══════════════════════════════════════════════ */


   @media (prefers-reduced-motion: reduce) {
    .phone-img {
      transition: none;
    }
  
    .nav-links a {
      transition: none;
    }
  }
  
  /* ── Restore light theme for this page ── */
  
  :root {
    --bg: #f7eff2;
    --ink: #1a1a1a;
    --accent: #c0687a;
    --tint: #e6d0d9;
    --muted: #6b5c62;
    --rule: rgba(26, 26, 26, 0.12);
  }
  
  /* ── Override dark-theme shared styles ── */
  
  .site-nav {
    background: var(--ink);
    border-image: none;
    border-bottom: none;
    box-shadow: none;
  }
  
  .nav-dropdown-menu {
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .gr-top {
    background: linear-gradient(to right, var(--tint), var(--bg) 45%);
    border-image: none;
    border-bottom: 1px solid var(--rule);
    box-shadow: none;
  }
  
  .gr-left {
    background: linear-gradient(to right, var(--bg) 45%, var(--tint));
    border-image: none;
    border-right: 1px solid var(--rule);
    box-shadow: none;
  }
  
  .gr-right {
    background: linear-gradient(to right, var(--bg) 45%, var(--tint));
  }
  
  .page-title {
    color: var(--ink);
    text-shadow: none;
  }
  
  h2.sub,
  h3.sub {
    color: var(--ink);
  }
  
  .gr-left h2.sub,
  .gr-left h3.sub {
    color: var(--ink);
  }
  
  .skip-link {
    background: var(--ink);
    color: #fff;
  }
  
  .accent-bar {
    box-shadow: none;
  }
  
  /* ── Mobile light-theme border fix ── */
  
  @media (max-width: 768px) {
    .gr-left {
      border-right: none;
      border-image: none;
      border-bottom: 1px solid var(--rule);
      box-shadow: none;
    }
  }
  
  /* ═══════════════════════════════════════════════
     Page-specific styles
     ═══════════════════════════════════════════════ */
  
  /* ── App showcase (gr-right) ── */
  
  .app-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }
  
  .app-card {
    position: relative;
    width: 55%;
  }
  
  .app-card-img {
    width: 100%;
    border-radius: 12px;
    display: block;
  }
  
  .app-store-link {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 40%;
  }
  
  .app-store-badge {
    width: 100%;
    display: block;
  }
  
  /* ── Phone mockup ── */
  
  .phone-mockup {
    position: absolute;
    right: 15%;
    bottom: 5%;
    height: 85%;
    aspect-ratio: 393 / 852;
    background: #111;
    border-radius: 44px;
    padding: 10px;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 28px 72px rgba(0, 0, 0, 0.28);
  }
  
  .phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 32%;
    height: 26px;
    background: #111;
    border-radius: 0 0 18px 18px;
    z-index: 2;
  }
  
  .phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    background: #000;
  }
  
  .phone-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }
  
  .phone-img.active {
    opacity: 1;
  }
  
  .phone-cycle-btn {
    position: absolute;
    right: -18px;
    bottom: 48px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
    transition: transform 0.18s, background 0.18s;
  }
  
  .phone-cycle-btn:hover {
    transform: scale(1.12);
    background: #d47f8f;
  }
  
  .phone-dot-row {
    position: absolute;
    right: -14px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
  }
  
  .phone-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(192, 104, 122, 0.3);
    transition: background 0.3s;
  }
  
  .phone-dot.active {
    background: var(--accent);
  }
  
  /* ═══════════════════════════════════════════════
     Responsive — mobile overrides
     ═══════════════════════════════════════════════ */
   
     @media (max-width: 768px) {
   
      /* ── Phone mockup: absolute → static, centered ── */
     
      .phone-mockup {
        position: relative;
        right: auto;
        bottom: auto;
        height: auto;
        width: 55%;
        max-width: 240px;
        margin: 24px auto 0;
        aspect-ratio: 393 / 852;
      }
     
      .phone-cycle-btn {
        right: -10px;
        bottom: 36px;
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
      }
     
      .phone-dot-row {
        right: -10px;
        bottom: 14px;
      }
     
      /* ── App showcase ── */
     
      .app-card {
        width: 70%;
      }
     
      .app-showcase {
        align-items: center;
      }
    }