/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===================================
   CSS VARIABLES - PURPLE BRAND THEME
   =================================== */
:root {
    /* Purple Brand Colors */
    --primary: #7C3AED;
    --primary-dark: #6D28D9;
    --primary-light: #A78BFA;
    --secondary: #EC4899;
    --accent: #F59E0B;
    
    /* Neutrals */
    --dark: #0F172A;
    --dark-secondary: #1E293B;
    --gray: #64748B;
    --gray-light: #CBD5E1;
    --gray-lighter: #F1F5F9;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    --gradient-secondary: linear-gradient(135deg, #6D28D9 0%, #7C3AED 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* 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);
    --shadow-purple: 0 10px 40px -10px rgba(124, 58, 237, 0.4);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   BASE STYLES
   =================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

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

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

/* ===================================
   CONTAINER & LAYOUT
   =================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===================================
   NAVIGATION
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-lighter);
    z-index: 1000;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    transform: rotate(180deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links a {
    font-weight: 500;
    color: var(--gray);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

/* ===================================
   BUTTONS
   =================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px -10px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

/* ===================================
   BADGES
   =================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: var(--gray-lighter);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: var(--spacing-md);
}

.badge i {
    width: 16px;
    height: 16px;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    background: linear-gradient(180deg, var(--gray-lighter) 0%, var(--white) 100%);
    overflow: hidden;
}

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

.hero-title {
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.social-proof {
    display: flex;
    gap: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--gray-light);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.25rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    left: -10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    padding: var(--spacing-3xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    position: relative;
    padding: var(--spacing-xl);
    background: var(--white);
    border: 2px solid var(--gray-lighter);
    border-radius: 16px;
    transition: var(--transition);
}

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

.service-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.service-card.featured h3,
.service-card.featured p {
    color: var(--white);
}

.featured-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-lighter);
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-icon i {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.service-card.featured .service-icon i {
    color: var(--white);
}

.service-card h3 {
    margin-bottom: var(--spacing-md);
}

.service-card p {
    margin-bottom: var(--spacing-md);
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--gray);
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

.service-features i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.service-card.featured .service-features i {
    color: var(--white);
}

/* ===================================
   APPROACH SECTION
   =================================== */
.approach {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-lighter);
}

.approach-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    bottom: -48px;
    width: 2px;
    background: var(--gray-light);
}

.timeline-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: var(--shadow-purple);
    position: relative;
    z-index: 1;
}

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

.timeline-content h3 {
    margin-bottom: var(--spacing-md);
}

.timeline-content p {
    margin-bottom: var(--spacing-md);
}

.timeline-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.deliverable {
    padding: 0.5rem 1rem;
    background: var(--white);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid var(--primary);
}

/* ===================================
   RESULTS SECTION
   =================================== */
.results {
    padding: var(--spacing-3xl) 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.result-card {
    padding: var(--spacing-xl);
    background: var(--white);
    border: 2px solid var(--gray-lighter);
    border-radius: 16px;
    transition: var(--transition);
}

.result-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.result-company {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.company-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 12px;
}

.company-info h4 {
    margin-bottom: 0.25rem;
}

.company-info p {
    font-size: 0.875rem;
    color: var(--gray);
    margin: 0;
}

.result-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--gray-lighter);
    border-bottom: 1px solid var(--gray-lighter);
    margin-bottom: var(--spacing-lg);
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.result-description {
    color: var(--gray);
    line-height: 1.6;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta {
    padding: var(--spacing-3xl) 0;
    background: var(--dark);
    color: var(--white);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.cta-text h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-text p {
    color: var(--gray-light);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

.cta-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--white);
}

.cta-benefits i {
    width: 24px;
    height: 24px;
    color: var(--primary-light);
}

.cta-form {
    padding: var(--spacing-xl);
    background: var(--dark-secondary);
    border-radius: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

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

.form-group input,
.form-group select {
    padding: 0.875rem 1rem;
    background: var(--dark);
    color: var(--white);
    border: 1px solid var(--gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    background: var(--dark-secondary);
    color: var(--white);
}

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

.footer-brand p {
    color: var(--gray-light);
    margin: var(--spacing-md) 0;
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 8px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-social i {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-column a {
    display: block;
    color: var(--gray-light);
    margin-bottom: var(--spacing-sm);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray);
}

.footer-bottom p {
    color: var(--gray-light);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    color: var(--gray-light);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--primary-light);
}

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

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

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

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero-content,
    .cta-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-visual {
        order: -1;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .social-proof {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: var(--spacing-md);
    }
    
    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .timeline-item:not(:last-child)::after {
        left: 30px;
        top: 60px;
    }
    
    .result-metrics {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

/* ===================================
   PRINT MEDIA QUERIES
   =================================== */
@media print {
    @page {
        margin: 1in;
    }
    
    body {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    
    .nav,
    .mobile-menu-btn,
    .cta,
    .footer {
        display: none;
    }
}