/* ==========================================
   NAVIGET OS - Enhanced Responsive Stylesheet
   ========================================== */

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-ring {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes pulse-ring-card {
    0% { transform: scale(1.04); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.35); }
    70% { transform: scale(1.045); box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
    100% { transform: scale(1.04); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes orbMove {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(8px); }
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

@keyframes progressBar {
    from { width: 0%; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hamburgerTop {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(8px) rotate(0); }
    100% { transform: translateY(8px) rotate(45deg); }
}

@keyframes hamburgerBottom {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-8px) rotate(0); }
    100% { transform: translateY(-8px) rotate(-45deg); }
}

/* CSS Variables */
:root {
    --primary: #ef4444;
    --primary-dark: #dc2626;
    --primary-glow: rgba(239, 68, 68, 0.4);
    --secondary: #0f172a;
    --accent: #f97316;
    --accent-glow: rgba(249, 115, 22, 0.3);
    --logo-navy: #0d2159;
    --logo-navy-glow: rgba(13, 33, 89, 0.45);
    --bg-dark: #020617;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    --radius: 24px;
    --radius-sm: 12px;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

strong { color: var(--text-main); }

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--logo-navy));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Canvas */
#network-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

#three-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}

/* Background Orbs */
.bg-blur-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blur-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: orbMove 15s infinite ease-in-out;
}

.orb-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: var(--accent); bottom: -150px; left: -150px; animation-delay: -5s; opacity: 0.1; }
.orb-3 { width: 300px; height: 300px; background: var(--primary); top: 40%; left: 20%; animation-delay: -10s; opacity: 0.05; }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

header {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: linear-gradient(180deg, rgba(5, 12, 36, 0.94), rgba(2, 6, 23, 0.92));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-fast);
}

.logo:hover { transform: scale(1.03); }

.logo-icon {
    color: var(--primary);
    transition: var(--transition-fast);
}

.logo:hover .logo-icon { transform: rotate(-10deg); }
.logo-accent { color: var(--primary); }

.logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 10px var(--logo-navy-glow));
    transition: var(--transition-fast);
}

.logo:hover .logo-img {
    filter: drop-shadow(0 4px 16px var(--logo-navy-glow));
}

@media (max-width: 767px) {
    .logo-img { height: 42px; }
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    padding: 0.65rem 1.5rem !important;
    font-size: 0.9rem;
    text-decoration: none;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.mobile-toggle:hover { background: var(--glass); }

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-fast);
    transform-origin: center;
}

.mobile-toggle.open .hamburger-line:nth-child(1) { animation: hamburgerTop 0.3s forwards; }
.mobile-toggle.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.open .hamburger-line:nth-child(3) { animation: hamburgerBottom 0.3s forwards; }

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(239, 68, 68, 0.12), transparent 60%);
    pointer-events: none;
}

.hero-content { max-width: 820px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
}

.pulse-dot {
    font-size: 0.6rem;
    animation: pulseDot 1.5s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent), #fff, var(--accent), var(--primary));
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 3px;
    animation: scrollWheel 1.5s ease infinite;
}

/* ==========================================
   WAVE DIVIDERS
   ========================================== */

.wave-container {
    line-height: 0;
    width: 100%;
    background: transparent;
    overflow: hidden;
}

.wave-container svg {
    display: block;
    width: 100%;
    height: 80px;
    margin-top: -40px;
}

.wave-container.flip {
    transform: rotate(180deg);
    margin-top: 0;
    margin-bottom: -40px;
}

.wave-container.flip svg { margin-top: 0; }

/* ==========================================
   REUSABLE COMPONENTS
   ========================================== */

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.glass-card:hover {
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(239,68,68,0.1);
    background: rgba(255,255,255,0.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-outline {
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    background: var(--glass);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    background: rgba(239,68,68,0.05);
}

.btn-login {
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
}

.btn-login:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    background: rgba(239,68,68,0.08);
}

/* Section Headers */
.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.section-header h2 span,
.section-title h2 span { color: var(--primary); }

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.category-title {
    grid-column: 1 / -1;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 2.5rem 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.category-title i { font-size: 1rem; }

.category-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(239,68,68,0.5), transparent);
}

