/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    animation: logoFloat 2s ease-in-out infinite;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: fadeIn 0.5s ease-out;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: loading 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

@keyframes loading {
    0% {
        width: 0%;
        transform: translateX(0);
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
        transform: translateX(0);
    }
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --glass-bg: rgba(30, 41, 59, 0.8);
    --glass-border: rgba(148, 163, 184, 0.1);
    --shadow-primary: rgba(99, 102, 241, 0.3);
    --shadow-secondary: rgba(139, 92, 246, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    direction: rtl;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Custom Cursor Effect */
@media (min-width: 1024px) {
    body {
        cursor: default;
    }
    
    a, button, .btn, .service-card, .project-card, .stat-card, .testimonial-card {
        cursor: pointer;
    }
}

/* Selection color */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Subtle grid pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.nav-brand h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    transition: all 0.3s;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.nav-brand:hover h1 {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    outline: none;
}

.nav-menu a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle:hover span {
    background: var(--primary-color);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

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

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

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

/* Hero Section */
.hero {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    text-align: center;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

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

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    animation: float linear infinite;
    box-shadow: 0 0 8px rgba(99, 102, 241, 1), 0 0 12px rgba(139, 92, 246, 0.6);
    will-change: transform;
}

.particle:nth-child(3n) {
    background: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 8px rgba(139, 92, 246, 1), 0 0 12px rgba(99, 102, 241, 0.6);
}

.particle:nth-child(5n) {
    background: rgba(236, 72, 153, 0.5);
    box-shadow: 0 0 8px rgba(236, 72, 153, 0.8), 0 0 12px rgba(139, 92, 246, 0.4);
    width: 5px;
    height: 5px;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    animation: fadeInUp 1s ease-out 1s both;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 15px;
    position: relative;
}

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

.arrow {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.arrow span {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    animation: arrowBounce 1.5s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrowBounce {
    0%, 100% {
        opacity: 0;
        transform: rotate(45deg) translateY(0);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) translateY(5px);
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    animation: fadeInUp 1s ease-out 0.2s both;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.badge-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    transition: all 0.3s;
}

.badge-text:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.8s both;
    position: relative;
    z-index: 1;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s;
    font-weight: 500;
}

.hero-feature:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    border-radius: 50%;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    transition: all 0.3s;
}

.hero-feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5);
}

.hero-description {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    outline: none;
}

.btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.btn-primary svg {
    transition: transform 0.3s;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.btn-primary:hover svg {
    transform: translateX(-3px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-block {
    width: 100%;
}

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

section > .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 0.5s both;
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary-color);
    box-shadow: 
        0 20px 40px rgba(99, 102, 241, 0.3), 
        0 0 0 1px rgba(99, 102, 241, 0.1),
        0 0 30px rgba(99, 102, 241, 0.2);
    will-change: transform;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: color 0.3s;
    position: relative;
    z-index: 1;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.service-card:hover h3 {
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    transition: color 0.3s;
    line-height: 1.7;
    font-size: 1rem;
}

.service-card:hover p {
    color: var(--text-primary);
}

/* Plans */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.plan-card:hover::before {
    transform: scaleX(1);
}

.plan-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.1);
    background: rgba(30, 41, 59, 0.8);
}

.plan-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    box-shadow: 
        0 10px 30px rgba(99, 102, 241, 0.2),
        0 0 40px rgba(99, 102, 241, 0.1);
    position: relative;
}

.plan-card.featured::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 16px;
    z-index: -1;
    opacity: 0.3;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.plan-card.featured::before {
    transform: scaleX(1);
    height: 4px;
}

.plan-badge {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: translateX(50%) scale(1);
    }
    50% {
        transform: translateX(50%) scale(1.05);
    }
}

.plan-price {
    margin: 2rem 0;
}

.plan-price .price {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s;
}

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

.plan-price .currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.5rem;
}

.plan-features {
    list-style: none;
    text-align: right;
    margin: 2rem 0;
    min-height: 200px;
}

.plan-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    padding-right: 1.5rem;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--success-color);
    font-weight: bold;
    opacity: 0.7;
    transition: all 0.3s;
}

.plan-card:hover .plan-features li::before {
    opacity: 1;
    transform: scale(1.2);
}

.plan-features li:hover {
    color: var(--text-primary);
    padding-right: 2rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

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

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 
        0 20px 40px rgba(99, 102, 241, 0.3), 
        0 0 0 1px rgba(99, 102, 241, 0.1),
        0 0 30px rgba(99, 102, 241, 0.2);
    will-change: transform;
}

.project-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.project-card-header {
    position: relative;
    z-index: 1;
}

.project-card-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    transition: color 0.3s;
}

.project-card:hover .project-card-header h3 {
    color: var(--secondary-color);
}

.project-card-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.project-card:hover .project-card-header p {
    color: var(--text-primary);
}

