/* ===================================
   VIAMIKRO V2 - Premium Stylesheet
   Modern, Dark, Glassmorphism 2.0
   =================================== */

:root {
    /* Premium Color Palette */
    --primary: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #EC4899;
    --accent: #06B6D4;

    /* Dark Theme Pro */
    --bg-dark: #0B0F19;
    /* Slighly bluer dark */
    --bg-card: #111827;
    --text-main: #F9FAFB;
    --text-muted: #9CA3AF;

    /* Glassmorphism 2.0 */
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shine: rgba(255, 255, 255, 0.03);

    /* Spacing */
    --section-gap: 8rem;
    --container-width: 1280px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
}

/* ===================================
   Components & Utilities 
   =================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-anim {
    background: linear-gradient(to right, #818CF8, #EC4899, #06B6D4, #818CF8);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 4s linear infinite;
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    border-radius: 99px;
    /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(236, 72, 153, 0.6);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}

.btn-ghost:hover {
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary-light);
}

.btn-outline:hover {
    background: rgba(79, 70, 229, 0.1);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* ===================================
   Navigation 
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(11, 15, 25, 0.95);
    /* More opaque */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    /* Keep same padding to prevent jump */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-menu {
    background: transparent;
    border-color: transparent;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    width: 320px;
    height: 60px;
}

.logo-img {
    height: 240px;
    position: absolute;
    top: -90px;
    left: 0;
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.3));
    transition: all 0.3s;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(6, 182, 212, 0.5));
}

.logo-symbol {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    border: 1px solid var(--glass-border);
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    color: white;
    background: rgba(79, 70, 229, 0.1);
    border-left-color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: white;
}

/* Mobile Menu Active State */
.nav-menu.mobile-active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0B0F19;
    padding: 2rem;
    z-index: 999;
    border-radius: 0;
    border-bottom: 1px solid var(--glass-border);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Hero Section 
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.hero-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.highlight {
    color: white;
    font-weight: 500;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust span {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-logos {
    display: flex;
    gap: 2rem;
    opacity: 0.7;
    align-items: center;
    flex-wrap: wrap;
}

.trust-item {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Hero Visual 3D */
/* Hero Visual 3D */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
}

.dashboard-img {
    border-radius: 12px;
    width: 100%;
}

.floating-badge {
    position: absolute;
    background: var(--bg-card);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
}

.badge-1 {
    top: -20px;
    right: -20px;
}

.badge-2 {
    bottom: -20px;
    left: -20px;
    animation-delay: 2s;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    /* Green */
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
}

/* Floating MikroTik Router */
.floating-router {
    position: absolute;
    bottom: -50px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float-router 8s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.floating-router img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transform: rotate(-5deg);
}

.floating-router::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(236, 72, 153, 0.2));
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.floating-router:hover::before {
    opacity: 1;
}

@keyframes float-router {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

/* ===================================
   Sections & Features 
   =================================== */

section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.1s;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: radial-gradient(circle at 50% 0%, rgba(129, 140, 248, 0.15), transparent 70%);
    z-index: 0;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transform: translateZ(20px);
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.feature-img-icon {
    height: 60%;
    width: 60%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

/* Specific size adjustments */
.icon-wg .feature-img-icon,
.icon-mk .feature-img-icon {
    height: 80%;
    width: 80%;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    transform: translateZ(20px);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    transform: translateZ(20px);
}

/* Spotlight Section */
.spotlight {
    background: linear-gradient(to bottom, var(--bg-dark), #0f1623);
}

.spotlight-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tag {
    color: var(--primary-light);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: block;
}

.spotlight img {
    width: 100%;
    filter: drop-shadow(0 0 50px rgba(79, 70, 229, 0.2));
    animation: float 8s ease-in-out infinite;
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.check-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

/* ===================================
   Pricing & Premium Components
   =================================== */

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    transform-style: preserve-3d;
}

.price-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.15);
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

.price-value {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Outfit';
    margin: 1.5rem 0;
}

.price-value small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.price-features {
    list-style: none;
    margin: 2rem 0;
}

.price-features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.payment-methods-strip {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===================================
   New Sections (Testimonials, FAQ, Newsletter)
   =================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    overflow-x: auto;
    /* Allow side scroll on mobile */
}

.testi-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
}

.testi-stars {
    color: #FBBF24;
    margin-bottom: 1rem;
}

.testi-author {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.faq-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    display: none;
    /* JS will toggle */
}

.faq-content.open {
    display: block;
}

.newsletter-section {
    padding: 4rem 0;
}

.bg-glow-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 32px;
    padding: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter-form input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 0 1.5rem;
    border-radius: 99px;
    color: white;
    height: 54px;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.float-btn:hover {
    transform: scale(1.1);
}

/* Referral Section */
.referral-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.referral-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(165, 180, 252, 0.3);
    border-radius: 100px;
    color: #e0e7ff;
    font-size: 0.95rem;
    /* Increased size */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.badge-pill::before {
    content: '👑';
    font-size: 1.1rem;
}

.badge-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
    border-color: rgba(165, 180, 252, 0.5);
}

.referral-benefits {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: white;
}

.benefit-text p {
    color: var(--text-muted);
}

/* Simulator Card */
.referral-simulator {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.simulator-header {
    margin-bottom: 2rem;
    text-align: center;
}

.simulator-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

/* ===================================
   Testimonials (Infinite Carousel)
   =================================== */
.testimonials {
    padding: var(--section-gap) 0;
    position: relative;
}

.testimonial-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 2rem 0;
    /* Mask edges for fade effect */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollMarquee 40s linear infinite;
}

/* Pause on hover for readability */
.marquee-track:hover {
    animation-play-state: paused;
}

.testi-card {
    background: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    min-width: 350px;
    /* Fixed width for carousel */
    max-width: 350px;
    white-space: normal;
    /* Allow text wrapping inside card */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testi-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(17, 24, 39, 0.6);
}

.testi-stars {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

.testi-card p {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testi-author .avatar {
    width: 45px;
    height: 45px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
}

.testi-author .info h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.testi-author .info span {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 500;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * (350px + 2rem) * 7));
    }
}

