/* ===================================
   CSS RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #18181b;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    border: none;
    background: none;
    font: inherit;
    cursor: pointer;
}

ul, ol {
    list-style: none;
}

/* ===================================
   CSS VARIABLES
   =================================== */

:root {
    /* Colors */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --secondary-light: #22d3ee;
    --accent: #ec4899;
    --text-dark: #18181b;
    --text-mid: #71717a;
    --text-light: #a1a1aa;
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --bg-card: #f4f4f5;
    --bg-dark: #0a0a0a;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 48px;
    --space-7: 64px;
    --space-8: 80px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-primary: 0 8px 24px rgba(99,102,241,0.3);
    --shadow-secondary: 0 8px 24px rgba(6,182,212,0.3);

    /* Container */
    --container-max: 1280px;
    --container-padding: 32px;
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.center {
    text-align: center;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1em;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(99,102,241,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: white;
    border-color: transparent;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn:active {
    transform: scale(0.98);
}

/* ===================================
   HEADER
   =================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    gap: var(--space-5);
}

.nav-link {
    font-weight: 500;
    color: white;
    position: relative;
}

.site-header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.header-cta {
    margin-left: var(--space-4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.site-header.scrolled .mobile-menu-toggle span {
    background: var(--text-dark);
}

@media (max-width: 1024px) {
    .main-nav,
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: right 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
}

.mobile-nav-link {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1e1b4b 100%);
    z-index: -2;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 20%;
    left: 5%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -30px); }
    50% { transform: translate(-20px, 20px); }
    75% { transform: translate(20px, 30px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
    align-items: center;
}

.hero-text {
    color: white;
}

.eyebrow {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99,102,241,0.2);
    border: 1px solid rgba(99,102,241,0.5);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: var(--space-4);
}

.hero-title {
    color: white;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-6);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.device-mockup {
    width: 320px;
    height: 640px;
    background: #1f2937;
    border-radius: 50px;
    padding: 14px;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.15);
    animation: float-device 6s infinite ease-in-out;
    position: relative;
    overflow: hidden;
}

.device-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 28px;
    background: #1f2937;
    border-radius: 0 0 20px 20px;
    z-index: 10;
    box-shadow: inset 0 -2px 0 rgba(255,255,255,0.1);
}

@keyframes float-device {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.mockup-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e1b4b, #0a0a0a);
    border-radius: 36px;
}

.device-mockup img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 36px;
}

.device-mockup svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 36px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0%, 100% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(12px); }
}

/* Phone shine effect */
@keyframes phone-shine {
    0%, 100% { transform: translateX(-100%) skewX(-10deg); opacity: 0; }
    50% { opacity: 0.3; }
    100% { transform: translateX(100%) skewX(-10deg); opacity: 0; }
}

.device-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    border-radius: 36px;
    animation: phone-shine 3s infinite;
    z-index: 5;
}

/* Enhance hero image responsiveness */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

/* Glow effect for device mockup in hero */
.hero .device-mockup {
    position: relative;
    transition: all 0.3s ease;
}

.hero .device-mockup:hover {
    box-shadow:
        0 20px 60px rgba(0,0,0,0.6),
        0 0 40px rgba(99,102,241,0.4),
        0 0 80px rgba(6,182,212,0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: var(--space-7);
    }

    .device-mockup {
        width: 240px;
        height: 480px;
    }
}

/* ===================================
   TRUST BAR
   =================================== */

.trust-bar {
    padding: var(--space-7) 0;
    background: var(--bg-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
}

.trust-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.trust-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.trust-label {
    font-size: 14px;
    color: var(--text-mid);
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   SECTIONS
   =================================== */

.section {
    padding: var(--space-8) 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: linear-gradient(135deg, #0a0a0a 0%, #1e1b4b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(99,102,241,0.1), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(6,182,212,0.1), transparent 50%);
    pointer-events: none;
}

.section-dark * {
    position: relative;
    z-index: 1;
}

.section-header {
    max-width: 700px;
    margin: 0 auto var(--space-7);
}

.section-title {
    margin-bottom: var(--space-3);
}

.section-dark .section-title {
    color: white;
}

.section-description {
    font-size: 18px;
    color: var(--text-mid);
}

.section-dark .section-description {
    color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }
}

/* ===================================
   SERVICES GRID
   =================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.service-card {
    background: white;
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: var(--space-4);
}

.service-title {
    font-size: 20px;
    margin-bottom: var(--space-2);
}

.service-description {
    color: var(--text-mid);
    margin-bottom: var(--space-4);
}

.service-features {
    margin-bottom: var(--space-4);
}

.service-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-mid);
    font-size: 15px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   PORTFOLIO GRID
   =================================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.portfolio-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.08);
    box-shadow: var(--shadow-secondary);
}

.portfolio-mockup {
    margin-bottom: var(--space-4);
    display: flex;
    justify-content: center;
}

.mockup-device {
    width: 180px;
    height: 360px;
    background: rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.2);
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99,102,241,0.3), rgba(6,182,212,0.3));
    border-radius: 18px;
}

.portfolio-content {
    color: white;
}

.portfolio-title {
    font-size: 20px;
    margin-bottom: var(--space-2);
    color: white;
}

.portfolio-description {
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-3);
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.tech-badge {
    padding: 6px 12px;
    background: rgba(99,102,241,0.2);
    border: 1px solid rgba(99,102,241,0.4);
    border-radius: 6px;
    font-size: 13px;
    color: var(--primary-light);
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   PROCESS STEPS
   =================================== */

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    position: relative;
}

.process-line {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    box-shadow: var(--shadow-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: var(--shadow-primary); }
    50% { box-shadow: 0 8px 32px rgba(99,102,241,0.5); }
}

.step-icon {
    color: var(--primary);
}

.step-title {
    font-size: 18px;
    margin-bottom: var(--space-2);
}

.step-description {
    color: var(--text-mid);
    font-size: 15px;
}

@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-line {
        display: none;
    }
}

@media (max-width: 640px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   TECHNOLOGY GRID
   =================================== */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-3);
}

.tech-badge-large {
    padding: var(--space-3) var(--space-4);
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.tech-badge-large:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-primary);
}