.feature-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.card-icon-wrap {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5.5rem;
    line-height: 1;
    opacity: 0.14;
    transform: rotate(8deg);
    transition: var(--transition);
    pointer-events: none;
    z-index: 0;
}

html[dir="rtl"] .card-icon-wrap {
    right: auto;
    left: -18px;
    transform: rotate(-8deg);
}

.feature-card:hover .card-icon-wrap {
    opacity: 0.28;
    transform: rotate(2deg) scale(1.08);
}

html[dir="rtl"] .feature-card:hover .card-icon-wrap {
    transform: rotate(-2deg) scale(1.08);
}

.card-icon-wrap i {
    color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
}

.feature-card h3,
.feature-card p,
.feature-card .card-tag,
.feature-card .module-expand-btn,
.feature-card .module-details {
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.card-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent);
    background: rgba(249,115,22,0.1);
    border: 1px solid rgba(249,115,22,0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    text-transform: uppercase;
    align-self: flex-start;
    margin-top: auto;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about-section { background: rgba(239, 68, 68, 0.01); }

.presentation-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.presentation-grid h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.presentation-grid p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

@media (max-width: 767px) {
    .about-features-grid {
        grid-template-columns: 1fr;
    }
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}

.about-feature-item:hover {
    border-color: rgba(239,68,68,0.3);
    background: rgba(239,68,68,0.04);
}

.about-feature-item > i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
}

.about-feature-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.about-feature-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.sector-card {
    padding: 2.25rem 1.75rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

html[dir="rtl"] .sector-card { text-align: right; }

.sector-icon {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5.5rem;
    line-height: 1;
    opacity: 0.16;
    transform: rotate(8deg);
    transition: var(--transition);
    pointer-events: none;
    z-index: 0;
}

.sector-icon i {
    color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
}

html[dir="rtl"] .sector-icon {
    right: auto;
    left: -18px;
    transform: rotate(-8deg);
}

.sector-card:hover .sector-icon {
    opacity: 0.30;
    transform: rotate(2deg) scale(1.08);
}

html[dir="rtl"] .sector-card:hover .sector-icon {
    transform: rotate(-2deg) scale(1.08);
}

.sector-card h3 {
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.sector-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
}

.stats-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.stat-card {
    padding: 1.75rem;
    text-align: center;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(239,68,68,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1rem;
    color: var(--primary);
}

.stat-icon.accent {
    background: rgba(249,115,22,0.1);
    color: var(--accent);
}

.stat-big {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-big.accent { color: var(--accent); }

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ==========================================
   PRICING SECTION
   ========================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 2.75rem 2.25rem;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.pricing-card:hover::after { opacity: 1; }

.plan-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    line-height: 1;
    opacity: 0.14;
    transform: rotate(8deg);
    transition: var(--transition);
    pointer-events: none;
    z-index: 0;
}

.plan-icon i {
    color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
}

html[dir="rtl"] .plan-icon {
    right: auto;
    left: -20px;
    transform: rotate(-8deg);
}

.pricing-card:hover .plan-icon {
    opacity: 0.26;
    transform: rotate(2deg) scale(1.08);
}

html[dir="rtl"] .pricing-card:hover .plan-icon {
    transform: rotate(-2deg) scale(1.08);
}

.pricing-card.popular .plan-icon { opacity: 0.20; }
.pricing-card.popular:hover .plan-icon { opacity: 0.34; }

.pricing-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.pricing-card .plan-desc,
.pricing-card .price,
.pricing-card .price-note,
.pricing-card .pricing-features,
.pricing-card > .btn {
    position: relative;
    z-index: 1;
}

.pricing-card.popular {
    border-color: var(--primary);
    position: relative;
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.07), rgba(249,115,22,0.02));
    box-shadow: 0 0 0 1px rgba(239,68,68,0.25), 0 20px 50px rgba(239,68,68,0.12);
    transform: scale(1.04);
}


