/* ================================================================
   HOME PAGE — PREMIUM STYLES
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
    --primary:       #2f62d0;
    --primary-light: #4f80e8;
    --primary-dark:  #1a3578; /* Added missing dark color */
    --primary-glow:  rgba(47, 98, 208, 0.18);
    --accent:        #0798f8;
    --accent-glow:   rgba(7, 152, 248, 0.2);
    --text-main:     #0f172a;
    --text-muted:    #64748b;
    --border-soft:   #e2e8f0;
    --bg-section:    #f8fafc;
    --glass-bg:      rgba(255, 255, 255, 0.7);
    --glass-border:  rgba(255, 255, 255, 0.9);

    /* Premium shadows */
    --shadow-card:   0 4px 24px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
    --shadow-lifted: 0 20px 60px rgba(47, 98, 208, 0.14), 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-glow:   0 0 40px rgba(47, 98, 208, 0.2);
}

/* ================================================================
   GLOBAL PAGE BACKGROUND — subtle mesh textu (Fixed unclosed comment here)
   ================================================================ */

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  max-height: 80vh;
  min-width: 100vw;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3578 50%, #0d1b3e 100%);
    position: relative;
    overflow: hidden;
      justify-content: center;
}

.hero > div {
    position: relative;
    z-index: 1;
}

.hero-image {
    position: relative;
    animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroReveal {
    from { opacity: 0; transform: translateY(32px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.hero-image img {
    width: 100vw;
    height: 80vh;
    box-shadow: 0 30px 80px rgba(47, 98, 208, 0.18), 0 4px 16px rgba(15, 23, 42, 0.08);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    display:block;
}

/* ================================================================
   FEATURE SHOWCASE (VIDEO)
   ================================================================ */
.feature-showcase {
    background: linear-gradient(180deg, #f0f5ff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.feature-showcase::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.feature-video {
    position: relative;
}

.feature-video::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(47,98,208,0.12), rgba(7,152,248,0.08));
    filter: blur(20px);
    z-index: 0;
}

.feature-video video {
    position: relative;
    z-index: 1;
    max-width: 85%;
    margin: 0 auto;
    display: block;
    border-radius: 18px;
    box-shadow:
        0 40px 80px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.6),
        inset 0 0 0 1px rgba(47, 98, 208, 0.08);
}

/* ================================================================
   ABOUT VISION
   ================================================================ */
.about-vision {
    background: #ffffff;
    padding: 4rem 0;
    position: relative;
}

.about-vision::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(47,98,208,0.035), transparent);
    pointer-events: none;
}

.vision-card {
    margin: 0 auto;
    text-align: center;
    padding: 3rem 3.5rem;
    border-radius: 24px;
    background: linear-gradient(160deg, #ffffff 0%, #f5f9ff 100%);
    border: 1px solid rgba(47, 98, 208, 0.14);
    box-shadow: 0 8px 40px rgba(47, 98, 208, 0.08), 0 1px 0 rgba(255,255,255,0.9) inset;
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 2px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.vision-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--text-main) 40%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vision-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.8;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================================
   USE CASES
   ================================================================ */
.use-cases {
    padding: 4rem 0;
    background: linear-gradient(180deg,  var(--primary) 0%, var(--primary-dark));
    position: relative;
}

.use-cases .section-title {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    position: relative;
}

.use-cases .section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 0.75rem auto 0;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.use-case-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}

.use-case-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(47,98,208,0.06), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: translateX(-50%);
    border-radius: 0 0 2px 2px;
    transition: width 0.4s cubic-bezier(0.22,1,0.36,1);
}

.use-case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lifted);
    border-color: rgba(47, 98, 208, 0.2);
}

.use-case-card:hover::before { width: 70%; }
.use-case-card:hover::after  { opacity: 1; }

.use-case-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-family: 'Sora', sans-serif;
    transition: color 0.3s ease;
}

.use-case-card:hover h3 { color: var(--primary); }

.use-case-card ul {
    list-style: none;
    padding: 0; margin: 0;
    opacity: 0.75;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.use-case-card:hover ul {
    opacity: 1;
    transform: translateY(0);
}

.use-case-card li {
    font-size: 0.9rem;
    padding: 0.3rem 0;
    line-height: 1.5;
}

@media (max-width: 1024px) { .use-case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .use-case-grid { grid-template-columns: 1fr; } }

/* ================================================================
   PRODUCT VISION (ZIG-ZAG SHOWCASE)
   ================================================================ */
.product-vision {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.product-vision::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(7,152,248,0.07) 0%, transparent 70%);
    bottom: -150px; left: -150px;
    pointer-events: none;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.vision-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    padding: 0.3rem 0.85rem;
    background: rgba(47, 98, 208, 0.08);
    border-radius: 999px;
    border: 1px solid rgba(47, 98, 208, 0.18);
}