.range-group {
    margin-bottom: 2rem;
}

/* Simulator Results Grid */
.simulator-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.result-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.3s;
}

.result-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.result-box.first-bonus {
    border-color: rgba(99, 102, 241, 0.3);
    /* Indigo */
}

.result-box.recurring-bonus {
    border-color: rgba(236, 72, 153, 0.3);
    /* Pink */
}

.result-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a5b4fc;
    margin-bottom: 0.5rem;
    height: 32px;
    /* Fix height for alignment */
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.result-value .currency {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.result-note {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.mt-6 {
    margin-top: 1.5rem;
}

/* Custom Range Input */
input[type=range] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #4f46e5;
    cursor: pointer;
    margin-top: -10px;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.3);
    transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.simulator-result {
    text-align: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.result-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a5b4fc;
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.result-value small {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 0.5rem;
}

.result-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .referral-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Final CTA Section */
.final-cta {
    padding: 6rem 0;
    margin-top: 2rem;
}

.cta-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./assets/images/grid.svg');
    /* Optional texture */
    opacity: 0.1;
    pointer-events: none;
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-card p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Minimalist Footer */
.footer-minimal {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
    background: rgba(11, 15, 25, 0.5);
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-socials a {
    color: var(--text-muted);
    transition: color 0.3s, transform 0.3s;
}

.footer-socials a:hover {
    color: white;
    transform: translateY(-3px);
}

.copyright {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}



/* Dashboard Preview Section (SaaS Style) */
.dashboard-preview {
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.dash-tile {
    position: relative;
    border-radius: 20px;
    padding: 1.5rem;
    overflow: hidden;
    /* For glow effect */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dash-tile:hover {
    transform: translateY(-8px);
    z-index: 2;
}

/* Color Variants (from Web App) */
.tile-blue {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(30, 58, 138, 0.2));
    border-color: rgba(59, 130, 246, 0.2);
}

.tile-blue:hover {
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
}

.tile-blue .tile-icon-bg {
    background: rgba(59, 130, 246, 0.2);
    color: #60A5FA;
}

.tile-orange {
    background: linear-gradient(145deg, rgba(249, 115, 22, 0.1), rgba(124, 45, 18, 0.2));
    border-color: rgba(249, 115, 22, 0.2);
}

.tile-orange:hover {
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.25);
    border-color: rgba(249, 115, 22, 0.5);
}

.tile-orange .tile-icon-bg {
    background: rgba(249, 115, 22, 0.2);
    color: #FB923C;
}

.tile-indigo {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.1), rgba(49, 46, 129, 0.2));
    border-color: rgba(99, 102, 241, 0.2);
}

.tile-indigo:hover {
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
}

.tile-indigo .tile-icon-bg {
    background: rgba(99, 102, 241, 0.2);
    color: #818CF8;
}

.tile-purple {
    background: linear-gradient(145deg, rgba(168, 85, 247, 0.1), rgba(88, 28, 135, 0.2));
    border-color: rgba(168, 85, 247, 0.2);
}

.tile-purple:hover {
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.5);
}

.tile-purple .tile-icon-bg {
    background: rgba(168, 85, 247, 0.2);
    color: #C084FC;
}