.price {
    font-size: 3.1rem;
    font-weight: 800;
    margin: 1.5rem 0;
    line-height: 1;
    background: linear-gradient(135deg, var(--text-main), var(--text-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-card.popular .price {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
}

.price-sm {
    font-size: 2rem !important;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.pricing-features i {
    color: var(--primary);
    font-size: 0.65rem;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239,68,68,0.12);
    border-radius: 50%;
}

.pricing-features i.fa-bolt { color: var(--accent); background: rgba(249,115,22,0.14); }

.pricing-features li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.pricing-features li.disabled i {
    background: rgba(255,255,255,0.05);
}

.pricing-features li.disabled i { color: var(--text-muted); }

/* ==========================================
   MODULE DETAILS — EXPAND
   ========================================== */

.module-category { margin-bottom: 3rem; }

.feature-card { position: relative; }

.module-expand-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid rgba(239,68,68,0.3);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 1rem;
    transition: var(--transition);
}

.module-expand-btn:hover {
    background: rgba(239,68,68,0.08);
    border-color: var(--primary);
}

.module-expand-btn.open { color: var(--text-muted); border-color: rgba(255,255,255,0.1); }
.module-expand-btn.open i { transform: rotate(180deg); }
.module-expand-btn i { transition: transform 0.3s ease; }

.module-details {
    display: none;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1rem;
    animation: fadeInDown 0.3s ease;
}

.module-details.open { display: block; }

.module-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.module-details ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.83rem;
    color: var(--text-light);
    line-height: 1.4;
}

.module-details ul li i {
    color: var(--primary);
    font-size: 0.75rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ==========================================
   BILLING TOGGLE
   ========================================== */

.billing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.billing-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.billing-label.active { color: var(--text-main); font-weight: 700; }

.billing-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    cursor: pointer;
}

.billing-toggle input { opacity: 0; width: 0; height: 0; }

.billing-slider {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 34px;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.15);
}

.billing-slider::before {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    left: 4px; bottom: 3px;
    background: var(--primary);
    border-radius: 50%;
    transition: 0.3s;
}

.billing-toggle input:checked + .billing-slider { background: rgba(239,68,68,0.2); border-color: rgba(239,68,68,0.4); }
.billing-toggle input:checked + .billing-slider::before { transform: translateX(24px); }

.badge-save {
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Plan description */
.plan-desc {
    color: var(--text-muted);
    font-size: 0.83rem;
    margin: 0.4rem 0 1.2rem;
    line-height: 1.5;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--glass-border);
}

.price-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: -0.6rem;
    margin-bottom: 1.5rem;
}

