/* ============================================================
   GHV SIURET — Main Stylesheet
   Design System · Animations · Components
   ============================================================ */

/* ── Base Typography ──────────────────────────────────────── */
body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── Design Tokens (CSS Variables) ────────────────────────── */
:root {
    --gx-1: 6%;
    --gx-2: 28%;
    --gx-3: 62%;
    --gx-4: 94%;
    --gy-1: 100px;
    --gy-2: 62vh;
    --gy-3: 94vh;
    --grid-color: rgba(0, 0, 0, 0.04);
    --beam-color: #0d9488; /* Teal 600 */
}

/* ── Grid System ──────────────────────────────────────────── */
.grid-line-v {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--grid-color);
    z-index: 0;
}

.grid-line-h {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--grid-color);
    z-index: 0;
}

.marker {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #0f172a; /* Slate 900 */
    z-index: 30;
    opacity: 0;
    animation: fade-in 0.5s ease-out 1s forwards;
}

/* ── Keyframe Animations ──────────────────────────────────── */
@keyframes reveal-up {
    0%   { clip-path: inset(100% 0 0 0); transform: translateY(20px); opacity: 0; }
    100% { clip-path: inset(-20% -20% -20% -20%); transform: translateY(0); opacity: 1; }
}

@keyframes fade-in {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes beam-h {
    0%   { left: -200px; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

@keyframes beam-v {
    0%   { top: -200px; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes scroll-vertical {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes spin-slow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse-core {
    0%   { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4); }
    70%  { box-shadow: 0 0 0 15px rgba(20, 184, 166, 0); }
    100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

/* ── Animation Utilities ──────────────────────────────────── */
.animate-reveal {
    opacity: 0;
    animation: reveal-up 1.0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

.animate-marquee {
    animation: marquee-scroll 30s linear infinite;
    will-change: transform;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-scroll-vertical {
    animation: scroll-vertical 25s linear infinite;
    will-change: transform;
}
.animate-scroll-vertical:hover {
    animation-play-state: paused;
}

/* ── Beams ────────────────────────────────────────────────── */
.beam-h {
    position: absolute;
    height: 1px;
    width: 200px;
    background: linear-gradient(90deg, transparent, var(--beam-color), transparent);
    z-index: 10;
    opacity: 0;
}

.beam-v {
    position: absolute;
    width: 1px;
    height: 200px;
    background: linear-gradient(180deg, transparent, var(--beam-color), transparent);
    z-index: 10;
    opacity: 0;
}

/* ── Ambient Background ───────────────────────────────────── */
.ambient-blob-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background-color: #f0fdfa; /* Teal 50 */
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.7;
    z-index: -1;
}

.ambient-blob-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background-color: #f8fafc; /* Slate 50 */
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.7;
    z-index: -1;
}

/* ── Glassmorphism ────────────────────────────────────────── */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* ── Mask Utilities ───────────────────────────────────────── */
.mask-linear-fade {
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.mask-vertical-fade {
    mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
}

/* ── Insurance Card Component ─────────────────────────────── */
.insurance-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.insurance-card:hover {
    transform: translateX(8px) scale(1.02);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: 0 10px 30px -5px rgba(20, 184, 166, 0.15), 0 8px 10px -6px rgba(20, 184, 166, 0.1);
}
.insurance-card:hover .insurance-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: #f0fdfa; /* teal-50 */
    color: #0d9488; /* teal-600 */
}

/* ── Shield Scene (Hero Visual) ───────────────────────────── */
.shield-scene {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 640px) {
    .shield-scene {
        transform: scale(0.65);
    }
}

@media (max-width: 1024px) and (min-width: 641px) {
    .shield-scene {
        transform: scale(0.85);
    }
}

.shield-scene .ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(20, 184, 166, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.shield-scene .r1 { width: 100px; height: 100px; border-color: rgba(20, 184, 166, 0.25); }
.shield-scene .r2 { width: 160px; height: 160px; border-color: rgba(20, 184, 166, 0.15); border-style: dashed; animation: spin-slow 20s linear infinite; }
.shield-scene .r3 { width: 220px; height: 220px; border-color: rgba(20, 184, 166, 0.08); }
.shield-scene .r4 { width: 280px; height: 280px; border-color: rgba(20, 184, 166, 0.03); animation: spin-slow 40s linear infinite reverse; }

.shield-core-glow {
    position: absolute;
    z-index: 5;
    width: 100px;
    height: 100px;
    background: rgba(20, 184, 166, 0.3);
    filter: blur(20px);
    border-radius: 50%;
    animation: pulse-core 3s infinite;
}

.shield-core {
    position: relative;
    z-index: 10;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(20,184,166,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    animation: pulse-core 3s infinite;
    cursor: pointer;
}

.shield-scene .glass-card {
    position: absolute;
    z-index: 20;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 6px 12px 6px 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: -20px 0 0 -50px;
    transition: all 0.3s;
    width: max-content;
    animation: float 6s ease-in-out infinite;
}

.shield-scene .glass-card:hover {
    transform: scale(1.05) !important;
    background: white;
    z-index: 30;
    border-color: #14b8a6;
    animation-play-state: paused;
}

.shield-scene .ic {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.shield-scene .label {
    font-size: 10px;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    margin: 0;
    padding-right: 4px;
}

/* Shield Card Positions */
.shield-scene .c-auto     { top: calc(50% - 65px);  left: calc(50% + 70px);  animation-delay: 0s; }
.shield-scene .c-auto .ic { background: #f0fdfa; color: #0d9488; }

.shield-scene .c-life     { top: calc(50% + 55px);  left: calc(50% + 80px);  animation-delay: 1.2s; }
.shield-scene .c-life .ic { background: #e0f2fe; color: #0284c7; }

.shield-scene .c-health     { top: calc(50% - 65px);  left: calc(50% - 70px);  animation-delay: 2.4s; }
.shield-scene .c-health .ic { background: #d1fae5; color: #059669; }

.shield-scene .c-home     { top: calc(50% + 55px);  left: calc(50% - 80px);  animation-delay: 3.6s; }
.shield-scene .c-home .ic { background: #e0e7ff; color: #4f46e5; }

.shield-scene .c-business     { top: calc(50% - 110px); left: 50%; animation-delay: 0.6s; }
.shield-scene .c-business .ic { background: #ffedd5; color: #ea580c; }

.shield-scene .c-smart     { top: calc(50% + 110px); left: 50%; animation-delay: 1.8s; }
.shield-scene .c-smart .ic { background: #dbeafe; color: #2563eb; }

.shield-scene .c-other     { top: 50%; left: calc(50% - 115px); animation-delay: 3.0s; }
.shield-scene .c-other .ic { background: #f1f5f9; color: #475569; }

/* ── FAQ Component ────────────────────────────────────────── */
.faq-content {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: max-height, opacity;
}

.faq-item.active {
    border-color: #10b981; /* emerald-500 */
    box-shadow: 0 10px 40px -10px rgba(16, 185, 129, 0.15);
}

.faq-item.active .faq-icon {
    transform: rotate(-180deg);
}

.faq-item.active .faq-icon-wrapper {
    background-color: #10b981;
    color: white;
    border-color: #10b981;
}

.faq-item.active .faq-content {
    opacity: 1;
}

.faq-item.active .faq-button h3 {
    color: #047857; /* emerald-700 */
}

/* ── Custom Scrollbar ─────────────────────────────────────── */
.phone-list-scroll::-webkit-scrollbar {
    width: 6px;
}
.phone-list-scroll::-webkit-scrollbar-track {
    background: #f8fafc; /* slate-50 */
    border-radius: 8px;
}
.phone-list-scroll::-webkit-scrollbar-thumb {
    background: #d1fae5; /* emerald-100 */
    border-radius: 8px;
}
.phone-list-scroll::-webkit-scrollbar-thumb:hover {
    background: #10b981; /* emerald-500 */
}
