/* ===========================
   DESIGN SYSTEM & VARIABLES
   =========================== */

:root {
    /* Colors - Premium Palette */
    --color-primary: hsl(250, 84%, 54%);
    --color-primary-light: hsl(250, 84%, 64%);
    --color-primary-dark: hsl(250, 84%, 44%);
    --color-secondary: hsl(280, 100%, 70%);
    --color-accent: hsl(340, 82%, 52%);
    --color-success: hsl(142, 76%, 36%);

    /* Backgrounds */
    --bg-primary: hsl(240, 21%, 5%);
    --bg-secondary: hsl(240, 15%, 8%);
    --bg-tertiary: hsl(240, 12%, 12%);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);

    /* Text Colors */
    --text-primary: hsl(0, 0%, 98%);
    --text-secondary: hsl(0, 0%, 70%);
    --text-tertiary: hsl(0, 0%, 50%);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(250, 84%, 54%), hsl(280, 100%, 70%));
    --gradient-secondary: linear-gradient(135deg, hsl(340, 82%, 52%), hsl(280, 100%, 70%));
    --gradient-accent: linear-gradient(135deg, hsl(190, 100%, 50%), hsl(250, 84%, 54%));

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Light Mode */
[data-theme="light"] {
    --bg-primary: hsl(0, 0%, 98%);
    --bg-secondary: hsl(0, 0%, 95%);
    --bg-tertiary: hsl(0, 0%, 92%);
    --bg-glass: rgba(0, 0, 0, 0.03);
    --bg-glass-hover: rgba(0, 0, 0, 0.06);
    --text-primary: hsl(240, 21%, 10%);
    --text-secondary: hsl(240, 10%, 30%);
    --text-tertiary: hsl(240, 5%, 50%);
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.2);
}

[data-theme="light"] .nav {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .nav-link {
    color: var(--text-secondary);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--text-primary);
}

[data-theme="light"] .btn-outline {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

[data-theme="light"] .btn-outline:hover {
    border-color: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .btn-white {
    background: var(--bg-primary);
    color: var(--color-primary);
    border: 2px solid var(--border-color);
}

[data-theme="light"] .btn-glass {
    color: var(--text-primary);
}

[data-theme="light"] .btn-primary {
    color: white;
}

[data-theme="light"] .grid-overlay {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
}

/* ===========================
   RESET & BASE STYLES
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Global Background with Animated Orbs */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    background: var(--bg-primary);
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

[data-theme="light"] body::after {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
}

/* Animated Gradient Orbs - Global */
.global-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.global-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, hsl(250, 84%, 54%), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.global-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, hsl(280, 100%, 70%), transparent);
    top: 50%;
    right: -150px;
    animation-delay: -7s;
}