.project-card-preview {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.project-preview-iframe {
    width: 200%;
    height: 200%;
    border: none;
    transform: scale(0.5);
    transform-origin: top right;
    pointer-events: none;
    background: white;
    transition: transform 0.3s;
}

.project-card-preview:hover .project-preview-iframe {
    transform: scale(0.55);
}

.project-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 23, 42, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
}

.project-card-preview:hover .project-preview-overlay {
    opacity: 1;
}

.project-card-preview:hover .project-preview-iframe {
    pointer-events: auto;
}

.project-preview-overlay .btn {
    pointer-events: auto;
    z-index: 10;
    transform: translateY(10px);
    transition: transform 0.3s;
}

.project-card-preview:hover .project-preview-overlay .btn {
    transform: translateY(0);
}

.project-card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.project-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.project-description-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}


.project-card-actions .btn {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.project-card-actions .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.project-card-actions .btn:hover::after {
    width: 300px;
    height: 300px;
}

.no-projects {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem;
    grid-column: 1 / -1;
    background: rgba(30, 41, 59, 0.3);
    border-radius: 16px;
    border: 2px dashed rgba(148, 163, 184, 0.2);
    transition: all 0.3s;
}

.no-projects:hover {
    border-color: var(--primary-color);
    background: rgba(30, 41, 59, 0.5);
}

.no-projects a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.1);
}

.no-projects a:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Page Header */
.page-header {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Services Details */
.services-details {
    padding: 4rem 0;
}

.service-detail-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.service-detail-card:hover::before {
    transform: scaleX(1);
}

.service-detail-card:hover {
    border-color: var(--primary-color);
    box-shadow: 
        0 20px 40px rgba(99, 102, 241, 0.3), 
        0 0 0 1px rgba(99, 102, 241, 0.1),
        0 0 30px rgba(99, 102, 241, 0.2);
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.8);
    will-change: transform;
}

.service-detail-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.service-detail-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-detail-card > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.service-features li {
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    border-right: 3px solid var(--primary-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-features li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
    transition: left 0.5s;
}

.service-features li:hover {
    background: rgba(99, 102, 241, 0.2);
    color: var(--text-primary);
    transform: translateX(-5px);
    border-right-color: var(--secondary-color);
}

.service-features li:hover::before {
    left: 100%;
}

/* Plans Comparison */
.plans-comparison {
    margin-top: 5rem;
}

.plans-comparison h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem;
    text-align: right;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s;
}

.comparison-table th {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table tr:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    font-weight: 600;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

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

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 
        0 15px 35px rgba(99, 102, 241, 0.3),
        0 0 25px rgba(99, 102, 241, 0.2);
    will-change: transform;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.4s;
}

.stat-card:hover .stat-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.6));
}

.stat-card:hover .stat-number {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card:hover .stat-label {
    color: var(--text-primary);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
    letter-spacing: 0.02em;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    outline: none;
}

.back-to-top:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.back-to-top:active {
    transform: translateY(-3px) scale(0.95);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

/* Floating Chat Button */
.floating-chat-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    z-index: 999;
    transition: all 0.3s;
    outline: none;
}

.floating-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.7);
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.floating-chat-btn:active {
    transform: scale(0.95);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid var(--bg-dark);
    animation: pulse 2s infinite;
}

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

/* Chat Modal */
.chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease-out;
}

.chat-modal.active {
    display: flex;
}

