/* ==========================================================
   ARlogs — Landing (theme v4: Wine Red & White)
   ========================================================== */

:root {
    --wine: #9D2235;
    --wine-dark: #6E1423;
    --wine-hover: #B92A40;
    --wine-soft: rgba(157, 34, 53, 0.08);
    --champagne: #D9A441;
    --bg: #FFFDFC;
    --tinted: #FBF4F2;
    --text: #33222A;
    --text-dim: #8A767D;
    --border: #F0E2E0;
    --white: #ffffff;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.mono { font-family: 'JetBrains Mono', monospace; }

/* ---------- BUTTONS ---------- */
.ar-btn-primary {
    background: var(--wine);
    color: #fff;
    border: 1px solid var(--wine);
    font-weight: 600;
    border-radius: 10px;
}
.ar-btn-primary:hover { background: var(--wine-hover); border-color: var(--wine-hover); color: #fff; }

.ar-btn-outline {
    background: transparent;
    color: var(--wine);
    border: 1px solid var(--wine);
    font-weight: 600;
    border-radius: 10px;
}
.ar-btn-outline:hover { background: var(--wine); color: #fff; }

/* ---------- NAVBAR ---------- */
.ar-navbar {
    background: rgba(255, 253, 252, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding-block: 14px;
}
.logo-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--wine);
    display: inline-block;
    margin-right: 10px;
    box-shadow: 0 0 0 4px var(--wine-soft);
}
.logo-text { font-weight: 900; font-size: 22px; color: var(--text); letter-spacing: -0.5px; }
.logo-text span { color: var(--wine); }
.ar-navbar .nav-link {
    color: var(--text-dim);
    font-weight: 500;
    font-size: 15px;
    margin-inline: 6px;
}
.ar-navbar .nav-link:hover, .ar-navbar .nav-link.active { color: var(--wine); }
.navbar-toggler { border-color: var(--border); }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { filter: invert(18%) sepia(40%) saturate(1200%) hue-rotate(310deg); }

/* ---------- HERO ---------- */
.hero-section {
    padding: 170px 0 110px;
    background:
        radial-gradient(700px 400px at 85% 10%, var(--wine-soft), transparent 65%),
        radial-gradient(500px 350px at 5% 90%, rgba(217, 164, 65, 0.10), transparent 60%),
        var(--bg);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wine-soft);
    border: 1px solid rgba(157, 34, 53, 0.25);
    color: var(--wine);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 9px 18px;
    border-radius: 100px;
    margin-bottom: 26px;
}
.hero-title {
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.08;
    margin-bottom: 24px;
}
.hero-title span {
    background: linear-gradient(90deg, var(--wine), var(--champagne));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dim);
    max-width: 520px;
    margin-bottom: 34px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-box h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 30px;
    font-weight: 700;
    color: var(--wine);
    margin-bottom: 2px;
}
.stat-box p { font-size: 13.5px; color: var(--text-dim); margin: 0; }

/* ---------- PHONE MOCKUP ---------- */
.phone-wrapper { display: flex; justify-content: center; position: relative; }
.phone-glow {
    position: absolute;
    inset: 8% 12%;
    background: radial-gradient(circle, rgba(157,34,53,0.22), transparent 65%);
    filter: blur(30px);
    z-index: 0;
}
.phone-frame {
    position: relative;
    z-index: 1;
    width: min(330px, 88vw);
    min-height: 600px;
    border-radius: 46px;
    border: 2px solid var(--border);
    background: linear-gradient(165deg, #fff, #FBF1EF);
    padding: 20px;
    box-shadow: 0 44px 100px rgba(157, 34, 53, 0.16);
}
.phone-notch {
    width: 112px; height: 22px;
    background: var(--bg);
    border-radius: 12px;
    margin: 0 auto 22px;
}
.chat-msg {
    max-width: 88%;
    padding: 13px 15px;
    border-radius: 15px;
    margin-bottom: 15px;
    font-size: 13.5px;
    line-height: 1.55;
}
.chat-in { background: #F4E7E5; border-bottom-left-radius: 5px; }
.chat-out {
    background: var(--wine);
    color: #fff;
    border-bottom-right-radius: 5px;
    margin-left: auto;
}
.chat-sender { color: var(--wine); font-weight: 700; }
.chat-out .chat-sender { color: #FFD9DE; }
.chat-sub { font-size: 12px; color: var(--text-dim); }
.chat-out .chat-sub { color: rgba(255,255,255,0.75); }
.otp-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 8px;
    color: #FFD9DE;
    margin: 8px 0 3px;
}
.chat-note { font-size: 11px; opacity: 0.85; }
.chat-meta { font-size: 11px; opacity: 0.7; text-align: right; margin-top: 5px; }

/* ---------- SECTIONS ---------- */
.section-tinted { background: var(--tinted); }

.section-badge {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--wine);
    background: var(--wine-soft);
    border: 1px solid rgba(157,34,53,0.2);
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -1px; }
.section-subtitle { color: var(--text-dim); font-size: 16.5px; max-width: 560px; margin: 12px auto 0; }

/* ---------- FEATURE CARDS ---------- */
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px 26px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(157,34,53,0.35);
    box-shadow: 0 18px 44px rgba(157,34,53,0.12);
}
.feature-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: var(--wine-soft);
    color: var(--wine);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}