@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===================================
   TESTIMONIALS
   =================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.testimonial-card {
    background: white;
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-mid);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-position {
    font-size: 14px;
    color: var(--text-mid);
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1e1b4b 100%);
    z-index: -2;
}

.cta-section::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), transparent 40%),
                radial-gradient(circle at 80% 50%, rgba(6,182,212,0.2), transparent 40%);
    z-index: -1;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: var(--space-4);
}

.cta-description {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-6);
}

.cta-buttons {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.cta-contact {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255,255,255,0.9);
}

.contact-item svg {
    color: var(--secondary-light);
}

@media (max-width: 640px) {
    .cta-contact {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }
}

/* ===================================
   FOOTER
   =================================== */

.site-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1e1b4b 100%);
    color: rgba(255,255,255,0.8);
    padding: var(--space-7) 0 var(--space-5);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.footer-title {
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-3);
}

.footer-description {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
}

.footer-heading {
    color: white;
    font-size: 16px;
    margin-bottom: var(--space-3);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-links li {
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--secondary-light);
}

.footer-bottom {
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.footer-legal {
    display: flex;
    gap: var(--space-4);
}

.footer-legal a:hover {
    color: var(--secondary-light);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-50 { transition-delay: 0.05s; }
.delay-100 { transition-delay: 0.1s; }
.delay-150 { transition-delay: 0.15s; }
.delay-200 { transition-delay: 0.2s; }
.delay-250 { transition-delay: 0.25s; }
.delay-300 { transition-delay: 0.3s; }

/* ===================================
   PAGE HERO
   =================================== */

.page-hero {
    position: relative;
    padding: 140px 0 80px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1e1b4b 100%);
    z-index: -1;
}

.page-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.page-hero-title {
    color: white;
    margin-bottom: var(--space-4);
}

.page-hero-description {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
        min-height: 40vh;
    }
}

/* ===================================
   SERVICE DETAIL
   =================================== */

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
    align-items: center;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse > * {
    direction: ltr;
}

.service-detail-image {
    display: flex;
    justify-content: center;
}

.detail-mockup {
    width: 280px;
    height: 560px;
    background: rgba(255,255,255,0.05);
    border-radius: 40px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
}

.mockup-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 28px;
}

.service-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-3);
}

.service-detail-text h2 {
    margin-bottom: var(--space-2);
}

.service-tagline {
    font-size: 20px;
    color: var(--text-mid);
    margin-bottom: var(--space-4);
}

.service-detail-text > p {
    margin-bottom: var(--space-5);
}

.service-detail-text h3 {
    font-size: 20px;
    margin-bottom: var(--space-3);
    margin-top: var(--space-5);
}

.detail-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.detail-features li {
    padding-left: 28px;
    position: relative;
    color: var(--text-mid);
}

.detail-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

.detail-benefits {
    background: var(--bg-light);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    margin-top: var(--space-5);
}

.detail-benefits h3 {
    margin-top: 0;
    margin-bottom: var(--space-4);
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.benefit-text {
    display: flex;
    flex-direction: column;
}

.benefit-text strong {
    color: var(--text-dark);
    margin-bottom: 2px;
}

.benefit-text span {
    font-size: 14px;
    color: var(--text-mid);
}

@media (max-width: 1024px) {
    .service-detail-content,
    .service-detail-content.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .service-detail-image {
        order: 2;
    }

    .service-detail-text {
        order: 1;
    }
}

@media (max-width: 640px) {
    .detail-mockup {
        width: 220px;
        height: 440px;
    }
}

/* ===================================
   PACKAGES GRID
   =================================== */

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-7);
}

.package-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.package-card.featured {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}

.package-header {
    text-align: center;
    padding-bottom: var(--space-5);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: var(--space-5);
}

.package-title {
    font-size: 24px;
    color: white;
    margin-bottom: var(--space-2);
}

