:root {
    /* Menetalk SIM Specific Colors */
    --sim-primary: #FFD400;
    --sim-primary-glow: rgba(255, 212, 0, 0.4);
    --sim-bg: #000000;
    --sim-glass: rgba(15, 15, 15, 0.65);
    --sim-glass-border: rgba(255, 255, 255, 0.08);
    --sim-text: #FFFFFF;
    --sim-text-muted: #a0a0a0;
    
    --section-padding: 6rem 2rem;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   Base Layout & Overrides
   ========================================= */
body {
    background-color: var(--sim-bg);
    color: var(--sim-text);
    overflow-x: hidden;
}

#sim-network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.site-wrapper {
    position: relative;
    z-index: 1;
}

.sim-section {
    padding: var(--section-padding);
    position: relative;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.highlight {
    color: var(--sim-primary);
    position: relative;
}
.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--sim-primary-glow);
    z-index: -1;
    filter: blur(8px);
}

/* Utilities */
.text-center { text-align: center; }
.text-yellow { color: var(--sim-primary); }

.bg-gradient-subtle {
    background: linear-gradient(180deg, transparent 0%, rgba(20, 20, 20, 0.5) 50%, transparent 100%);
}
.mesh-bg {
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255,212,0,0.03) 0%, transparent 50%),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

/* Typography */
.main-heading {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}
.section-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}
.lead-text {
    font-size: 1.25rem;
    color: var(--sim-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.sub-text {
    font-size: 1rem;
    color: var(--sim-text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Glassmorphism */
.glass-panel {
    background: var(--sim-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--sim-glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.glass-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid var(--sim-glass-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 212, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 212, 0, 0.1);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.split-layout.align-center { align-items: center; }
.split-layout.reverse .split-text { grid-column: 2; grid-row: 1; }
.split-layout.reverse .split-visual { grid-column: 1; grid-row: 1; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}
.btn-primary {
    background: var(--sim-primary);
    color: #000;
}
.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
}
.btn-glow { box-shadow: 0 0 20px var(--sim-primary-glow); }
.btn-glow:hover { box-shadow: 0 0 30px rgba(255, 255, 255, 0.6); }
.btn-secondary {
    background: transparent;
    color: var(--sim-text);
    border: 1px solid var(--sim-glass-border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}
.btn-large { padding: 1.2rem 2.5rem; font-size: 1.1rem; }

/* =========================================
   Section 1: Hero
   ========================================= */
.sim-hero {
    padding: 10rem 2rem 6rem;
    position: relative;
}
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 212, 0, 0.1);
    color: var(--sim-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 212, 0, 0.2);
}
.hero-content .subtext {
    font-size: 1.25rem;
    color: var(--sim-text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}
.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--sim-glass-border);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tag i { color: var(--sim-primary); }
.hero-actions { display: flex; gap: 1rem; }
.hero-visual {
    position: relative;
    height: 500px;
}
#sim-3d-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* =========================================
   Section 2: What is Menetalk SIM
   ========================================= */
.ui-dashboard {
    padding: 2rem;
    background: linear-gradient(180deg, rgba(15,15,15,0.8), rgba(5,5,5,0.9));
}
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--sim-glass-border);
    margin-bottom: 2rem;
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.dash-dots span:nth-child(1) { background: #ff5f56; }
.dash-dots span:nth-child(2) { background: #ffbd2e; }
.dash-dots span:nth-child(3) { background: #27c93f; }
.dash-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sim-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.dash-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.sim-pulse-node {
    width: 100px;
    height: 100px;
    background: rgba(255, 212, 0, 0.1);
    border: 1px solid var(--sim-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--sim-primary);
    position: relative;
}
.pulse-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border: 1px solid var(--sim-primary);
    border-radius: 20px;
    animation: simPulse 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    opacity: 0;
}
.pr-2 { animation-delay: 1s; }
@keyframes simPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}
.connection-stats {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(255,255,255,0.03);
    padding: 1.5rem;
    border-radius: 12px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.stat-label { font-size: 0.8rem; color: var(--sim-text-muted); text-transform: uppercase; }
.stat-val { font-size: 1.1rem; font-weight: 600; }

.bullet-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.bullet-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
}

/* =========================================
   Section 3: SIM Types
   ========================================= */
.sim-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.sim-card .sim-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 212, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--sim-primary);
    margin-bottom: 1.5rem;
}
.sim-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.sim-card p { color: var(--sim-text-muted); line-height: 1.5; font-size: 0.95rem; }
.card-glow {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--sim-primary-glow);
    filter: blur(60px);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}
.sim-card:hover .card-glow { opacity: 1; }

/* =========================================
   Section 4: Why Menetalk SIM
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}
.glass-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--sim-glass-border);
    transition: var(--transition-smooth);
    font-weight: 500;
}
.glass-item i { color: var(--sim-primary); font-size: 1.2rem; }
.glass-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,212,0,0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* =========================================
   Section 5: AI WhatsApp Automation
   ========================================= */
.feature-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
.fg-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--sim-glass-border);
    font-size: 0.9rem;
}
.whatsapp-ui {
    background: linear-gradient(180deg, #101010, #050505);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
}
.wa-header {
    background: #1a1a1a;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.wa-contact { display: flex; align-items: center; gap: 1rem; }
.wa-avatar {
    width: 40px; height: 40px;
    background: var(--sim-primary);
    color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.wa-name { font-weight: 600; font-size: 1.1rem; }
.wa-status { font-size: 0.8rem; }
.wa-body {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-image: radial-gradient(circle at center, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
}
.wa-msg {
    max-width: 80%;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    animation: popIn 0.4s forwards cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popIn { to { opacity: 1; transform: translateY(0); } }

.wa-msg.received {
    background: #2a2a2a;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}
.wa-msg.sent {
    background: rgba(255, 212, 0, 0.15);
    border: 1px solid rgba(255, 212, 0, 0.3);
    color: var(--sim-text);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}
.typing .dot {
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--sim-primary);
    border-radius: 50%;
    margin: 0 2px;
    animation: typing 1.4s infinite ease-in-out both;
}
.typing .dot:nth-child(1) { animation-delay: -0.32s; }
.typing .dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* =========================================
   Section 6: Global Coverage
   ========================================= */
#globe-3d-container {
    width: 100%;
    height: 400px;
    position: relative;
}
.bullet-list-vertical {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}
.bullet-list-vertical li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
.li-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--sim-primary);
    border: 1px solid var(--sim-glass-border);
}
.li-text h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.li-text p { color: var(--sim-text-muted); font-size: 0.95rem; line-height: 1.5; }

/* =========================================
   Section 7: How It Works
   ========================================= */
.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.step-card {
    text-align: center;
    width: 140px;
}
.step-icon {
    width: 60px;
    height: 60px;
    background: var(--sim-glass);
    border: 1px solid var(--sim-glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--sim-primary);
    margin: 0 auto 1rem;
    transition: var(--transition-smooth);
}
.step-card:hover .step-icon {
    background: var(--sim-primary);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--sim-primary-glow);
}
.step-arrow { color: var(--sim-glass-border); font-size: 1.5rem; }

/* =========================================
   Section 9: Testimonials Slider
   ========================================= */
.testimonial-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 2rem 0;
    margin-top: 2rem;
}
.testimonial-slider::before,
.testimonial-slider::after {
    content: '';
    position: absolute;
    top: 0; width: 150px; height: 100%; z-index: 2;
}
.testimonial-slider::before { left: 0; background: linear-gradient(to right, var(--sim-bg), transparent); }
.testimonial-slider::after { right: 0; background: linear-gradient(to left, var(--sim-bg), transparent); }