/* Tile Content */
.tile-icon-bg {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.dash-tile:hover .tile-icon-bg {
    transform: scale(1.1) rotate(5deg);
}

.tile-header {
    margin-bottom: 0.5rem;
}

.tile-stat {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: white;
    font-family: 'Outfit';
}

.tile-sub {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: 0.7;
    margin-top: 5px;
}

.dash-tile h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.tile-btn {
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.dash-tile:hover .tile-btn {
    color: white;
    gap: 0.75rem;
}

/* Glow Effect */
.tile-glow {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.dash-tile:hover .tile-glow {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    /* Stack on mobile */
    .dash-tile {
        min-height: 180px;
        flex-direction: row;
        align-items: center;
    }

    .tile-icon-bg {
        margin-bottom: 0;
        margin-right: 1.5rem;
        width: 48px;
        height: 48px;
    }

    .tile-content {
        flex: 1;
        text-align: left;
    }

    .tile-btn {
        display: none;
    }

    /* Hide button on mobile for cleaner look */
    .tile-stat {
        font-size: 2rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-container,
    .spotlight-row,
    .faq-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* PassiWifi Spotlight Section */
.passiwifi-spotlight {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.passiwifi-card {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.passiwifi-card:hover {
    box-shadow: 0 0 50px rgba(45, 212, 191, 0.15);
    border-color: rgba(45, 212, 191, 0.3);
}

.passiwifi-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.passiwifi-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.3);
    border-radius: 50px;
    color: #2dd4bf;
    /* Teal-400 */
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.passiwifi-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #2dd4bf);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.passiwifi-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-teal {
    background: linear-gradient(135deg, #0d9488, #0891b2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(13, 148, 136, 0.2);
}

.btn-teal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(13, 148, 136, 0.3);
}

.passiwifi-visual {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    background: radial-gradient(circle at center, rgba(45, 212, 191, 0.2), transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wifi-icon {
    font-size: 10rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(45, 212, 191, 0.3));
}

@keyframes pulse-wifi {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .passiwifi-card {
        padding: 2.5rem;
        text-align: center;
    }

    .passiwifi-content {
        margin: 0 auto;
    }

    .passiwifi-visual {
        position: static;
        width: 100%;
        height: 150px;
        margin-top: 2rem;
    }

    .wifi-icon {
        font-size: 6rem;
    }
}

/* Premium FAQ Section */
.faq {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.faq-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.faq-text {
    position: sticky;
    top: 6rem;
}

.faq-text h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    border-radius: 16px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item.active {
    background: rgba(79, 70, 229, 0.1);
    /* Indigo tint when active */
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
}

.faq-trigger {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-trigger::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.3s, color 0.3s;
}

.faq-item.active .faq-trigger::after {
    transform: rotate(45deg);
    color: #818cf8;
    /* Indigo-400 */
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-content {
    padding-bottom: 1.5rem;
    /* max-height is handled by JS */
}

.faq-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .faq-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-text {
        position: static;
        text-align: center;
        margin-bottom: 2rem;
    }

    .faq-text h2 {
        font-size: 2.25rem;
    }
}

/* =================================== 
   Mobile Control Section 
   =================================== */
.spotlight-custom {
    padding: 5rem 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(-45deg, rgba(15, 23, 42, 0.4), rgba(30, 27, 75, 0.4), rgba(49, 46, 129, 0.2), rgba(30, 27, 75, 0.4));
    background-size: 400% 400%;
    animation: spotlightGradient 15s ease infinite;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes spotlightGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mobile-control-header {
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.feature-list-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    border-color: rgba(129, 140, 248, 0.3);
}

.f-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.f-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: white;
}

.f-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.spotlight-image-container {
    position: relative;
    padding: 2rem;
}

.glass-frame {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 1rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.spotlight-image-container:hover .glass-frame {
    transform: rotate(0deg) scale(1.02);
}

.main-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 900px) {
    .spotlight-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .feature-list-large {
        text-align: left;
    }

    .spotlight-image-container {
        padding: 0;
        margin-top: 2rem;
    }

    .glass-frame {
        transform: rotate(0);
    }
}

/* =================================== 
   Background Animations 
   =================================== */

/* 1. Tech Grid (Dashboard) */
.bg-tech-grid {
    position: relative;
    overflow: hidden;
}

.bg-tech-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.4) 2px, transparent 2px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.4) 2px, transparent 2px);
    background-size: 60px 60px;
    opacity: 0.8;
    /* Very high visibility */
    animation: gridMove 20s linear infinite;
    z-index: 0;
    pointer-events: none;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(60px) translateZ(-200px);
    }
}

/* 2. Soft Glow (Pricing) */
.bg-soft-glow {
    position: relative;
    overflow: hidden;
}

.bg-soft-glow::before,
.bg-soft-glow::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.6), transparent 70%);
    /* Strong opacity */
    z-index: 0;
    pointer-events: none;
    filter: blur(100px);
    mix-blend-mode: screen;
    /* Makes it glow intensely against dark bg */
}

