/* ========================================
   GLOBAL STYLES & VARIABLES
   ======================================== */

:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #e0e7ff;
    --secondary: #8b5cf6;
    --accent: #a78bfa;
    --dark: #0f172a;
    --dark-2: rgb(30, 41, 59);
    --light: #f8fafc;
    --light-2: #f1f5f9;
    --border: #e2e8f0;
    --text-dark: #1e293b;
    --text-light: #475569;
    --text-muted: #64748b;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Font */
    --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

/* ========================================
   BACKGROUND IMAGE
   ======================================== */

html {
    background: url('background_image.png') fixed center / cover no-repeat;
    background-attachment: fixed;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-xl);
}

p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

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

a:hover {
    color: var(--primary-dark);
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-2xl) 0;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
    text-align: center;
}

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

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: var(--font-size-base);
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #ffffff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: var(--spacing-md) 0;
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    white-space: nowrap;
    transition: color var(--transition);
}

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

.logo-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    border-radius: var(--radius-md);
    font-size: 18px;
}

.logo-text {
    display: none;
}

@media (min-width: 768px) {
    .logo-text {
        display: inline;
    }
}

.nav-menu {
    display: none;
    list-style: none;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-weight: 500;
    font-size: var(--font-size-sm);
    color: var(--text-dark);
    transition: color var(--transition);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

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

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

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

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

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

.hero {
    padding: var(--spacing-2xl) 0;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: var(--font-size-5xl);
    }
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: flex-start;
}

@media (min-width: 768px) {
    .hero-cta {
        flex-direction: row;
        gap: var(--spacing-lg);
    }
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-placeholder svg {
    width: 100%;
    height: 100%;
}

/* ========================================
   SECTION HEADER
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(241, 245, 249, 0.95) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    padding: var(--spacing-lg);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), rgba(167, 139, 250, 0.1));
    border-radius: var(--radius-md);
    color: var(--primary);
    flex-shrink: 0;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-size: var(--font-size-lg);
    margin: 0;
}

.service-card p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

/* ========================================
   BENEFITS SECTION
   ======================================== */

.benefits {
    background: rgba(255, 255, 255, 0.93);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-item {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #f8fafc, var(--light-2));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.benefit-item:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-light), rgba(167, 139, 250, 0.05));
    transform: translateY(-4px);
}

.benefit-number {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
}

.benefit-item h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.benefit-item p {
    margin: 0;
    font-size: var(--font-size-sm);
}

/* ========================================
   NON-TECHNICAL SECTION
   ======================================== */

.non-technical {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    padding: var(--spacing-2xl) 0;
}

.non-tech-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.non-technical h2 {
    color: #ffffff;
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
}

.non-technical p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.non-technical strong {
    font-weight: 700;
    color: #ffffff;
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process {
    background: rgba(255, 255, 255, 0.92);
}

.process-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    position: relative;
}

@media (min-width: 768px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }
}

.process-step {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #f8fafc, var(--light-2));
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.process-step:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.step-number {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
}

.process-step h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.process-step p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.process-arrow {
    display: none;
    position: absolute;
    top: 50%;
    right: -30px;
    width: 20px;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

@media (min-width: 1024px) {
    .process-arrow {
        display: block;
    }
    
    .process-timeline > .process-step:nth-child(odd) {
        margin-right: 20px;
    }
    
    .process-timeline > .process-arrow:nth-child(2),
    .process-timeline > .process-arrow:nth-child(4),
    .process-timeline > .process-arrow:nth-child(6) {
        display: block;
        width: 40px;
        right: -40px;
    }
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    text-align: center;
}

.cta-content h2 {
    color: #ffffff;
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    justify-content: center;
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
        gap: var(--spacing-lg);
    }
}

.final-cta .btn-primary {
    background: #ffffff;
    color: var(--primary);
}

.final-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.final-cta .btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.final-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.footer {
    background: var(--dark-2);
    color: #ffffff;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: var(--font-size-sm);
}

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

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
}

/* ========================================
   MOBILE MENU
   ======================================== */

.nav-menu.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .nav-menu.mobile-open {
        display: flex !important;
        position: relative;
        top: auto;
        background: transparent;
        padding: 0;
        border: none;
        box-shadow: none;
        gap: var(--spacing-lg);
    }
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 767px) {
    h1 {
        font-size: var(--font-size-3xl);
    }
    
    h2 {
        font-size: var(--font-size-2xl);
    }
    
    section {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .service-card,
    .benefit-item,
    .process-step {
        padding: var(--spacing-md);
    }
    
    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: var(--font-size-sm);
        width: 100%;
    }
    
    .hero-cta .btn,
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }
    
    body {
        color: #000000;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

.service-card,
.benefit-item,
.process-step {
    animation: fadeInUp 0.6s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }

/* ========================================
   PREFERS REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
