/* ============================================
   MAS FIBRA PRO - ISP Landing Page
   Premium CSS - Zero Dependencies
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #FF6B00;
    --primary-light: #FF8C38;
    --primary-dark: #E05500;
    --secondary: #0a0a1a;
    --accent: #00E676;
    --accent-blue: #00B4D8;
    --dark: #060612;
    --dark-2: #0f0f23;
    --dark-3: #1a1a2e;
    --dark-4: #252540;
    --gray: #8888a0;
    --gray-light: #b0b0c8;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-strong: rgba(255, 255, 255, 0.08);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(255, 107, 0, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid var(--dark-3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: #060612;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-logo .logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.nav-logo span { color: var(--primary); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-light);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.4);
}

.nav-cta::after { display: none; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: auto;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(6,6,18,0.7) 0%, rgba(6,6,18,0.3) 45%, transparent 65%);
    z-index: 1;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    background: rgba(6, 6, 18, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-radius: 24px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    filter: blur(30px);
    transform: scale(0.95);
    transition: opacity 1.5s ease, filter 1.5s ease, transform 1.5s ease;
}

.hero-content.fog-in {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.hero-content.fog-out {
    opacity: 0;
    filter: blur(30px);
    transform: scale(0.95);
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 70%, #FF6B00 78%, #FF9E40 82%, #FF6B00 86%, transparent 94%, transparent 100%);
    animation: border-spin 4s linear infinite;
    z-index: -2;
}

.hero-content::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: rgba(6, 6, 18, 0.85);
    border-radius: 22px;
    z-index: -1;
}

.hero-content > * {
    position: relative;
    z-index: 1;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    min-height: 320px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-slide .slide-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.hero-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--primary);
    width: 42px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes border-spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary), #FF9E40, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 16px;
    max-width: 480px;
}

.hero-speed {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 32px;
}

.hero-speed .speed-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-speed .speed-unit {
    font-size: 1.4rem;
    color: var(--gray-light);
    font-weight: 600;
}

.hero-speed .speed-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-left: 4px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5);
}

.btn-secondary {
    background: var(--glass-strong);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-router-card {
    background: rgba(6, 6, 18, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 107, 0, 0.15);
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    filter: blur(30px);
    transform: scale(0.95);
    transition: opacity 1.5s ease, filter 1.5s ease, transform 1.5s ease;
}

.hero-router-card.fog-in {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.hero-router-card.fog-out {
    opacity: 0;
    filter: blur(30px);
    transform: scale(0.95);
}

.hero-router-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 70%, #FF6B00 78%, #FF9E40 82%, #FF6B00 86%, transparent 94%, transparent 100%);
    animation: border-spin 4s linear infinite reverse;
    z-index: 0;
}

.hero-router-card::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: rgba(6, 6, 18, 0.85);
    border-radius: 22px;
    z-index: 0;
}

.hero-router-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,107,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-router-card > * {
    position: relative;
    z-index: 1;
}

.router-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.router-card-header h3 {
    font-size: 0.9rem;
    color: var(--gray-light);
    font-weight: 500;
}

.router-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--accent);
}

.router-status .dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.speed-gauge {
    text-align: center;
    margin-bottom: 24px;
}

.gauge-circle {
    width: 180px;
    height: 180px;
    margin: 0 auto 16px;
    position: relative;
}

.gauge-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.gauge-bg {
    fill: none;
    stroke: var(--dark-4);
    stroke-width: 8;
}

.gauge-fill {
    fill: none;
    stroke: url(#gaugeGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 440;
    stroke-dashoffset: 110;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.gauge-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gauge-value {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.gauge-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 4px;
}

.speed-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.speed-stat {
    text-align: center;
    padding: 12px 8px;
    background: var(--glass);
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
}

.speed-stat .value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.speed-stat .label {
    font-size: 0.7rem;
    color: var(--gray);
    margin-top: 2px;
}

/* --- Stats Bar --- */
.stats-bar {
    position: relative;
    z-index: 3;
    margin-top: -50px;
}

.stats-bar .container {
    background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    box-shadow: var(--shadow);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--glass-border);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

/* --- Section Base --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Features --- */
.features-section {
    position: relative;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 0, 0.2);
    background: var(--glass-strong);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* --- Plans --- */
.plans-section {
    background: var(--dark-2);
    position: relative;
    overflow: hidden;
}

.plans-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255,107,0,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.plans-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.plans-toggle span {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
    transition: var(--transition);
}

.plans-toggle span.active { color: var(--white); }

.toggle-switch {
    width: 52px;
    height: 28px;
    background: var(--dark-4);
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch.active::after {
    left: 27px;
}

.save-badge {
    background: rgba(0, 230, 118, 0.1);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.plan-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
    position: relative;
}

.plan-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
}

.plan-card.popular {
    background: linear-gradient(145deg, rgba(255,107,0,0.08), rgba(255,107,0,0.02));
    border-color: rgba(255, 107, 0, 0.3);
    transform: scale(1.03);
    box-shadow: 0 8px 40px rgba(255, 107, 0, 0.15);
}

