/* --- 3. Glassmorphism Utilities --- */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Strike-through Logic */
.strike-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin: 0 0.2em;
}

.strike-svg {
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    overflow: visible;
}

.strike-path {
    fill: none;
    stroke: var(--accent-red);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    filter: drop-shadow(0 0 3px rgba(239, 68, 68, 0.4));
}

.crossed .strike-path {
    stroke-dashoffset: 0;
}

.word-old {
    transition: all 0.4s ease;
    display: inline-block;
    color: var(--text-muted);
}

.crossed .word-old {
    color: var(--text-muted);
    transform: scale(0.95);
}

/* Correction Logic */
.correction-text {
    position: absolute;
    top: -1em;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg) scale(0.5);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    color: var(--accent-green);
    pointer-events: none;
    font-size: 1.2em;
    font-weight: bold;
    padding-right: 1rem;
}

.crossed .correction-text {
    opacity: 1;
    transform: translateX(-50%) rotate(-8deg) scale(1);
    top: -.8em;
}

.hero {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 1rem 3rem 1rem;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Text */
.hero-content {
    display: flex; flex-direction: column; gap: 2rem;
    text-align: left;
    animation: fadeInUp 0.8s ease-out forwards;
}

.badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    width: fit-content;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #4b5563;
}
.dot-container { position: relative; display: flex; width: 8px; height: 8px; }
.ping { position: absolute; width: 100%; height: 100%; border-radius: 50%; background: #fb923c; opacity: 0.75; animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #f97316; }

h1 {
    font-size: 2rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: #111827;
}
.text-gradient {
    background: linear-gradient(to right, #ea580c, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc { font-size: 1.15rem; color: #4b5563; max-width: 540px; font-weight: 500; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-glass-action {
    display: flex; align-items: center; gap: 0.5rem; justify-content: center;
    padding: 1rem 2rem;
    border-radius: 1rem;
    color: #374151; font-weight: 700;
    transition: 0.3s;
}
.btn-glass-action:hover { background: white; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.btn-glass-action svg { color: var(--primary-orange); }

.trust-badge {
    display: flex; align-items: center; gap: 1rem;
    font-size: 0.875rem; font-weight: 600; color: #6b7280;
    margin-top: 1rem;
}

/* --- 6. 3D Visuals --- */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex; align-items: center; justify-content: center;
    perspective: 2000px;
}

.back-glow {
    position: absolute;
/* width: 500px; height: 500px; */
    width: 100%; height: 100%;
    background: linear-gradient(to top right, #fed7aa, #bfdbfe);
    filter: blur(100px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
}

/* Elements inside Visual */
.card-main {
    position: absolute;
    width: 380px; padding: 1.5rem;
    border-radius: 1.5rem;
    z-index: 20;
    border-top: 4px solid rgba(255,255,255,0.8);
    animation: floatY 6s ease-in-out infinite;
}

.card-visa {
    position: absolute;
    top: 40px; left: 0;
    width: 260px; height: 160px;
    padding: 1.25rem;
    border-radius: 1rem;
    z-index: 10;
    transform: rotate(-15deg);
    opacity: 0.9;
    background: linear-gradient(145deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
    color: white;
    border: none;
    animation: floatY 5s ease-in-out infinite 1s;
}

.card-notif {
    position: absolute;
    bottom: 120px; right: 20px;
    width: 240px; padding: 1rem;
    border-radius: 1rem;
    z-index: 30;
    transform: rotate(10deg);
    background: rgba(255, 255, 255, 0.8);
    border-left: 4px solid var(--primary-orange);
    animation: floatY 4s ease-in-out infinite 2s;
}

/* Internal Card Styles */
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; }
.icon-box {
    width: 40px; height: 40px; border-radius: 10px;
    background: #ffedd5; color: var(--primary-orange);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0.5rem;
}
.status-pill {
    padding: 0.25rem 0.75rem; border-radius: 50px;
    font-size: 0.75rem; font-weight: 700;
    background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0;
}
.line { height: 8px; border-radius: 4px; background: #e5e7eb; margin-bottom: 0.5rem; }
.line.short { width: 60%; }

.stats-row {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.75rem; border-radius: 1rem;
    background: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.5);
    margin-bottom: 1rem; transition: 0.2s;
}
.stats-row:hover { background: rgba(255,255,255,0.6); }
.stats-icon {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: bold;
}
.bg-blue { background: #3b82f6; }
.bg-orange { background: #f97316; }

.visa-top { display: flex; justify-content: space-between; margin-bottom: 2rem; opacity: 0.8; }
.visa-chip { width: 40px; height: 30px; background: rgba(255,255,255,0.2); border-radius: 4px; }
.visa-dots { display: flex; gap: 0.5rem; }
.dot-w { width: 8px; height: 8px; background: rgba(255,255,255,0.5); border-radius: 50%; }

.notif-content { display: flex; gap: 0.75rem; align-items: flex-start; }
.notif-icon {
    min-width: 32px; height: 32px; border-radius: 50%;
    background: #ffedd5; color: #ea580c;
    display: flex; align-items: center; justify-content: center;
}

/* --- 7. Video Modal --- */
.video-modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
    display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
}
.video-modal-overlay.active { display: flex; opacity: 1; }

.video-modal-content {
    width: 90%; max-width: 900px; aspect-ratio: 16/9;
    padding: 0; overflow: hidden; position: relative;
    border-radius: 1.5rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    transform: scale(0.95); transition: transform 0.3s;
    background: black; border: 1px solid rgba(255,255,255,0.2);
}
.video-modal-overlay.active .video-modal-content { transform: scale(1); }

.close-video-btn {
    position: absolute; top: 1rem; right: 1rem; z-index: 10;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.2); color: white;
    display: flex; align-items: center; justify-content: center;
    transition: 0.2s; backdrop-filter: blur(4px);
}
.close-video-btn:hover { background: rgba(255,255,255,0.4); }
.video-wrapper { width: 100%; height: 100%; }

/* Animations */
@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes shimmer {
    0% { left: -50%; } 100% { left: 100%; }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50% { transform: translateY(-15px) rotate(var(--rot, 0deg)); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- 7. Responsiveness --- */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    .hero-visual { height: 500px; }
    .card-main { width: 320px; }
}

@media (max-width: 768px) {

    .hero { padding-top: 8rem; text-align: center; }
    .hero-container { grid-template-columns: 1fr; gap: 3rem; }

    .hero-content { align-items: center; }
    .badge { margin: 0 auto; }
    h1 { font-size: 1.5rem; }

    .hero-actions { justify-content: center; width: 100%; }
    .btn-orange, .btn-glass-action { width: 100%; justify-content: center; text-align: center; }

    .hero-visual { height: 400px; margin-top: 2rem; }
    .card-main { width: 280px; padding: 1rem; }
    .card-visa { width: 200px; height: 120px; top: 0; left: -20px; }
    .card-notif { width: 200px; bottom: 80px; right: -10px; }
}