.vision-label::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.5); opacity: 0.6; }
}

.vision-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.vision-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.vision-image {
    position: relative;
}

.vision-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lifted);
    position: relative;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s ease;
}

.vision-image img:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 40px 100px rgba(47, 98, 208, 0.2);
}

.image-decoration {
    position: absolute;
    width: 300px; height: 300px;
    background: linear-gradient(135deg, rgba(47,98,208,0.12) 0%, rgba(7,152,248,0.08) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    top: -40px; right: -40px;
    z-index: 1;
    animation: blobMorph 8s ease-in-out infinite alternate;
}

@keyframes blobMorph {
    from { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg); }
    to   { border-radius: 70% 30% 40% 60% / 60% 40% 50% 40%; transform: rotate(15deg); }
}

.image-decoration::after {
    content: '';
    position: absolute;
    bottom: -30px; left: -30px;
    width: 120px; height: 120px;
    background-image: radial-gradient(circle, rgba(47,98,208,0.25) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    border-radius: 50%;
    opacity: 0.7;
}

@media (max-width: 900px) {
    .vision-grid { grid-template-columns: 1fr; gap: 40px; }
    .image-decoration { width: 200px; height: 200px; top: -20px; right: -20px; }
}

/* ================================================================
   BENEFITS + LONG TERM
   ================================================================ */
.benefits-longterm {
    background: linear-gradient(180deg, #f0f5ff 0%, #f8fafc 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.benefits-longterm::before {
    content: '';
    position: absolute;
    top: 0; left: 5%; right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(47,98,208,0.2), transparent);
}

.bl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.bl-card {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease;
    box-shadow: var(--shadow-card);
}

.bl-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(47,98,208,0.15), transparent);
    transition: background 0.4s ease;
}

.bl-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lifted);
}

.bl-card:hover::before {
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.bl-card.highlight {
    background: linear-gradient(145deg, #1e3a7a 0%, #2f62d0 50%, #1a56b8 100%);
    border-color: transparent;
    color: #ffffff;
}

.bl-card.highlight::before {
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.4), rgba(255,255,255,0.1));
}

.bl-card.highlight:hover {
    box-shadow: 0 24px 64px rgba(47, 98, 208, 0.35), 0 0 0 1px rgba(255,255,255,0.1);
}

.bl-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    font-family: 'Sora', sans-serif;
}

.bl-card.highlight h2 { color: #ffffff; }

.bl-card ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.bl-card li {
    margin-bottom: 0.7rem;
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.6;
    padding-left: 1.4rem;
    position: relative;
}

.bl-card li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.6rem;
    top: 0.35em;
}

.bl-card.highlight li { color: rgba(255,255,255,0.82); }
.bl-card.highlight li::before { color: rgba(255,255,255,0.6); }

@media (max-width: 900px) { .bl-grid { grid-template-columns: 1fr; } }

/* ================================================================
   REVIEWS
   ================================================================ */
.reviews {
    background: #ffffff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.reviews::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(47,98,208,0.05) 0%, transparent 70%);
    top: -100px; right: -100px;
    pointer-events: none;
}

.reviews .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-family: 'Sora', sans-serif;
}

.reviews .section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 0.75rem auto 2.5rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 2rem;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: var(--shadow-card);
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: -10px; right: 20px;
    font-size: 7rem;
    line-height: 1;
    color: rgba(47, 98, 208, 0.07);
    font-family: 'Sora', sans-serif;
    pointer-events: none;
    user-select: none;
}

.review-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lifted);
    border-color: rgba(47, 98, 208, 0.18);
}

.review-card:hover::after { transform: scaleX(1); }

.review-text {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
}

.review-user img {
    width: 46px; height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(47, 98, 208, 0.18);
    box-shadow: 0 0 0 3px rgba(47, 98, 208, 0.06);
}

.review-user strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: 'Sora', sans-serif;
}

.review-user span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ================================================================
   SCROLL-REVEAL ANIMATIONS
   ================================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================================
   MISC
   ================================================================ */
.section-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section {
    padding: 4rem 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.72rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Sora', sans-serif;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(47, 98, 208, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.45s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(47, 98, 208, 0.4);
}

.btn-primary:hover::before { left: 100%; }

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 10px;
    padding: 0.72rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Sora', sans-serif;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 98, 208, 0.25);
}