.bg-soft-glow::before {
    top: -200px;
    left: -200px;
    animation: floatGlow1 15s ease-in-out infinite alternate;
}

.bg-soft-glow::after {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.5), transparent 70%);
    /* Strong opacity */
    animation: floatGlow2 20s ease-in-out infinite alternate;
}

@keyframes floatGlow1 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(150px, 150px);
    }
}

@keyframes floatGlow2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-150px, -150px);
    }
}

/* 3. Stars Twinkle (Testimonials) */
.bg-stars-twinkle {
    position: relative;
    overflow: hidden;
}

.bg-stars-twinkle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(3px 3px at 20px 30px, #fff, transparent),
        radial-gradient(3px 3px at 40px 70px, #fff, transparent),
        radial-gradient(3px 3px at 50px 160px, #fff, transparent),
        radial-gradient(3px 3px at 90px 40px, #fff, transparent),
        radial-gradient(3px 3px at 130px 80px, #fff, transparent),
        radial-gradient(3px 3px at 160px 120px, #fff, transparent);
    background-size: 200px 200px;
    opacity: 0.8;
    /* Very bright stars */
    animation: twinkleMove 60s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes twinkleMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 1000px;
    }
}

/* =================================== 
   Contact Section (V3 Final: Ultra Compact 1x4) 
   =================================== */
.contact-section {
    padding: var(--section-gap) 0;
    position: relative;
    z-index: 10;
}

.contact-minimal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Enforce 1x4 on Desktop */
    gap: 1rem;
    /* Tight gap */
    margin-top: 3rem;
    max-width: 1200px;
    /* Allow full width */
    margin-left: auto;
    margin-right: auto;
}

.minimal-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    /* Very compact padding */
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* Distribute space */
    min-height: 220px;
    /* Fixed height for uniformity */
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.minimal-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Icons */
.m-icon {
    font-size: 1.8rem;
    /* Scaled down */
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.minimal-card:hover .m-icon {
    transform: scale(1.1);
}

/* Text */
.m-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.m-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Action Button (Small & Punchy) */
.m-btn {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    color: white;
    transition: all 0.3s;
    font-weight: 600;
    margin-top: auto;
    /* Push to bottom */
}

.minimal-card:hover .m-btn {
    background: white;
    color: black;
    border-color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Specific Card Styling */
/* Telegram Block */
.minimal-card.telegram-block {
    grid-row: span 1;
}

.qr-mini {
    width: 80px;
    /* Ultra compact QR */
    height: 80px;
    padding: 3px;
    background: white;
    border-radius: 8px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border: 0;
    box-shadow: 0 0 10px rgba(0, 136, 204, 0.3);
}

/* Hover Colors */
.minimal-card.whatsapp:hover {
    border-color: #25D366;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.2);
}

.minimal-card.whatsapp:hover .m-icon {
    color: #25D366;
    filter: drop-shadow(0 0 5px #25D366);
}

.minimal-card.email:hover {
    border-color: #3B82F6;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.2);
}

.minimal-card.email:hover .m-icon {
    color: #3B82F6;
    filter: drop-shadow(0 0 5px #3B82F6);
}

.minimal-card.location:hover {
    border-color: #EC4899;
    box-shadow: 0 5px 20px rgba(236, 72, 153, 0.2);
}

.minimal-card.location:hover .m-icon {
    color: #EC4899;
    filter: drop-shadow(0 0 5px #EC4899);
}

.minimal-card.telegram-block:hover {
    border-color: #0088cc;
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.2);
}

@media (max-width: 900px) {
    .contact-minimal-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 on Tablet */
    }
}

@media (max-width: 600px) {
    .contact-minimal-grid {
        grid-template-columns: 1fr;
        /* Stack on Mobile */
    }
}

/* 4. Contact Animation: Deep Space (High Contrast) */
.bg-network-connect {
    position: relative;
    overflow: hidden;
    background: #050810;
    /* Very deep dark */
}

/* Subtle moving fog/nebula - Very Low Opacity */
.bg-network-connect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle at center, rgba(79, 70, 229, 0.08), transparent 70%);
    /* Extended fade */
    animation: deepPulse 10s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

/* Sharp Grid Overlay - Static but clean */
.bg-network-connect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    /* Fade edges */
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

@keyframes deepPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* 5. Minimalist Footer Refined */
.footer-minimal {
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to bottom, rgba(11, 15, 25, 0.8), rgba(11, 15, 25, 1));
    position: relative;
    z-index: 10;
}

.footer-minimal .copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.footer-minimal .copyright span {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary-light);
    /* Accent color for the company name */
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9 !important;
    /* Force visibility */
}