/* ==============================================
   AKSAA Analytics - Professional Website
   Color Scheme: 60% Blue, 30% Red, 10% Green
   ============================================== */

/* Root Variables - Color Palette */
:root {
    /* Primary Blue (60%) */
    --blue-50: #EFF6FF;
    --blue-100: #DBEAFE;
    --blue-500: #3B82F6;
    --blue-600: #2563EB;
    --blue-700: #1D4ED8;
    --blue-800: #1E40AF;
    --blue-900: #1E3A8A;
    
    /* Secondary Red (30%) */
    --red-50: #FEF2F2;
    --red-100: #FEE2E2;
    --red-500: #EF4444;
    --red-600: #DC2626;
    --red-700: #B91C1C;
    
    /* Accent Green (10%) */
    --green-50: #F0FDF4;
    --green-100: #DCFCE7;
    --green-500: #10B981;
    --green-600: #059669;
    
    /* Neutral Colors */
    --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-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
    
    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    background: #FFFFFF;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--blue-800);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-base);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue-600);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-600);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.btn-contact {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
}

.nav-link.btn-contact::after {
    display: none;
}

.nav-link.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--blue-600);
    border-radius: 3px;
    transition: var(--transition-base);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--blue-50) 0%, #FFFFFF 50%, var(--red-50) 100%);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--blue-200), transparent);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--red-200), transparent);
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--green-200), transparent);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue-600), var(--red-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--blue-600);
    border-color: var(--blue-600);
}

.btn-secondary:hover {
    background: var(--blue-600);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--blue-600);
    border-color: var(--blue-600);
}

.btn-outline:hover {
    background: var(--blue-600);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.dashboard-preview {
    position: relative;
    width: 100%;
    height: 500px;
}

.dashboard-card {
    position: absolute;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.card-1 {
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    top: 0;
    left: 0;
    animation: cardFloat1 4s infinite ease-in-out;
}

.card-2 {
    width: 280px;
    height: 180px;
    background: linear-gradient(135deg, var(--red-500), var(--red-600));
    top: 120px;
    right: 40px;
    animation: cardFloat2 4s infinite ease-in-out 1s;
}

.card-3 {
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, var(--green-500), var(--green-600));
    bottom: 0;
    left: 60px;
    animation: cardFloat3 4s infinite ease-in-out 2s;
}

@keyframes cardFloat1 {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(-2deg); }
}

@keyframes cardFloat2 {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes cardFloat3 {
    0%, 100% { transform: translateY(0) rotate(3deg); }
    50% { transform: translateY(-10px) rotate(-2deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--gray-500);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--blue-600);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--blue-600);
    border-radius: 2px;
    animation: mouseScroll 1.5s infinite;
}

@keyframes mouseScroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Service Sections */
.service-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-conseil {
    background: linear-gradient(to bottom, white, var(--blue-50));
}

.section-data {
    background: linear-gradient(to bottom, var(--blue-50), var(--red-50));
}

.section-automatisation {
    background: linear-gradient(to bottom, var(--red-50), var(--green-50));
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.service-content.reverse {
    grid-template-columns: 2fr 1fr;
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease-out;
}

.service-icon svg {
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    transition: var(--transition-smooth);
}

.service-icon:hover svg {
    transform: scale(1.1) rotate(5deg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.section-subtitle.centered {
    text-align: center;
}

.service-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.8;
}

.service-list {
    list-style: none;
    margin-bottom: 32px;
}

.service-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.list-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--blue-600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.section-data .list-icon {
    background: var(--red-500);
}

.section-automatisation .list-icon {
    background: var(--green-500);
}

.service-list strong {
    color: var(--gray-800);
}

/* About Section */
.about-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(to bottom, var(--green-50), white);
}

.about-header {
    margin-bottom: 48px;
}

.about-text {
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.value-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    border-top: 4px solid var(--blue-600);
}

.value-card:nth-child(2) {
    border-top-color: var(--red-500);
}

.value-card:nth-child(3) {
    border-top-color: var(--green-500);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.value-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--blue-100);
    margin-bottom: 16px;
}

.value-card:nth-child(2) .value-number {
    color: var(--red-100);
}

.value-card:nth-child(3) .value-number {
    color: var(--green-100);
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.value-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.cta-banner {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    color: white;
    padding: 48px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.3);
}

.cta-banner h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--blue-50), var(--gray-50));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.contact-item h4 {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--gray-600);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-600);
    transition: var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background: var(--blue-600);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand p:first-of-type {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-tagline {
    color: var(--gray-400);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: white;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-column a:hover {
    color: var(--blue-500);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@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);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background: white;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 80px);
        padding: 40px 24px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition-smooth);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-container,
    .service-content,
    .service-content.reverse,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .dashboard-preview {
        height: 400px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 32px 24px;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .dashboard-preview {
        height: 300px;
    }
    
    .card-1 {
        width: 200px;
        height: 140px;
    }
    
    .card-2 {
        width: 180px;
        height: 120px;
    }
    
    .card-3 {
        width: 140px;
        height: 100px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .cta-banner {
        padding: 32px 24px;
    }
    
    .cta-banner h3 {
        font-size: 1.25rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-600);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-700);
}

/* Selection */
::selection {
    background: var(--blue-600);
    color: white;
}

::-moz-selection {
    background: var(--blue-600);
    color: white;
}