.test-track {
    display: inline-flex;
    gap: 2rem;
    animation: scrollTest 40s linear infinite;
}
.test-track:hover { animation-play-state: paused; }
.test-card {
    width: 400px;
    white-space: normal; /* allow text to wrap inside card */
    padding: 2.5rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.quote-icon {
    color: var(--sim-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}
.test-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.test-author {
    color: var(--sim-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
@keyframes scrollTest {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

/* =========================================
   Section 10: FAQ Accordion
   ========================================= */
.faq-container { max-width: 800px; }
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}
.faq-item {
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question i {
    color: var(--sim-primary);
    transition: transform 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: var(--sim-text-muted);
    line-height: 1.6;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
}
.faq-item.active {
    border-color: rgba(255, 212, 0, 0.4);
    box-shadow: 0 5px 20px rgba(255, 212, 0, 0.05);
}
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 1rem;
}

/* =========================================
   Section 11: Final CTA
   ========================================= */
.cta-banner {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(20,20,20,0.9), rgba(5,5,5,0.95));
}
.cta-glow-orb {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; height: 500px;
    background: var(--sim-primary);
    filter: blur(200px);
    opacity: 0.15;
    z-index: 0;
}
.cta-content { position: relative; z-index: 1; }
.cta-heading { font-size: 3.5rem; margin-bottom: 1rem; font-weight: 700; }
.cta-subtext {
    font-size: 1.2rem;
    color: var(--sim-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; }

/* =========================================
   Scroll Reveal Failsafe
   ========================================= */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================
   Responsive Breakpoints
   ========================================= */
@media (max-width: 1024px) {
    .main-heading { font-size: 3.2rem; }
    .hero-split, .split-layout { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-actions, .feature-tags { justify-content: center; }
    
    .split-layout.reverse .split-text { grid-column: 1; grid-row: 2; }
    .split-layout.reverse .split-visual { grid-column: 1; grid-row: 1; }
    
    .sim-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    
    .workflow-steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    
    .bullet-list-vertical li { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 768px) {
    :root { --section-padding: 4rem 1.5rem; }
    .main-heading { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    
    .sim-grid, .features-grid { grid-template-columns: 1fr; }
    .feature-grid-small { grid-template-columns: 1fr; }
    
    .hero-visual, #globe-3d-container { height: 300px; }
    .test-card { width: 280px; padding: 1.5rem; }
    
    .cta-heading { font-size: 2rem; }
    .cta-actions, .hero-actions { flex-direction: column; width: 100%; align-items: stretch; }
    .btn { text-align: center; justify-content: center; }
    
    .sim-hero { padding: 7rem 1.5rem 4rem; }
    .hero-content .subtext { max-width: 100%; font-size: 1rem; }
    .lead-text { font-size: 1rem; }
}

@media (max-width: 480px) {
    :root { --section-padding: 3rem 1rem; }
    .main-heading { font-size: 2rem; line-height: 1.2; }
    .section-title { font-size: 1.7rem; }
    .lead-text { font-size: 0.95rem; }
    .sub-text { font-size: 0.9rem; }

    .sim-hero { padding: 6rem 1rem 3rem; }
    .hero-visual, #globe-3d-container { height: 240px; }

    .sim-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-grid-small { grid-template-columns: 1fr; }

    .connection-stats { flex-direction: column; align-items: center; gap: 1rem; }
    .stat-item { width: 100%; }

    .cta-heading { font-size: 1.7rem; }
    .cta-subtext { font-size: 0.95rem; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { width: 100%; }

    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }

    .test-card { width: 85vw; padding: 1.25rem; }
    .whatsapp-ui { height: 320px; }

    .glass-card { padding: 1.25rem; }
    .step-card { width: 120px; }
    .bullet-list-vertical li { flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; }
}