.chat-modal-content {
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-modal-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.chat-modal-close {
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    color: var(--danger-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.chat-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--danger-color);
    transform: rotate(90deg) scale(1.1);
}

@media (max-width: 768px) {
    .floating-chat-btn {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .chat-modal-content {
        max-height: 95vh;
        border-radius: 0;
    }

    .chat-modal-header {
        padding: 1rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 8rem;
    color: rgba(99, 102, 241, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 
        0 20px 40px rgba(99, 102, 241, 0.3),
        0 0 30px rgba(99, 102, 241, 0.2);
    background: rgba(30, 41, 59, 0.8);
    will-change: transform;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: all 0.3s;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    font-weight: 700;
}

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

.testimonial-rating {
    color: #fbbf24;
    font-size: 1rem;
    letter-spacing: 2px;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
    transition: all 0.3s;
}

.testimonial-card:hover .testimonial-rating {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.5));
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.9;
    position: relative;
    z-index: 1;
    font-style: italic;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.testimonial-card:hover .testimonial-text {
    color: var(--text-primary);
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 12px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.footer-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.footer-section h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: all 0.3s;
    color: var(--primary-color);
}

.footer-section ul li a:hover::before {
    opacity: 1;
    right: -15px;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
    display: inline-block;
}

.footer-section ul li {
    transition: transform 0.3s;
}

.footer-section ul li:hover {
    transform: translateX(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-bottom p {
    transition: color 0.3s;
}

.footer-bottom:hover p {
    color: var(--text-secondary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    position: relative;
    padding: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-small {
    max-width: 600px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 10;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: none;
    outline: none;
}

.modal-close:focus {
    outline: 2px solid var(--danger-color);
    outline-offset: 2px;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.modal-content iframe {
    width: 100%;
    height: calc(90vh - 100px);
    border: none;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.modal-content iframe:hover {
    transform: scale(1.01);
}

/* Description Modal Styles */
.description-modal {
    z-index: 10001;
}

.description-modal-content {
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.description-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
    position: relative;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 16px 16px 0 0;
}

.description-modal-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 14px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(99, 102, 241, 0.6);
    }
}

.description-modal-title {
    flex: 1;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.description-modal-close {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    color: var(--danger-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.description-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--danger-color);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.description-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 0 0 16px 16px;
}

.description-modal-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin: 0;
    text-align: right;
    white-space: pre-wrap;
    word-wrap: break-word;
    position: relative;
}

/* Markdown styles in description modal */
.description-modal-text .markdown-h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description-modal-text .markdown-h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 1.25rem 0 0.75rem;
    padding-right: 0.5rem;
    border-right: 3px solid var(--secondary-color);
}

.description-modal-text .markdown-h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 1rem 0 0.5rem;
    padding-right: 0.5rem;
}

.description-modal-text .markdown-p {
    margin: 0.75rem 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

.description-modal-text .markdown-bold {
    font-weight: 700;
    color: var(--text-primary);
}

.description-modal-text .markdown-italic {
    font-style: italic;
    color: var(--text-secondary);
}

.description-modal-text .markdown-ul,
.description-modal-text .markdown-ol {
    margin: 1rem 0;
    padding-right: 2rem;
    color: var(--text-secondary);
}

.description-modal-text .markdown-li,
.description-modal-text .markdown-li-ordered {
    margin: 0.5rem 0;
    line-height: 1.8;
    padding-right: 0.5rem;
    position: relative;
}

.description-modal-text .markdown-li::before {
    content: '▸';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    right: -1.5rem;
}

.description-modal-text .markdown-li-ordered {
    list-style: decimal;
    list-style-position: inside;
    padding-right: 1rem;
}

.description-modal-text .markdown-code-block {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    direction: ltr;
    text-align: left;
}

.description-modal-text .markdown-code-block code {
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: pre;
}

.description-modal-text .markdown-inline-code {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.description-modal-text .markdown-link {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s;
    padding: 0 0.2rem;
}

.description-modal-text .markdown-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
}

/* Scrollbar styling for description modal */
.description-modal-body::-webkit-scrollbar {
    width: 8px;
}

.description-modal-body::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 4px;
}

.description-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

.description-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* Responsive styles for description modal */
@media (max-width: 768px) {
    .description-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .description-modal-header {
        padding: 1.5rem 1rem 1rem;
        flex-wrap: wrap;
    }
    
    .description-modal-icon {
        width: 48px;
        height: 48px;
    }
    
    .description-modal-title {
        font-size: 1.5rem;
        flex: 1 1 100%;
        order: 2;
        margin-top: 0.5rem;
    }
    
    .description-modal-close {
        top: 1rem;
        left: 1rem;
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
        order: 1;
    }
    
    .description-modal-body {
        padding: 1.5rem 1rem;
    }
    
    .description-modal-text {
        font-size: 1rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: rgba(30, 41, 59, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: 2rem;
        border-top: 1px solid var(--border-color);
        transition: right 0.3s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 5rem 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .plans-grid,
    .projects-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .service-icon {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .gradient-text {
        display: block;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

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

    .back-to-top {
        bottom: 1rem;
        left: 1rem;
        width: 45px;
        height: 45px;
    }

    .hero-badge {
        margin-bottom: 1rem;
    }

    .badge-text {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-header {
        flex-wrap: wrap;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }
}

/* Additional responsive for very small screens */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Loading shimmer effect for cards */
.card-loading {
    background: linear-gradient(
        90deg,
        rgba(30, 41, 59, 0.6) 0%,
        rgba(30, 41, 59, 0.8) 50%,
        rgba(30, 41, 59, 0.6) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Pulse animation for important elements */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.service-card,
.plan-card,
.project-card,
.stat-card,
.testimonial-card {
    animation: fadeIn 0.5s ease-out;
}

/* Stagger animation for grid items */
.services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { animation-delay: 0.4s; }

.stats-grid .stat-card:nth-child(1) { animation-delay: 0.1s; }
.stats-grid .stat-card:nth-child(2) { animation-delay: 0.2s; }
.stats-grid .stat-card:nth-child(3) { animation-delay: 0.3s; }
.stats-grid .stat-card:nth-child(4) { animation-delay: 0.4s; }

.testimonials-grid .testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonials-grid .testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonials-grid .testimonial-card:nth-child(3) { animation-delay: 0.3s; }

/* Scroll animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced reveal with scale */
.reveal-scale {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Enhanced button styles */
.btn-secondary {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 2px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: left 0.3s;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    border-color: transparent;
}

.btn-outline:active {
    transform: translateY(0);
}