.package-price {
    font-size: 20px;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.package-description {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}

.package-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
    flex-grow: 1;
}

.package-features li {
    padding-left: 28px;
    position: relative;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 700;
}

.package-ideal {
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.3);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.package-ideal strong {
    color: var(--primary-light);
    font-size: 14px;
}

.package-ideal span {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.btn-block {
    width: 100%;
    display: block;
}

@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .package-card.featured {
        transform: scale(1);
    }

    .package-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 640px) {
    .package-card {
        padding: var(--space-5);
    }
}

/* ===================================
   ABOUT PAGE STYLES
   =================================== */

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image-placeholder {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    margin-bottom: var(--space-4);
}

.about-text > p {
    margin-bottom: var(--space-4);
    font-size: 16px;
    line-height: 1.8;
}

.milestones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(0,0,0,0.1);
}

.milestone {
    text-align: center;
}

.milestone-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.milestone-label {
    display: block;
    font-size: 14px;
    color: var(--text-mid);
}

@media (max-width: 1024px) {
    .about-section {
        grid-template-columns: 1fr;
    }
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.value-card {
    background: white;
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 48px;
    margin-bottom: var(--space-3);
}

.value-card h3 {
    margin-bottom: var(--space-2);
}

.value-card p {
    color: var(--text-mid);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.team-member {
    background: white;
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    box-shadow: var(--shadow-lg);
}

.member-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    margin: 0 auto var(--space-4);
}

.team-member h3 {
    margin-bottom: 4px;
}

.member-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: var(--space-3);
}

.member-bio {
    color: var(--text-mid);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    color: white;
}

.expertise-item {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

.expertise-item h4 {
    color: var(--primary-light);
    margin-bottom: var(--space-3);
}

.expertise-item ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.expertise-item li {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
}

@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* Location Section */
.location-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
    align-items: center;
}

.location-map {
    display: flex;
    justify-content: center;
}

.map-placeholder {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #1e1b4b, #0a0a0a);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.location-text h2 {
    margin-bottom: var(--space-2);
}

.location-text h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: var(--space-4);
}

.location-text > p {
    margin-bottom: var(--space-5);
    color: var(--text-mid);
    line-height: 1.8;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.info-item {
    padding: var(--space-3);
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.info-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.info-item p {
    margin: 0;
    font-size: 15px;
    color: var(--text-mid);
}

@media (max-width: 1024px) {
    .location-section {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   CONTACT PAGE STYLES
   =================================== */

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto var(--space-8);
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-title {
    text-align: center;
    margin-bottom: var(--space-6);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.error-message {
    color: #ef4444;
    font-size: 13px;
    display: none;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-2);
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.checkbox-group label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--primary);
    font-weight: 600;
}

.form-message {
    padding: var(--space-4);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.form-message.success-message {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-message.error-message {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: var(--space-4);
    }
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.contact-card {
    background: white;
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto var(--space-4);
}

.contact-card h3 {
    margin-bottom: var(--space-2);
}

.contact-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary);
    font-weight: 600;
}

.text-muted {
    color: var(--text-mid);
    font-size: 14px;
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: var(--space-4);
    background: rgba(255,255,255,0.02);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
    transition: background 0.3s ease;
}

.faq-item:hover .faq-question {
    background: rgba(255,255,255,0.05);
}

.faq-question h4 {
    color: white;
    margin: 0;
    font-size: 18px;
    flex: 1;
}

.faq-toggle {
    color: var(--primary-light);
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255,255,255,0.02);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: var(--space-4);
    padding-top: 0;
}

.faq-answer p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .faq-question h4 {
        font-size: 16px;
    }
}

/* ===================================
   LEGAL PAGE STYLES
   =================================== */

.legal-section {
    padding: 80px 0 120px;
    background: #0f0f12;
}

.legal-container {
    max-width: 850px;
    background: #ffffff;
    padding: 60px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.legal-container h1 {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 2px solid #00d9ff;
    color: #0f0f12;
}

.legal-container h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    margin-top: var(--space-10);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid #e5e7eb;
    color: #00d9ff;
}

.legal-container h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    margin-top: var(--space-6);
    margin-bottom: var(--space-4);
    color: #0f0f12;
}

.legal-container p {
    margin-bottom: var(--space-5);
    line-height: 1.8;
    color: #4b5563;
}

.legal-container ul,
.legal-container ol {
    margin-left: var(--space-6);
    margin-bottom: var(--space-6);
    line-height: 1.8;
}

.legal-container li {
    margin-bottom: var(--space-3);
    color: #4b5563;
    line-height: 1.7;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-8);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.legal-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.legal-table tr:last-child {
    border-bottom: none;
}

.legal-table td {
    padding: var(--space-5);
    vertical-align: top;
    line-height: 1.6;
    color: #4b5563;
}

.legal-table td:first-child {
    font-weight: 600;
    color: #00d9ff;
    width: 200px;
    background: rgba(0,217,255,0.05);
}