.plan-card.popular:hover {
    transform: scale(1.03) translateY(-6px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.plan-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.plan-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.plan-speed {
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 16px;
}

.plan-price {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.plan-price .currency {
    font-size: 1.2rem;
    font-weight: 600;
    vertical-align: super;
    color: var(--gray-light);
}

.plan-price .amount {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.plan-price .period {
    font-size: 0.85rem;
    color: var(--gray);
    margin-left: 2px;
}

.plan-price .original {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.85rem;
    margin-left: 8px;
}

.plan-features {
    margin-bottom: 28px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--gray-light);
}

.plan-features li .check {
    color: var(--accent);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.plan-btn {
    width: 100%;
    padding: 12px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    display: block;
}

.plan-btn.outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--white);
}

.plan-btn.outline:hover {
    background: var(--glass-strong);
    border-color: var(--primary);
}

.plan-btn.filled {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.plan-btn.filled:hover {
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.5);
    transform: translateY(-1px);
}

/* --- Technology --- */
.tech-section { background: var(--dark); }

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,107,0,0.15), transparent);
    pointer-events: none;
}

.tech-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.tech-content p {
    color: var(--gray-light);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.tech-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tech-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.tech-feature:hover { border-color: rgba(255, 107, 0, 0.2); }

.tech-feature .icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

.tech-feature span {
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- App Section --- */
.app-section {
    background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
    overflow: hidden;
    position: relative;
}

.app-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 60%;
    background: radial-gradient(ellipse at center bottom, rgba(255,107,0,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.app-content { position: relative; z-index: 1; }

.app-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.app-content > p {
    color: var(--gray-light);
    margin-bottom: 32px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.app-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.app-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.app-feature-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.app-feature-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.app-feature-item p {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.5;
}

.app-compat-note {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 16px;
}

.app-compat-note.app-compat-mobile {
    display: none;
}

.app-compat-note span {
    color: #ccc;
    font-size: 13px;
}

.app-compat-note strong {
    color: var(--primary);
}

.app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--glass-strong);
    border: 1px solid var(--glass-border);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.app-download-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
}

.app-download-btn .icon { font-size: 1.8rem; }

.app-download-btn .text {
    display: flex;
    flex-direction: column;
}

.app-download-btn .text small {
    font-size: 0.7rem;
    color: var(--gray);
}

.app-download-btn .text strong {
    font-size: 0.95rem;
}

/* Phone Mockup */
.app-visual {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.phone-mockup {
    width: 280px;
    height: 570px;
    background: #1a1a2e;
    border-radius: 40px;
    border: 3px solid #333;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(255, 107, 0, 0.1);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    position: absolute;
    inset: 8px;
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(180deg, #0d0d1a 0%, #1a1024 100%);
}

.phone-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.phone-carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0;
    transition: opacity 0.8s ease;
    border-radius: 34px;
}

.phone-carousel-img.active {
    opacity: 1;
}

.phone-carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 12px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    border-radius: 0 0 34px 34px;
    z-index: 5;
}

.phone-carousel-label {
    text-align: center;
    font-size: 0.8rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.phone-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.pc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.pc-dot.active {
    background: var(--primary);
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.4);
}

.phone-screen-content {
    padding: 40px 16px 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.phone-header {
    text-align: center;
    margin-bottom: 16px;
}

.phone-header .greeting {
    font-size: 0.65rem;
    color: var(--gray);
}

.phone-header .name {
    font-size: 0.85rem;
    font-weight: 700;
}

.phone-status-card {
    background: linear-gradient(135deg, rgba(0,230,118,0.1), rgba(0,230,118,0.02));
    border: 1px solid rgba(0,230,118,0.2);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-status-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.phone-status-card .info { font-size: 0.65rem; }
.phone-status-card .info strong { display: block; color: var(--accent); font-size: 0.75rem; }

.phone-speed-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.phone-speed-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.phone-speed-box .val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.phone-speed-box .lbl {
    font-size: 0.55rem;
    color: var(--gray);
}

.phone-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: auto;
}

.phone-menu-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 10px 6px;
    text-align: center;
}

.phone-menu-item .ico {
    font-size: 1.1rem;
    margin-bottom: 4px;
    display: block;
}

.phone-menu-item .txt {
    font-size: 0.5rem;
    color: var(--gray);
}

/* --- Coverage --- */
.coverage-section {
    background: var(--dark-2);
    position: relative;
    overflow: hidden;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.coverage-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.coverage-content > p {
    color: var(--gray-light);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.coverage-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.coverage-area {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    font-weight: 500;
}

.coverage-area .dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.coverage-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
}

.coverage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coverage-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(255,107,0,0.1));
    pointer-events: none;
}

/* --- Testimonials --- */
.testimonials-section { background: var(--dark); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 0, 0.15);
}

.testimonial-stars {
    color: #FFB800;
    font-size: 0.85rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 0.9rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-author .name {
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-author .role {
    font-size: 0.75rem;
    color: var(--gray);
}

/* --- FAQ --- */
.faq-section { background: var(--dark-2); }

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active { border-color: rgba(255, 107, 0, 0.2); }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    gap: 16px;
}

.faq-question:hover { color: var(--primary-light); }

.faq-arrow {
    font-size: 1.2rem;
    transition: var(--transition);
    flex-shrink: 0;
    color: var(--gray);
}

.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.88rem;
    color: var(--gray-light);
    line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-section {
    padding: 80px 0;
    background: var(--dark);
}

.cta-card {
    background: linear-gradient(135deg, rgba(255,107,0,0.12), rgba(255,107,0,0.03));
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,107,0,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-card p {
    color: var(--gray-light);
    margin-bottom: 32px;
    font-size: 1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    background: var(--dark-2);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-brand .logo span { color: var(--primary); }

.footer-brand p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    padding: 4px 0;
    transition: var(--transition);
}

.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s, transform 0.7s;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s, transform 0.7s;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s, transform 0.7s;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* --- Confetti (Birthday) --- */
.confetti-piece {
    position: fixed;
    z-index: 10001;
    pointer-events: none;
    animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
    0% { opacity: 1; transform: translateY(-10vh) rotate(0deg); }
    100% { opacity: 0; transform: translateY(110vh) rotate(720deg); }
}

/* --- Responsive --- */

/* === FONDOS DE SECCIONES CON IMAGENES === */
.features-section,
.tech-section,
.app-section,
.coverage-section,
.plans-section,
.testimonials-section,
.faq-section,
.cta-section {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.features-section::after,
.tech-section::after,
.app-section::after,
.coverage-section::after,
.plans-section::after,
.testimonials-section::after,
.faq-section::after,
.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 20, 0.88);
    z-index: 0;
    pointer-events: none;
}

.features-section > .container,
.tech-section > .container,
.app-section > .container,
.coverage-section > .container,
.plans-section > .container,
.testimonials-section > .container,
.faq-section > .container,
.cta-section > .container {
    position: relative;
    z-index: 1;
}

.features-section {
    background-image: url('../img/bg-fiber-glow.jpg') !important;
}

.plans-section {
    background-image: url('../img/bg-server.jpg') !important;
}

.testimonials-section {
    background-image: url('../img/bg-globe-tech.jpg') !important;
}

.faq-section {
    background-image: url('../img/bg-cables.jpg') !important;
}

.cta-section {
    background-image: url('../img/network.jpg') !important;
}

.tech-section {
    background-image: url('../img/bg-datacenter.jpg') !important;
}

.app-section {
    background-image: url('../img/bg-smartphone.jpg') !important;
}

.coverage-section {
    background-image: url('../img/bg-city-net.jpg') !important;
}

@media (max-width: 1024px) {
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .plan-card.popular { transform: scale(1); }
    .plan-card.popular:hover { transform: translateY(-6px); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(6, 6, 18, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 998;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.2rem; }
    .mobile-toggle { display: flex; z-index: 999; }

    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { background: rgba(6, 6, 18, 0.75); padding: 24px; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-speed { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .hero-visual { display: none; }
    .hero-overlay { background: linear-gradient(to bottom, transparent 0%, rgba(6,6,18,0.5) 60%, rgba(6,6,18,0.8) 100%); }

    .stats-bar .container { grid-template-columns: 1fr 1fr; gap: 24px; padding: 28px; }
    .stat-item:not(:last-child)::after { display: none; }

    .features-grid { grid-template-columns: 1fr; }
    .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .tech-grid,
    .coverage-grid { grid-template-columns: 1fr; gap: 40px; }
    .app-grid { grid-template-columns: 1fr; gap: 16px; }

    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .cta-card { padding: 40px 24px; }

    .app-section.section { padding: 40px 0 60px; }
    .app-visual { order: -1; }
    .app-compat-note.app-compat-desktop { display: none; }
    .app-compat-note.app-compat-mobile { display: flex; order: -2; justify-content: center; text-align: center; grid-column: 1; margin-bottom: 8px; padding: 8px 12px; }
    .app-content { display: flex; flex-direction: column; }
    .app-download-btn { order: -1; align-self: center; background: linear-gradient(135deg, #FF6B00, #FF3D3D); border: none; padding: 16px 32px; border-radius: 14px; box-shadow: 0 4px 20px rgba(255,107,0,0.4); margin-bottom: 16px; }
    .app-download-btn .text small { color: rgba(255,255,255,0.8); }
    .app-download-btn .text strong { color: #fff; }
    .app-content .section-tag { display: none; }
    .nav-logo { animation: logoSlideIn 1s ease-out forwards; }
    @keyframes logoSlideIn { from { transform: translateX(calc(100vw - 60px)); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
    .phone-mockup { width: 200px; height: 410px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-speed .speed-number { font-size: 2.5rem; }
    .stats-bar .container { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 1.6rem; }
    .coverage-areas { grid-template-columns: 1fr; }
    .tech-features { grid-template-columns: 1fr; }
    .btn-primary, .btn-secondary { padding: 12px 24px; font-size: 0.88rem; }
}
