/* =========================================================
   BOSH SAHIFA (home.css) — index.html ga xos bo'limlar
   theme.css ustiga ulanadi.
   ========================================================= */

/* ===== HERO ===== */
.hero { padding: 150px 0 80px; position: relative; }
.hero-inner { position: relative; text-align: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.05; font-weight: 800; letter-spacing: -1.5px; margin: 22px auto 18px; max-width: 900px; }
.hero p { font-size: clamp(1rem, 1.5vw, 1.22rem); color: var(--gray); max-width: 600px; margin: 0 auto 32px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-visual { position: relative; max-width: 600px; margin: 54px auto 0; }
.hero-window { position: relative; border-radius: 24px; padding: 12px; box-shadow: 0 40px 90px -30px rgba(6,78,59,0.45), inset 0 1px 0 rgba(255,255,255,0.6); }
.window-bar { display: flex; gap: 8px; padding: 4px 6px 14px; }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(6,78,59,0.18); }
.window-bar span:first-child { background: var(--primary); }
.hero-window img { width: 100%; border-radius: 14px; display: block; }

.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; font-weight: 700; font-size: 14px; color: var(--ink); z-index: 5; animation: floatChip 5s ease-in-out infinite; }
.chip i { color: var(--primary); font-size: 18px; }
.chip b { color: var(--primary-deep); }
.chip-1 { top: 10%; left: -9%; }
.chip-2 { top: 46%; right: -10%; animation-delay: 1.2s; }
.chip-3 { bottom: 4%; left: -2%; animation-delay: 0.6s; }
@keyframes floatChip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== STATS strip ===== */
.stats-strip { margin-top: 70px; border-radius: var(--radius); padding: 30px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat h3 { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.stat p { color: var(--gray); font-size: 0.92rem; margin-top: 6px; }
.stat + .stat { border-left: 1px solid rgba(6,78,59,0.10); }

/* ===== PARTNERS marquee ===== */
.partners { padding: 70px 0 30px; }
.partners-title { text-align: center; color: var(--gray); font-weight: 600; margin-bottom: 24px; }
.marquee { border-radius: 50px; padding: 18px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: inline-flex; align-items: center; animation: scroll 32s linear infinite; }
.marquee-track img { height: 56px; margin: 0 24px; object-fit: contain; transition: 0.3s; }
.marquee-track img:hover { transform: scale(1.12); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== BENTO FEATURES ===== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 186px; gap: 18px; }
.tile { border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; transition: 0.35s; display: flex; flex-direction: column; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(6,78,59,0.40), inset 0 1px 0 rgba(255,255,255,0.6); }
.tile .t-icon { width: 56px; height: 56px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; background: linear-gradient(135deg, #10b981, #047857); box-shadow: var(--glow); margin-bottom: auto; }
.tile .t-icon img { width: 30px; height: 30px; object-fit: contain; filter: brightness(0) invert(1); }
.tile h3 { font-size: 1.2rem; margin: 18px 0 6px; font-weight: 700; }
.tile p { color: var(--gray); font-size: 0.93rem; }
.b1 { grid-column: span 3; grid-row: span 2; }
.b2 { grid-column: span 3; }
.b3 { grid-column: span 3; }
.b4 { grid-column: span 2; }
.b5 { grid-column: span 2; }
.b6 { grid-column: span 2; }
.b1 h3 { font-size: 1.7rem; }
.b1 p { font-size: 1rem; max-width: 420px; }
.b1 .t-icon { background: linear-gradient(135deg, #10b981, #047857); margin-bottom: 16px; }
.b1-img { margin-top: auto; align-self: center; width: 72%; max-width: 280px; opacity: 0.95; pointer-events: none; }

/* ===== PROCESS ===== */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-card { border-radius: var(--radius); padding: 36px 28px; transition: 0.35s; }
.p-card:hover { transform: translateY(-8px); }
.p-num { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #10b981, #047857); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; box-shadow: var(--glow); margin-bottom: 20px; }
.p-card h3 { font-weight: 700; margin-bottom: 10px; font-size: 1.2rem; }
.p-card > p { color: var(--gray); margin-bottom: 16px; font-size: 0.95rem; }
.p-list li { display: flex; gap: 9px; align-items: center; color: var(--gray); font-size: 0.9rem; margin-bottom: 8px; }
.p-list li i { color: var(--primary); }

/* ===== COMPARISON ===== */
.compare { border-radius: var(--radius); padding: 14px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid rgba(6,78,59,0.08); }
.compare th { font-weight: 800; font-size: 1.05rem; }
.compare th.good { color: var(--primary-deep); text-align: center; background: rgba(16,185,129,0.12); border-radius: 12px 12px 0 0; }
.compare th.bad { color: var(--gray); text-align: center; }
.compare td:first-child { font-weight: 600; }
.compare td:nth-child(2), .compare td:nth-child(3) { text-align: center; }
.ok { color: var(--primary-dark); }
.no { color: #ef4444; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; align-items: stretch; }
.price-card { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: 0.35s; }
.price-card:hover { transform: translateY(-8px); }
.price-card.featured { border: 1.5px solid rgba(16,185,129,0.5); box-shadow: 0 30px 70px -25px rgba(16,185,129,0.55), inset 0 1px 0 rgba(255,255,255,0.7); }
.price-tag { background: linear-gradient(135deg, #10b981, #047857); color: #fff; text-align: center; padding: 9px; font-weight: 700; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; }
.price-body { padding: 38px 32px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
.price-body h3 { font-weight: 700; margin-bottom: 8px; }
.price { font-size: 2.2rem; font-weight: 800; color: var(--primary-deep); margin: 12px 0 18px; }
.price span { font-size: 0.95rem; color: var(--gray); font-weight: 500; }
.feat-list { margin: 6px 0 26px; }
.feat-list li { display: flex; gap: 10px; align-items: start; color: var(--gray); margin-bottom: 11px; font-size: 0.95rem; }
.feat-list li i { color: var(--primary); margin-top: 5px; }

/* ===== TESTIMONIALS ===== */
.tst-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.tst-card { border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; transition: 0.35s; }
.tst-card:hover { transform: translateY(-6px); }
.tst-q { font-size: 1.8rem; color: var(--primary); opacity: 0.4; margin-bottom: 14px; }
.tst-text { font-style: italic; color: #3f534c; margin-bottom: 22px; }
.tst-who { display: flex; align-items: center; gap: 13px; }
.tst-who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.tst-who h4 { font-size: 0.98rem; font-weight: 700; }
.tst-who span { font-size: 0.82rem; color: var(--primary-dark); font-weight: 600; }

/* ===== TEAM (glass grid, dublikatsiz) ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.team-card { border-radius: var(--radius); padding: 28px 20px; text-align: center; transition: 0.35s; }
.team-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px -25px rgba(6,78,59,0.45), inset 0 1px 0 rgba(255,255,255,0.6); }
/* Jamoa rasmlari: yuklab olishni cheklash (o'ng tugma, drag, mobil uzoq bosish) */
.team-card img { width: 110px; height: 110px; border-radius: 22px; object-fit: cover; object-position: top center; border: 4px solid rgba(255,255,255,0.8); box-shadow: var(--glow); margin: 0 auto 16px; display: block; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none; pointer-events: none; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role { color: var(--primary-dark); font-weight: 600; font-size: 0.85rem; display: block; margin-bottom: 14px; }
.team-soc { display: flex; justify-content: center; gap: 10px; }
.team-soc a { width: 34px; height: 34px; border-radius: 50%; background: rgba(16,185,129,0.12); color: var(--primary-deep); display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.team-soc a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ===== FAQ ===== */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border-radius: 16px; margin-bottom: 14px; overflow: hidden; transition: 0.3s; }
.faq-q { padding: 20px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; user-select: none; }
.faq-q:hover { color: var(--primary-dark); }
.faq-q i { transition: 0.3s; color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; padding: 0 24px; color: var(--gray); opacity: 0; transition: all 0.4s ease; font-size: 0.95rem; }
.faq-item.active .faq-a { max-height: 320px; opacity: 1; padding-bottom: 22px; }
.faq-item.active .faq-q { color: var(--primary-dark); }
.faq-item.active .faq-q i { transform: rotate(180deg); }

/* ===== CONTACT ===== */
.contact-box { border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.contact-info h2 { font-weight: 800; margin-bottom: 12px; }
.contact-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.contact-row i { width: 42px; height: 42px; border-radius: 12px; background: rgba(16,185,129,0.12); color: var(--primary-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ===== CTA ===== */
.cta { position: relative; border-radius: 30px; padding: 60px; text-align: center; color: #fff; overflow: hidden; background: linear-gradient(135deg, #10b981 0%, #047857 55%, #064e3b 100%); box-shadow: 0 40px 90px -30px rgba(16,185,129,0.7); }
.cta::before, .cta::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.10); }
.cta::before { width: 320px; height: 320px; top: -120px; right: -80px; }
.cta::after { width: 220px; height: 220px; bottom: -100px; left: -60px; }
.cta h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 14px; position: relative; }
.cta p { font-size: 1.05rem; opacity: 0.95; max-width: 640px; margin: 0 auto 28px; position: relative; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
    .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
    .tile { grid-column: span 1 !important; grid-row: auto !important; min-height: 210px; }
    .b1-img { width: 55%; max-width: 200px; opacity: 0.8; }
    .process-grid { grid-template-columns: 1fr; }
    .contact-box { grid-template-columns: 1fr; padding: 36px 26px; }
    .chip { display: none; }
}
@media (max-width: 620px) {
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .stat + .stat:nth-child(odd) { border-left: none; }
    .bento { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; max-width: 300px; }
    .cta { padding: 44px 24px; }
}
