/* ============================================================
 Youna Global - Homepage Styles
 Clean, modern, no gimmicks. Only homepage-specific overrides.
 ============================================================ */

/* ---- HERO: warehouse photo background with dark overlay ---- */
.hero {
 background: 
 linear-gradient(rgba(2,11,46,0.78), rgba(10,21,112,0.72)),
 url('02.webp') center/cover no-repeat;
}
/* Keep fallback gradient via original .hero background (already dark gradient in style.css) */
/* Subtle inner light effect - cleaner than before */
.hero::before {
 background: 
 radial-gradient(ellipse 80% 70% at 30% 50%, rgba(0,87,255,0.12), transparent),
 radial-gradient(ellipse 50% 80% at 80% 30%, rgba(124,58,237,0.08), transparent);
}

/* ---- SERVICES GRID: 2x2 for 4 cards ---- */
.services-grid {
 grid-template-columns: repeat(2, 1fr);
}

/* ---- SERVICE CARDS: clean hover with refined spacing ---- */
.service-card {
 border-radius: 16px;
 padding: 40px 32px;
 transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
 transform: translateY(-3px);
 box-shadow: 0 8px 32px rgba(0,0,0,0.07);
 border-color: var(--primary);
}
.service-card.featured {
 border-color: var(--primary);
 background: linear-gradient(135deg, #f0f4ff 0%, #fff 100%);
}

/* Larger icon container */
.service-card .service-icon {
 width: 60px;
 height: 60px;
 border-radius: 16px;
}
.service-card .service-icon svg {
 width: 28px;
 height: 28px;
 display: block;
}

/* Why bullets inside service cards */
.why-bullets {
 list-style: none;
 padding: 0;
 margin: 16px 0 0;
}
.why-bullets li {
 display: flex;
 align-items: center;
 gap: 8px;
 font-size: 0.88rem;
 color: var(--muted);
 padding: 4px 0;
}
.why-bullets li i {
 color: var(--primary);
 font-size: 0.82rem;
}

/* ---- CASE STUDY: number card alignment ---- */
.case-numbers {
 align-items: stretch;
}
.case-num-card {
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 min-height: 82px;
}
.case-num-label {
 white-space: nowrap;
}
/* ---- CASE STUDY: comparison bar ---- */
.case-comp-bar {
 display: flex;
 gap: 12px;
 margin-bottom: 16px;
}
.comp-item {
 flex: 1;
 padding: 14px 16px;
 border-radius: var(--radius);
 text-align: center;
}
.comp-item.local {
 background: #fff5f5;
 border: 1.5px solid #fca5a5;
}
.comp-item.our {
 background: #f0fdf4;
 border: 1.5px solid #86efac;
}
.comp-label {
 display: block;
 font-size: 0.75rem;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.04em;
 margin-bottom: 6px;
}
.comp-item.local .comp-label {
 color: #dc2626;
}
.comp-item.our .comp-label {
 color: #166534;
}
.comp-val {
 display: block;
 font-size: 1.6rem;
 font-weight: 800;
 color: var(--dark);
}
.comp-item.our .comp-val {
 color: var(--primary);
}

/* ---- SOCIAL PROOF CARDS: 2x2 high-visual grid ---- */
.social-cards {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 20px;
 max-width: 820px;
 margin: 0 auto;
}
.social-card {
 display: flex;
 align-items: flex-start;
 gap: 20px;
 background: #fff;
 border: 1px solid var(--border);
 border-radius: var(--radius-lg);
 padding: 28px;
 text-decoration: none;
 position: relative;
 overflow: hidden;
 transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.social-card:hover {
 transform: translateY(-4px);
}
/* Brand-color top accent strip */
.sc-accent {
 position: absolute;
 top: 0; left: 0; right: 0;
 height: 5px;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.yt-card .sc-accent { background: linear-gradient(90deg, #FF0000, #CC0000); }
.yt-card:hover   { box-shadow: 0 6px 24px rgba(255,0,0,0.12); }
.fb-card .sc-accent { background: linear-gradient(90deg, #1877F2, #0D5FC4); }
.fb-card:hover   { box-shadow: 0 6px 24px rgba(24,119,242,0.12); }
.ig-card .sc-accent { background: linear-gradient(90deg, #F58529, #DD2A7B); }
.ig-card:hover   { box-shadow: 0 6px 24px rgba(221,42,123,0.12); }
.tk-card .sc-accent { background: linear-gradient(90deg, #000, #333); }
.tk-card:hover   { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }

/* Icon circle */
.sc-icon-wrap {
 flex-shrink: 0;
 width: 56px; height: 56px;
 border-radius: 16px;
 display: flex;
 align-items: center;
 justify-content: center;
 color: #fff;
}
.sc-icon-wrap svg {
 width: 28px;
 height: 28px;
 display: block;
}
.yt-card .sc-icon-wrap { background: #FF0000; }
.fb-card .sc-icon-wrap { background: #1877F2; }
.ig-card .sc-icon-wrap { background: linear-gradient(135deg, #F58529, #DD2A7B); }
.tk-card .sc-icon-wrap { background: #000; }

/* Content */
.sc-name {
 font-size: 1.05rem;
 font-weight: 700;
 color: var(--dark);
 margin: 0 0 6px;
}
.sc-desc {
 font-size: 0.85rem;
 color: var(--muted);
 line-height: 1.55;
 margin: 0 0 10px;
}
.sc-cta {
 display: inline-block;
 font-size: 0.85rem;
 font-weight: 700;
 transition: color 0.2s;
}
.yt-card .sc-cta { color: #CC0000; }
.fb-card .sc-cta { color: #1877F2; }
.ig-card .sc-cta { color: #C13584; }
.tk-card .sc-cta { color: #333; }

.social-card:hover .sc-cta { text-decoration: underline; }

/* ---- Hide old pill row on homepage ---- */
.social-row { display: none; }

/* Prevent mobile flex:1 cascade from style.css breaking icon layout */
.social-card .sc-icon-wrap { flex: none !important; }
.social-card .sc-content { flex: 1; min-width: 0; }

/* ---- SOCIAL PILLS: clean with platform colors ---- */
/* (hidden - replaced by social cards above) */

/* ---- HOW IT WORKS: horizontal process timeline ---- */
.process-flow {
 position: relative;
 padding: 40px 0 20px;
}
.flow-steps {
 display: flex;
 justify-content: center;
 gap: 0;
 position: relative;
}
/* Horizontal connecting line behind the dots */
.flow-steps::before {
 content: '';
 position: absolute;
 top: 28px;
 left: calc(50% - 42%);
 right: calc(50% - 42%);
 height: 3px;
 background: linear-gradient(90deg, var(--primary), #7C3AED);
 border-radius: 2px;
 z-index: 0;
}
.flow-step {
 flex: 1;
 max-width: 220px;
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
 position: relative;
 z-index: 1;
 padding: 0 12px;
}
.flow-dot {
 width: 56px;
 height: 56px;
 border-radius: 50%;
 background: #fff;
 border: 3px solid var(--primary);
 display: flex;
 align-items: center;
 justify-content: center;
 position: relative;
 margin-bottom: 20px;
 box-shadow: 0 0 0 6px #fff;
 transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.flow-step:nth-child(1) .flow-dot { border-color: #0057FF; }
.flow-step:nth-child(2) .flow-dot { border-color: #3B82F6; }
.flow-step:nth-child(3) .flow-dot { border-color: #6366F1; }
.flow-step:nth-child(4) .flow-dot { border-color: #7C3AED; }
.flow-step:hover .flow-dot {
 transform: scale(1.08);
 box-shadow: 0 0 0 6px #fff, 0 4px 16px rgba(0,87,255,0.18);
}
.flow-dot svg {
 width: 24px;
 height: 24px;
 stroke: currentColor;
}
.flow-step:nth-child(1) .flow-dot { color: #0057FF; }
.flow-step:nth-child(2) .flow-dot { color: #3B82F6; }
.flow-step:nth-child(3) .flow-dot { color: #6366F1; }
.flow-step:nth-child(4) .flow-dot { color: #7C3AED; }
.flow-num {
 position: absolute;
 top: -8px;
 right: -8px;
 width: 22px;
 height: 22px;
 border-radius: 50%;
 background: var(--primary);
 color: #fff;
 font-size: 0.7rem;
 font-weight: 700;
 display: flex;
 align-items: center;
 justify-content: center;
 line-height: 1;
}
.flow-body h3 {
 font-size: 1rem;
 font-weight: 700;
 color: var(--dark);
 margin-bottom: 8px;
}
.flow-body p {
 font-size: 0.85rem;
 color: var(--muted);
 line-height: 1.55;
}

/* ---- Hide old step/arrow classes (still in HTML for now) ---- */
.step { display: none; }
.step-arrow { display: none; }

/* ---- BLOG CARDS: clean card style ---- */
.blog-grid .blog-card {
 border: 1px solid var(--border);
 border-radius: var(--radius-lg);
 overflow: hidden;
 transition: transform 0.2s ease, box-shadow 0.2s ease;
 background: #fff;
 display: flex;
 flex-direction: column;
 text-decoration: none;
 color: inherit;
 cursor: pointer;
}
.blog-grid .blog-card:hover {
 transform: translateY(-3px);
 box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
/* Taller thumbnail with gradient overlay for visual punch */
.blog-grid .blog-thumb {
 height: 200px;
 margin-bottom: 0;
 border-radius: 0;
 position: relative;
}
/* Subtle dark gradient at bottom of thumb so text overlay pops */
.blog-grid .blog-thumb::after {
 content: '';
 position: absolute;
 bottom: 0; left: 0; right: 0;
 height: 60px;
 background: linear-gradient(transparent, rgba(0,0,0,0.35));
 pointer-events: none;
}
/* Card body - vertical flex to push CTA to bottom */
.blog-grid .blog-body {
 display: flex;
 flex-direction: column;
 flex: 1;
 padding: 18px 22px 22px;
}
.blog-grid .blog-meta {
 display: flex;
 align-items: center;
 gap: 10px;
 margin-bottom: 10px;
}
.blog-grid .blog-cat {
 font-size: 0.72rem;
 padding: 3px 10px;
}
.blog-grid .blog-date {
 font-size: 0.78rem;
 color: #999;
}
.blog-grid .blog-title {
 font-size: 1.08rem;
 font-weight: 700;
 line-height: 1.4;
 margin: 0 0 8px;
 color: var(--dark);
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
}
.blog-grid .blog-excerpt {
 font-size: 0.85rem;
 color: var(--muted);
 line-height: 1.55;
 margin: 0 0 14px;
 flex: 1;
 display: -webkit-box;
 -webkit-line-clamp: 3;
 -webkit-box-orient: vertical;
 overflow: hidden;
}
.blog-grid .blog-read {
 display: inline-block;
 margin-top: auto;
 font-size: 0.85rem;
 font-weight: 600;
 color: var(--primary);
}
.blog-grid .blog-read:hover { text-decoration: underline; }

/* ---- CTA SECTION: subtle gradient ---- */
.cta-section {
 background: linear-gradient(135deg, #0057FF, #003FCC);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
 .social-cards {
 grid-template-columns: 1fr;
 max-width: 400px;
 }
 .flow-steps {
 flex-direction: column;
 align-items: flex-start;
 gap: 0;
 padding-left: 32px;
 }
 .flow-steps::before {
 top: 0;
 bottom: 0;
 left: 28px;
 right: auto;
 width: 3px;
 height: auto;
 }
 .flow-step {
 flex-direction: row;
 align-items: flex-start;
 text-align: left;
 max-width: 100%;
 padding: 0 0 32px 0;
 gap: 20px;
 }
 .flow-step:last-child { padding-bottom: 0; }
 .flow-dot {
 flex-shrink: 0;
 margin-bottom: 0;
 }
 .flow-body {
 padding-top: 12px;
 }
}
@media (max-width: 640px) {
 .services-grid {
 grid-template-columns: 1fr;
 }
 .case-comp-bar {
 flex-direction: column;
 }
 .hero-actions {
 flex-direction: column;
 }
}
