/* CSS Variables - Color Palette */
:root {
    /* Primary Colors */
    --primary-purple: #6366f1;
    --primary-teal: #14b8a6;
    --primary-orange: #f59e0b;
    --primary-rose: #e11d48;
    --primary-emerald: #10b981;
    
    /* Light Shades */
    --light-purple: #e0e7ff;
    --light-teal: #ccfbf1;
    --light-orange: #fef3c7;
    --light-rose: #fce7f3;
    --light-emerald: #d1fae5;
    
    /* Dark Shades */
    --dark-purple: #4338ca;
    --dark-teal: #0f766e;
    --dark-orange: #d97706;
    --dark-rose: #be185d;
    --dark-emerald: #047857;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 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);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-800);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5 { font-size: var(--font-size-base); }
h6 { font-size: var(--font-size-sm); }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-600);
}

/* Header & Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-purple) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--gray-600) !important;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-purple) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-teal) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-section h1 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.hero-section p {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
}

/* Cards */
.feature-card, .service-card, .price-card, .team-member, .review-card,
.case-study-card, .process-step, .timeline-item, .career-card, .info-card,
.blog-card, .foundation-card, .tool-card, .methodology-card, .knowledge-card,
.community-card, .acceleration-card, .cognitive-card, .metacognitive-card,
.neuroplasticity-card, .optimization-card {
    background: var(--white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--gray-100);
}

.feature-card:hover, .service-card:hover, .price-card:hover,
.case-study-card:hover, .career-card:hover, .info-card:hover,
.blog-card:hover, .foundation-card:hover, .tool-card:hover,
.methodology-card:hover, .knowledge-card:hover, .community-card:hover,
.acceleration-card:hover, .cognitive-card:hover, .metacognitive-card:hover,
.neuroplasticity-card:hover, .optimization-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Service Cards */
.service-card img, .case-study-card img, .blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
}

.service-content, .case-content, .blog-content {
    padding-top: var(--spacing-sm);
}

.price {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-purple);
    margin-top: var(--spacing-md);
}

/* Price Cards */
.price-card.featured {
    border: 2px solid var(--primary-purple);
    transform: scale(1.05);
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.price-card li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--gray-100);
}

.price-card li:last-child {
    border-bottom: none;
}

/* Team Members */
.team-member img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* Process Steps */
.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-teal));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

/* Timeline */
.timeline {
    position: relative;
    padding: var(--spacing-lg) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-purple);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    width: 45%;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
}

.timeline-item:nth-child(even) {
    margin-left: 55%;
}

.timeline-content {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-purple);
    border-radius: 50%;
    top: 20px;
}

.timeline-item:nth-child(odd)::before {
    right: -60px;
}

.timeline-item:nth-child(even)::before {
    left: -60px;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-control {
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    padding: var(--spacing-sm);
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Buttons */
.btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-teal));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-purple), var(--dark-teal));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Swiper Customization */
.reviews-swiper {
    padding: var(--spacing-lg) 0;
}

.swiper-pagination-bullet {
    background: var(--primary-purple);
}

.swiper-pagination-bullet-active {
    background: var(--primary-teal);
}

/* FAQ Accordion */
.accordion-button {
    background: var(--gray-50);
    border: none;
    font-weight: 600;
    color: var(--gray-800);
}

.accordion-button:not(.collapsed) {
    background: var(--light-purple);
    color: var(--primary-purple);
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Gallery */
#gallery img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: var(--gray-900);
    color: var(--gray-300);
}

footer h5 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-teal);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: var(--spacing-sm) 0;
}

.breadcrumb-item img {
    opacity: 0.6;
}

/* Utility Classes */
.bg-light {
    background-color: var(--gray-50) !important;
}

.text-center {
    text-align: center;
}

.mb-3 { margin-bottom: var(--spacing-sm); }
.mb-4 { margin-bottom: var(--spacing-md); }
.mb-5 { margin-bottom: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-lg); }
.py-5 { padding: var(--spacing-xl) 0; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Feature Icons */
.feature-card i, .feature-item i {
    color: var(--primary-purple);
    margin-bottom: var(--spacing-md);
}

/* Space Page */
#space {
    background: linear-gradient(135deg, var(--light-emerald) 0%, var(--light-orange) 100%);
    padding-top: 80px;
}

/* Responsive Design Helpers */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: var(--font-size-3xl);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 40px);
        margin-left: 40px !important;
    }
    
    .timeline-item::before {
        left: -30px !important;
    }
    
    .price-card.featured {
        transform: none;
    }
} 