.feature-card h4 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-dim); font-size: 14px; line-height: 1.7; margin: 0; }

/* ---------- STEP CARDS ---------- */
.step-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 14px;
    text-align: center;
    position: relative;
    transition: transform .2s, border-color .2s;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(157,34,53,0.4); }
.step-number {
    position: absolute;
    top: 12px; right: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--champagne);
}
.step-card i { font-size: 26px; color: var(--wine); margin-bottom: 12px; }
.step-card h6 { font-weight: 700; font-size: 14px; margin: 0; }

/* ---------- OFFER CARDS ---------- */
.offer-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 32px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.offer-card:hover {
    transform: translateY(-5px);
    border-color: rgba(157,34,53,0.35);
    box-shadow: 0 22px 50px rgba(157,34,53,0.12);
}
.offer-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.offer-card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.75; }
.offer-link { color: var(--wine); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.offer-link:hover { color: var(--wine-hover); }

.service-chip {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 9px;
}
.service-chip i { color: var(--wine); }

/* ---------- CTA ---------- */
.cta-section {
    background: linear-gradient(120deg, var(--wine-dark), var(--wine) 55%, #C43B54);
    color: #fff;
    padding: 90px 0;
}
.cta-section .lead { color: rgba(255,255,255,0.85); }
.section-badge-light {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

/* ---------- FOOTER ---------- */
.footer { background: #2A1017; color: rgba(255,255,255,0.75); padding: 70px 0 34px; }
.footer .logo-text { color: #fff; }
.footer-text { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.6); max-width: 320px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.btn-telegram {
    background: #229ED9; color: #fff; font-weight: 600; border-radius: 10px;
}
.btn-telegram:hover { background: #1B87BC; color: #fff; }
.footer-hr { border-color: rgba(255,255,255,0.12); }
.footer-bottom { font-size: 13.5px; color: rgba(255,255,255,0.45); text-align: center; }

/* ---------- BACK TO TOP ---------- */
.back-top {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--wine);
    color: #fff;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 10px 26px rgba(157,34,53,0.4);
    z-index: 200;
}
.back-top:hover { background: var(--wine-hover); }

/* ==========================================================
   RESPONSIVE — laptops & below (1199px)
   ========================================================== */
@media (max-width: 1199px) {
    .hero-section { padding: 150px 0 90px; }
}

/* ==========================================================
   RESPONSIVE — tablets (991px)
   ========================================================== */
@media (max-width: 991px) {
    .hero-section { padding: 130px 0 70px; text-align: center; }
    .hero-description { margin-inline: auto; }
    .hero-buttons, .hero-stats { justify-content: center; }
    .hero-stats { gap: 28px; }
    .phone-wrapper { margin-top: 10px; }
}

/* ==========================================================
   RESPONSIVE — small tablets (767px)
   ========================================================== */
@media (max-width: 767px) {
    .hero-title { letter-spacing: -1px; }
    .hero-stats { gap: 22px; }
    .stat-box h3 { font-size: 25px; }
    .cta-section { padding: 64px 0; }
}

/* ==========================================================
   RESPONSIVE — phones (480px)
   ========================================================== */
@media (max-width: 480px) {
    .hero-section { padding: 110px 0 52px; }
    .hero-badge { font-size: 11.5px; padding: 8px 14px; }
    .hero-buttons .btn { width: 100%; }
    .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; width: 100%; max-width: 320px; margin-inline: auto; text-align: center; }
    .phone-frame { min-height: 540px; }
    .otp-code { font-size: 25px; letter-spacing: 6px; }
    .ar-navbar .btn { padding: 8px 14px; font-size: 14px; }
}


/* ==========================================================
   NEW — Log delivery chat bubble
   ========================================================== */
.chat-log {
    background: linear-gradient(135deg, #2A1017, var(--wine-dark));
    color: #fff;
    border-bottom-right-radius: 5px;
    margin-left: auto;
    border: 1px solid rgba(217, 164, 65, 0.35);
}
.log-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--champagne);
    margin-bottom: 6px;
}
.log-title { font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.log-cred {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.07);
    border-radius: 7px;
    padding: 4px 9px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.log-cred i { color: var(--champagne); cursor: pointer; }
.log-note { color: var(--champagne); font-weight: 600; margin-top: 7px; }

/* ==========================================================
   NEW — Platform ticker
   ========================================================== */
.ticker-section {
    background: var(--wine-dark);
    overflow: hidden;
    padding: 15px 0;
    border-block: 1px solid rgba(255, 255, 255, 0.08);
}
.ticker-track {
    display: flex;
    width: max-content;
    animation: tickerScroll 32s linear infinite;
}
.ticker-section:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; }
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    padding-inline: 22px;
    position: relative;
}
.ticker-item i { color: var(--champagne); font-size: 15px; }
.ticker-item::after {
    content: "";
    position: absolute;
    right: -3px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ==========================================================
   NEW — How-it-works panels
   ========================================================== */
.how-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 30px 26px;
    transition: box-shadow .2s ease;
}
.how-panel:hover { box-shadow: 0 18px 44px rgba(157,34,53,0.10); }
.how-panel-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.how-panel-head h5 { font-weight: 800; font-size: 17px; }
.how-panel-head small { color: var(--text-dim); font-size: 12.5px; }
.how-panel-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--wine-soft);
    color: var(--wine);
    display: flex; align-items: center; justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
}
.how-panel-wine {
    background: linear-gradient(150deg, var(--wine-dark), var(--wine) 70%);
    border-color: transparent;
    color: #fff;
}
.how-panel-wine:hover { box-shadow: 0 22px 54px rgba(110, 20, 35, 0.35); }
.how-panel-wine .how-panel-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
.how-panel-wine .how-panel-head small { color: rgba(255,255,255,0.75); }
.log-steps { display: flex; flex-direction: column; gap: 18px; margin-bottom: 8px; }
.log-step { display: flex; gap: 15px; align-items: flex-start; }
.log-step-num {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--champagne);
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}
.log-step h6 { font-weight: 700; font-size: 14.5px; margin-bottom: 3px; }
.log-step p { font-size: 12.5px; color: rgba(255,255,255,0.75); margin: 0; line-height: 1.6; }
.ar-btn-light {
    background: #fff;
    color: var(--wine);
    font-weight: 700;
    border-radius: 10px;
}
.ar-btn-light:hover { background: var(--tinted); color: var(--wine-dark); }