.global-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, hsl(340, 82%, 52%), transparent);
    bottom: -100px;
    left: 30%;
    animation-delay: -14s;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* ===========================
   TYPOGRAPHY
   =========================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    color: var(--color-secondary);
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: var(--bg-glass);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-glass {
    background: var(--bg-glass);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-glass:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-white {
    background: white;
    color: var(--bg-primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.05rem;
}

/* ===========================
   NAVIGATION
   =========================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(10, 10, 20, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.25rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

/* Theme Toggle */
.theme-toggle {
    width: 50px;
    height: 26px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: var(--bg-glass-hover);
}

.theme-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: transform var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

[data-theme="light"] .theme-toggle-slider {
    transform: translateX(24px);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, hsl(250, 84%, 54%), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, hsl(280, 100%, 70%), transparent);
    top: 50%;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, hsl(340, 82%, 52%), transparent);
    bottom: -100px;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.stat-item:hover {
    background: var(--bg-glass-hover);
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    animation: fadeIn 1s ease 1s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

    0%,
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }

    50% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===========================
   SECTIONS
   =========================== */

section {
    padding: var(--spacing-xl) 0;
    position: relative;
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .services {
    background: rgba(255, 255, 255, 0.3);
}

.how-it-works {
    background: transparent;
}

.why-choose {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .why-choose {
    background: rgba(255, 255, 255, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    position: relative;
    padding: 2.5rem;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.3);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-glow {
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.service-card:hover .service-glow {
    opacity: 1;
}

.services-footer {
    text-align: center;
}

.highlight-box {
    display: inline-block;
    padding: 2rem 3rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===========================
   HOW IT WORKS
   =========================== */

.timeline {
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: var(--shadow-glow);
}

.timeline-content {
    padding: 1.5rem 0;
}

.timeline-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(to bottom, var(--color-primary), transparent);
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.cta-box {
    text-align: center;
    padding: 3rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

/* ===========================
   WHY CHOOSE US
   =========================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    padding: 2.5rem;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: scale(1.05);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.stats-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.orb-cta-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, hsl(250, 84%, 54%), transparent);
    top: -150px;
    left: 10%;
}

.orb-cta-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, hsl(340, 82%, 52%), transparent);
    bottom: -100px;
    right: 10%;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}


/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all var(--transition-base);
    }

    .nav-menu.active {
        max-height: 500px;
        opacity: 1;
    }

    .nav-menu li {
        padding: 0;
    }

    .nav-link {
        display: block;
        padding: 1rem var(--spacing-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    .nav-actions {
        display: none !important;
    }

    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }


    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        gap: 1rem;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 1.5rem;
    }

    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .timeline-line {
        left: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stat-item {
        flex: 1 1 100%;
    }
}

/* ===========================
   ANIMATIONS & UTILITIES
   =========================== */

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Smooth scrolling for all browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ===========================
   SERVICES PAGE STYLES
   =========================== */

.page-header {
    position: relative;
    padding: 10rem 0 6rem;
    text-align: center;
    overflow: hidden;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.service-detail {
    padding: var(--spacing-xl) 0;
}

.service-detail.alt {
    background: var(--bg-secondary);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse>* {
    direction: ltr;
}

.service-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.service-detail-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.service-detail-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-list li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.tech-tag:hover {
    background: var(--bg-glass-hover);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Code Preview */
.code-preview {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.code-header {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.code-content {
    padding: 1.5rem;
}

.code-content pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-keyword {
    color: #c084fc;
}

.code-function {
    color: #60a5fa;
}

.code-string {
    color: #34d399;
}

.code-comment {
    color: var(--text-tertiary);
    font-style: italic;
}

/* Design Showcase */
.design-showcase {
    padding: 2rem;
}

.design-card {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.design-placeholder {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.design-element {
    height: 60px;
    border-radius: var(--radius-sm);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Content Preview */
.content-preview {
    padding: 2rem;
}

.content-card {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.content-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.content-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.content-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.content-line {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.content-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Data Showcase */
.data-showcase {
    padding: 2rem;
}

.data-table {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.data-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.data-row.header .data-cell {
    background: var(--gradient-primary);
    height: 40px;
}

.data-cell {
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

/* ===========================
   PRICING PAGE STYLES
   =========================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    position: relative;
    padding: 2.5rem;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.pricing-card.featured {
    background: var(--bg-glass);
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.pricing-duration {
    color: var(--text-tertiary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.pricing-subprice {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.enterprise-cta {
    text-align: center;
    padding: 3rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.enterprise-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ===========================
   RESPONSIVE - SERVICES & PRICING
   =========================== */

@media (max-width: 968px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-detail-grid.reverse {
        direction: ltr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 8rem 0 4rem;
    }

    .service-icon-large {
        font-size: 3rem;
    }

    .service-detail-content h2 {
        font-size: 2rem;
    }
}

/* ===========================
   FAQ STYLES
   =========================== */

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    padding: 2rem;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   PORTFOLIO PAGE STYLES
   =========================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.portfolio-item h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.portfolio-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   ABOUT PAGE STYLES
   =========================== */

.about-hero {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-content p {
    margin-bottom: 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.team-member:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
}

.team-member h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--text-tertiary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-member p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===========================
   CONTACT PAGE STYLES
   =========================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-method:hover {
    background: var(--bg-glass-hover);
    border-color: var(--color-primary);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 1.5rem;
}

.contact-method-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-method-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.contact-form {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--bg-glass-hover);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
}

/* ===========================
   RESPONSIVE - ADDITIONAL PAGES
   =========================== */

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        position: static;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   CAREERS PAGE STYLES
   =========================== */

/* Job Listings */
.job-listings {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.job-card {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
}

.job-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.job-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.job-meta {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.job-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.job-description p {
    margin-bottom: 0.75rem;
}

.job-description ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.job-description li {
    margin-bottom: 0.5rem;
}

.job-description strong {
    color: var(--text-primary);
}

/* Application Form */
.application-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--bg-glass-hover);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input[type='file'] {
    padding: 0.75rem;
    cursor: pointer;
}

.form-group input[type='file']::file-selector-button {
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    margin-right: 1rem;
    transition: all var(--transition-base);
}

.form-group input[type='file']::file-selector-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.form-submit {
    width: 100%;
    justify-content: center;
}

[data-theme='light'] .application-form-container,
[data-theme='light'] .job-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme='light'] .form-group input,
[data-theme='light'] .form-group select,
[data-theme='light'] .form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .application-form-container {
        padding: 2rem 1.5rem;
    }

    .job-header {
        flex-direction: column;
    }

    .job-header .btn {
        width: 100%;
        justify-content: center;
    }
}