.pricing-card .btn {
    margin-top: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.pricing-card.popular {
    animation: pulse-ring-card 3.5s ease-in-out infinite;
}

.pricing-features .disabled { color: var(--text-muted); opacity: 0.4; }
.pricing-features i.c-no { color: var(--text-muted); opacity: 0.35; }

/* ==========================================
   TABLEAU COMPARATIF
   ========================================== */

.compare-table-wrap { margin-top: 3rem; text-align: center; }
.compare-toggle { margin-bottom: 1.5rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.85rem; }

.compare-table-container {
    overflow-x: auto;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    animation: fadeInDown 0.4s ease;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 700px;
}

.compare-table th {
    padding: 1rem 0.8rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.compare-table th:first-child { text-align: left; padding-left: 1.5rem; }

.compare-table td {
    padding: 0.7rem 0.8rem;
    text-align: center;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.compare-table td:first-child {
    text-align: left;
    padding-left: 1.5rem;
    color: var(--text-main);
    font-weight: 500;
}

.compare-table tr:hover td { background: rgba(255,255,255,0.02); }

.compare-table .compare-section td {
    background: rgba(239,68,68,0.05);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.6rem 1.5rem;
}

.compare-table .popular-col {
    background: rgba(239,68,68,0.06);
    font-weight: 600;
    color: var(--primary);
}

.compare-table th.popular-col { color: var(--primary); }

.c-yes { color: #22c55e !important; }
.c-no  { color: rgba(255,255,255,0.15) !important; }

/* ==========================================
   CONFIGURATOR SECTION
   ========================================== */

.configurator-area {
    margin-top: 3rem;
    display: none; /* Déclenché par JS */
    animation: slideDown 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.configurator-area.active {
    display: block;
}

.configurator-card {
    padding: 3rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.02);
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.config-item {
    position: relative;
    cursor: pointer;
}

.config-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0; width: 0;
}

.config-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: var(--transition);
}

.config-item:hover .config-box {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(239, 68, 68, 0.3);
}

.config-item input:checked + .config-box {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}

.config-icon {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.config-item input:checked + .config-box .config-icon {
    color: var(--primary);
    transform: scale(1.1);
}

.config-label {
    font-weight: 500;
    font-size: 0.95rem;
}

.config-summary {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.selection-count {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.selection-count span {
    color: var(--primary);
    font-weight: 700;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact-container { max-width: 760px; }

.contact-card { padding: 3.5rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

input, textarea {
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.04);
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
}

input::placeholder, textarea::placeholder { color: var(--text-muted); }

input:focus, textarea:focus {
    border-color: var(--primary);
    background: rgba(239,68,68,0.04);
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

textarea { resize: vertical; min-height: 120px; }

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* ==========================================
   FOOTER
   ========================================== */

footer { position: relative; z-index: 1; }

.footer-top {
    padding: 5rem 0 3rem;
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(180deg, rgba(13, 33, 89, 0.12), rgba(0,0,0,0.3) 40%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-brand .logo { margin-bottom: 1.25rem; display: inline-flex; }

.footer-brand > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 260px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.social-link:hover {
    background: rgba(239,68,68,0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-col ul a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
}

.footer-bottom {
    padding: 1.25rem 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.4);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-made { display: flex; align-items: center; gap: 0.4rem; }
.footer-made i { color: var(--primary); font-size: 0.75rem; }

/* ==========================================
   AOS (Animate on Scroll)
   ========================================== */

[data-aos] {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1), transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

[data-aos="fade-left"] { transform: translateX(-35px); }
[data-aos="fade-right"] { transform: translateX(35px); }
[data-aos="fade-down"] { transform: translateY(-35px); }
[data-aos="zoom-in"] { transform: scale(0.92); }

[data-aos].active {
    opacity: 1;
    transform: translate(0) scale(1);
}

.float-anim { animation: float 6s ease-in-out infinite; }

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */

/* Large Desktop */
@media (max-width: 1280px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
        gap: 2rem;
    }
}

/* Desktop / Tablet Landscape */
@media (max-width: 1024px) {
    .presentation-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
    }

    .pricing-card.popular { transform: scale(1.02); animation: none; }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand { grid-column: 1 / -1; }
    .footer-brand > p { max-width: 100%; }
}

/* Tablet Portrait */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .presentation-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-card-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.popular { transform: scale(1); animation: none; }

    section { padding: 80px 0; }
}

/* Mobile */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: min(80vw, 320px);
        height: 100vh;
        background: rgba(2, 6, 23, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1000;
        border-left: 1px solid var(--glass-border);
        padding: 2rem;
    }

    .nav-links.active { right: 0; }

    .nav-link { font-size: 1.2rem; }

    .nav-cta {
        padding: 0.75rem 1.75rem !important;
        font-size: 1rem;
        width: fit-content;
    }

    /* Hero */
    .hero {
        text-align: center;
        padding-top: 110px;
    }

    .hero-content { max-width: 100%; }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .scroll-indicator { display: none; }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .category-title { font-size: 0.85rem; margin: 1.5rem 0 0.25rem; }

    /* About */
    .presentation-grid { text-align: center; }

    .about-features { text-align: left; }

    .stats-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Pricing */
    .pricing-grid {
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.popular { transform: scale(1); animation: none; }

    /* Contact */
    .form-row { grid-template-columns: 1fr; }
    .contact-card { padding: 2rem 1.5rem; }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom .container { flex-direction: column; text-align: center; }

    section { padding: 60px 0; }

    .glass-card { padding: 1.75rem; }
}

/* ==========================================
   LANGUAGE SWITCHER & RTL SUPPORT (Arabic)
   ========================================== */

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: var(--transition-fast);
}

.lang-switch:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* RTL Layout Rules */
html[dir="rtl"] {
    font-family: 'Tajawal', 'Outfit', sans-serif; /* Arabic premium font */
    text-align: right;
}

html[dir="rtl"] .hero-content h1,
html[dir="rtl"] .hero-content p {
    text-align: right;
}

html[dir="rtl"] .hero-badge {
    margin-right: 0;
    margin-left: auto;
}

html[dir="rtl"] .hero-btns {
    justify-content: flex-start;
}

html[dir="rtl"] .section-title h2,
html[dir="rtl"] .section-title p {
    text-align: center;
}

html[dir="rtl"] .features-grid,
html[dir="rtl"] .pricing-grid {
    direction: rtl; /* Allows grid items to flow right-to-left seamlessly */
}

html[dir="rtl"] .glass-card {
    border-left: none; /* Adjusting the contact direct info explicit styling */
}

html[dir="rtl"] .logo {
    flex-direction: row;
}

html[dir="rtl"] .nav-links {
    padding-right: 0;
}


@media (max-width: 768px) {
    html[dir="rtl"] .nav-links {
        align-items: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }

    .hero h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }

    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns .btn { width: 100%; max-width: 300px; }

    .hero-stats { gap: 1rem; }
    .stat-divider { display: none; }

    .stats-card-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .stat-card { padding: 1.25rem; }
    .stat-big { font-size: 1.8rem; }

    .footer-content { grid-template-columns: 1fr; }

    .pricing-grid { gap: 1rem; }
    .price { font-size: 2.4rem; }

    .hero-badge { font-size: 0.72rem; text-align: center; }

    section { padding: 50px 0; }
}

/* Very small screens */
@media (max-width: 360px) {
    .logo { font-size: 1.4rem; }
    .hero h1 { font-size: 1.7rem; }
    .stat-number { font-size: 1.3rem; }
}

/* ==========================================
   HERO BRAND OUTLINE TEXT
   ========================================== */

.hero-outline-text {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.7), 0 0 40px rgba(239, 68, 68, 0.4);
}

/* ==========================================
   ROTATING HERO TEXT
   ========================================== */

#rotating-word {
    display: inline-block;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#rotating-word.fading {
    opacity: 0;
    transform: translateY(-12px);
}

/* ==========================================
   NAV ACTIVE LINK
   ========================================== */

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    width: 100%;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */

.testimonials-section { background: rgba(239, 68, 68, 0.01); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem;
}

.testimonial-stars { display: flex; gap: 0.25rem; }
.testimonial-stars i { color: #f59e0b; font-size: 0.9rem; }

.testimonial-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   FAQ SECTION
   ========================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.03);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
}

.faq-question:hover { color: var(--primary); }

.faq-icon {
    font-size: 0.85rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ==========================================
   CONTACT SECTION (REDESIGNED)
   ========================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-card { padding: 2.5rem; }

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-fast);
}

a.contact-info-item:hover {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.04);
    transform: translateX(4px);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-icon.whatsapp-icon {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
}

.contact-info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.contact-info-item strong {
    font-size: 0.95rem;
    color: var(--text-main);
}

select {
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

select:focus {
    border-color: var(--primary);
    background-color: rgba(239, 68, 68, 0.04);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

select option { background: #0f172a; color: var(--text-main); }

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-sm);
    color: #4ade80;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success.visible { display: flex; }
.form-success i { font-size: 1.1rem; }

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */

.whatsapp-float {
    position: fixed;
    bottom: 5.5rem;
    right: 1.75rem;
    width: 54px;
    height: 54px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition-fast);
    animation: pulse-ring 3s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */

.back-to-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 44px;
    height: 44px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: var(--transition-fast);
    backdrop-filter: blur(8px);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px var(--primary-glow);
}