/* ==========================================================
   NEW — Offer chips (logs card)
   ========================================================== */
.offer-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.offer-chips span {
    background: var(--wine-soft);
    border: 1px solid rgba(157,34,53,0.2);
    color: var(--wine);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 100px;
}

/* ==========================================================
   NEW — Logs shop section
   ========================================================== */
.logs-section {
    background:
        radial-gradient(600px 300px at 90% 0%, var(--wine-soft), transparent 60%),
        var(--bg);
}
.log-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}
.cat-chip {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 100px;
    transition: all .18s ease;
}
.cat-chip i { margin-right: 5px; }
.cat-chip:hover { border-color: rgba(157,34,53,0.4); color: var(--wine); }
.cat-chip.active {
    background: var(--wine);
    border-color: var(--wine);
    color: #fff;
    box-shadow: 0 8px 20px rgba(157,34,53,0.28);
}

.log-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.log-card:hover {
    transform: translateY(-5px);
    border-color: rgba(157,34,53,0.35);
    box-shadow: 0 18px 40px rgba(157,34,53,0.13);
}
.log-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}
.log-icon {
    width: 46px; height: 46px;
    border-radius: 13px;
    background: var(--wine-soft);
    color: var(--wine);
    display: flex; align-items: center; justify-content: center;
    font-size: 21px;
}
.log-stock {
    font-size: 11.5px;
    font-weight: 700;
    color: #1E8E4F;
    background: rgba(30, 142, 79, 0.10);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
}
.log-stock.low { color: #C77700; background: rgba(217, 164, 65, 0.15); }
.log-name { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.log-meta {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 15px;
    line-height: 1.5;
}
.log-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed var(--border);
    padding-top: 13px;
}
.log-price { font-weight: 700; font-size: 16px; color: var(--wine); }
.log-link {
    color: var(--wine);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .18s ease;
}
.log-link:hover { color: var(--wine-hover); gap: 8px; }

.logs-note {
    color: var(--text-dim);
    font-size: 14px;
}
.logs-note i { color: var(--champagne); }
.btn-telegram-lg {
    background: #229ED9;
    color: #fff;
    font-weight: 700;
    border-radius: 12px;
    padding: 12px 30px;
}
.btn-telegram-lg:hover { background: #1B87BC; color: #fff; }

/* ==========================================================
   NEW — Responsive additions
   ========================================================== */
@media (max-width: 991px) {
    .log-filter-bar { gap: 8px; }
    .cat-chip { font-size: 12.5px; padding: 8px 15px; }
}
@media (max-width: 480px) {
    .how-panel { padding: 22px 16px; }
    .log-card { padding: 15px; }
    .log-icon { width: 40px; height: 40px; font-size: 18px; }
    .log-price { font-size: 14px; }
    .ticker-item { font-size: 12.5px; padding-inline: 14px; }
}