/* ========== CSS Variables ========== */
:root {
    --primary: #00f0ff;
    --primary-dark: #00c8d4;
    --primary-glow: rgba(0, 240, 255, 0.3);
    --secondary: #7c3aed;
    --secondary-glow: rgba(124, 58, 237, 0.2);
    --bg: #0a0e27;
    --bg-light: #0f1535;
    --bg-card: #131a3d;
    --bg-card-hover: #1a2250;
    --text: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border: #1e2a5e;
    --border-light: #2a3a6e;
    --gradient-start: rgba(0, 240, 255, 0.08);
    --gradient-end: transparent;
    --font: 'Cairo', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* ========== Animated Background ========== */
.animated-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15), transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12), transparent 70%);
    bottom: -10%;
    left: -5%;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08), transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 20s;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 70%);
    top: 60%;
    right: 20%;
    animation-delay: -7s;
    animation-duration: 18s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(40px, 20px) scale(1.02); }
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.bg-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

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

.section {
    padding: 120px 0;
    position: relative;
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -1px;
}

.logo-text {
    color: var(--text);
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

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

.nav-cta {
    background: var(--primary);
    color: var(--bg);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 100px 32px 40px;
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 4px;
    margin-bottom: 30px;
}

.mobile-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 14px 20px;
    border-radius: 12px;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.mobile-link::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-light);
    transition: var(--transition-fast);
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--primary);
    background: rgba(0, 240, 255, 0.05);
}

.mobile-link:hover::before,
.mobile-link.active::before {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.mobile-cta {
    margin-top: auto;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font);
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--primary-glow);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* ========== Section Common ========== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-badge span {
    width: 30px;
    height: 2px;
    background: var(--primary);
    display: inline-block;
}

.section-badge.center {
    justify-content: center;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title.center {
    text-align: center;
}

.text-accent {
    color: var(--primary);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, var(--gradient-start) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, var(--secondary-glow) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -10%;
    right: -10%;
    animation: floatGlow 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -10%;
    left: -10%;
    animation: floatGlow 8s ease-in-out infinite reverse;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 30px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--primary);
    opacity: 0.2;
    border-radius: 4px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

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

.h-stat-num,
.h-stat-plus {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.h-stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ========== About Section ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.about-img-wrapper img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, transparent 50%);
}

.about-float-card {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 28px;
    backdrop-filter: blur(10px);
}

.float-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.float-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.a-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.a-feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.a-feature span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ========== Services Section ========== */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    border-color: var(--border-light);
    transform: translateY(-8px);
    background: var(--bg-card-hover);
}

.service-card:hover::before {
    opacity: 1;
}

.service-number {
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(0, 240, 255, 0.06);
    line-height: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.service-link svg {
    transition: transform 0.3s ease;
}

.service-link:hover svg {
    transform: translateX(-5px);
}

/* ========== Why Us Section ========== */
.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.why-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-fast);
}

.why-feature:hover .why-icon {
    background: var(--primary);
    color: var(--bg);
    transform: rotate(-5deg) scale(1.1);
}

.why-feature-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

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

.why-visual-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-circle {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-circle:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ========== Portfolio Section ========== */
.portfolio {
    background: var(--bg-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px;
    gap: 20px;
}

.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.portfolio-card.large {
    grid-column: span 2;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--bg);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    width: fit-content;
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.portfolio-overlay p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========== Testimonials Section ========== */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: calc(33.333% - 16px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-light);
    transform: translateY(-5px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--primary);
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 700;
}

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

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.test-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.test-btn:hover {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
}

.test-dots {
    display: flex;
    gap: 8px;
}

.test-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.test-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ========== Team Section ========== */
.team {
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--border-light);
    transform: translateY(-8px);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.08);
}

.team-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.team-social a {
    width: 36px;
    height: 36px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition-fast);
}

.team-social a:hover {
    background: var(--primary);
    color: var(--bg);
}

.team-info {
    padding: 24px;
    text-align: center;
}

.team-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.team-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== Process Section ========== */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 30px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    opacity: 0.3;
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-num {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: var(--transition-fast);
}

.process-step:hover .process-num {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.process-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 32px;
    flex: 1;
    transition: var(--transition);
}

.process-step:hover .process-content {
    border-color: var(--border-light);
    transform: translateX(-5px);
}

.process-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== CTA Section ========== */
.cta {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
    text-align: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(200, 255, 0, 0.06) 0%, transparent 70%);
}

.cta-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 50px 50px;
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.1;
}

.cta-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -20%;
    left: 20%;
}

.cta-glow-2 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    bottom: -20%;
    right: 20%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== Footer ========== */
.footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links-col ul li {
    margin-bottom: 14px;
}

.footer-links-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links-col ul li a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.footer-links-col ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links-col ul li svg {
    min-width: 16px;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

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

/* ========== Scroll Reveal ========== */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .about-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-card.large {
        grid-column: span 2;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-features {
        grid-template-columns: 1fr;
    }

    .why-visual-inner {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .hero-stats {
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .portfolio-card.large {
        grid-column: span 1;
    }

    .testimonial-card {
        min-width: 100%;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex-direction: column;
        align-items: flex-start;
    }

    .process-line {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .about-features {
        flex-direction: column;
        gap: 16px;
    }

    .why-visual-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .stat-circle {
        padding: 20px 14px;
    }

    .stat-num {
        font-size: 1.8rem;
    }
}

/* ========== Smooth scrollbar ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-dim);
}

/* ========== Selection ========== */
::selection {
    background: var(--primary);
    color: var(--bg);
}


/* ========== Contact Section ========== */
.contact {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.contact-form {
    position: relative;
    z-index: 1;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    padding-left: 40px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text);
}

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

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    padding: 16px 32px;
    font-size: 1rem;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-fast);
}

.info-item:hover .info-icon {
    background: var(--primary);
    color: var(--bg);
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--primary-glow);
}

.info-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-text a,
.info-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.info-text a:hover {
    color: var(--primary);
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: none;
    filter: brightness(0.8) contrast(1.1);
}

/* ========== CTA Banner ========== */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    z-index: 1;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-banner-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-banner-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.8;
}

.cta-banner-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== Floating Buttons ========== */
.float-btn {
    position: fixed;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    z-index: 1000;
    transition: var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.float-whatsapp {
    bottom: 30px;
    left: 30px;
    background: #25d366;
    color: #fff;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

.float-whatsapp:hover {
    background: #22c35e;
}

.float-top {
    bottom: 100px;
    left: 30px;
    background: var(--primary);
    color: var(--bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.float-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-top:hover {
    background: var(--primary-dark);
}

/* Form success message */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 240, 255, 0.1);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
}

.form-success h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-muted);
}

/* ========== Responsive Contact ========== */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-info-card {
        flex: 1;
        min-width: 280px;
    }

    .contact-map {
        flex: 1;
        min-width: 280px;
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-info-wrapper {
        flex-direction: column;
    }

    .float-btn {
        width: 48px;
        height: 48px;
    }

    .float-whatsapp {
        bottom: 20px;
        left: 20px;
    }

    .float-top {
        bottom: 80px;
        left: 20px;
    }

    .float-btn svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .contact-info-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .cta-banner {
        padding: 60px 0;
    }
}
