@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@400;600;700;800&display=swap');

:root {
    /* Base Palette */
    --color-primary: #00b4d8;  /* Cyan / Turquoise vif */
    --color-primary-dark: #0096c7;
    --color-primary-light: #90e0ef;
    
    --color-secondary: #2ecc71; /* Emerald Mint */
    
    --color-alert: #ff6b6b; /* Coral Red */
    --color-alert-light: #ffe5e5;
    
    /* Backgrounds & Text */
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa; /* Ultra-light grey */
    --color-text: #0f172a; /* Night blue / dark slate */
    --color-text-light: #475569; /* Slate grey */
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* UI Design Tokens */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 50px rgba(0, 180, 216, 0.15);
    --shadow-aura: 0 0 50px 10px rgba(0, 180, 216, 0.3);
    
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 40px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.25;
}

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

img, svg {
    max-width: 100%;
    display: block;
}

/* Utilities */
.highlight {
    color: var(--color-primary);
}

.section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--color-bg-alt);
    max-width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.central-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-header p:not(.pill-badge) {
    color: var(--color-text-light);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
}

.pill-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.pill-mint {
    background: rgba(46, 204, 113, 0.15);
    color: var(--color-secondary);
}

.pill-cyan {
    background: rgba(0, 180, 216, 0.15);
    color: var(--color-primary-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px; /* Heavy roundness for SaaS aesthetic */
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5);
}

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

.btn-secondary:hover {
    background-color: rgba(0, 180, 216, 0.05);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 5%;
    box-shadow: var(--shadow-soft);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-text-light);
}

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

.btn-outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: white !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 140px 5% 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1.2;
    max-width: 650px;
}

.kicker {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 45px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob {
    position: absolute;
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: blob-bounce 8s infinite alternate ease-in-out;
    filter: blur(50px);
    opacity: 0.15;
    z-index: -1;
}

.glass-card.aura-effect {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-aura);
    border-radius: var(--radius-xl);
    width: 300px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes blob-bounce {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translate(0px, 0px) scale(1); }
    50% { border-radius: 50% 50% 30% 70% / 70% 30% 50% 50%; transform: translate(-20px, 20px) scale(1.05); }
    100% { border-radius: 70% 30% 50% 50% / 30% 70% 30% 70%; transform: translate(20px, -20px) scale(0.95); }
}

/* Services / Features Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-bg-alt);
    transition: var(--transition);
}

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

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    background: var(--color-bg-alt);
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-text-light);
}

/* Director Approach Layout */
.direction-layout {
    display: flex;
    justify-content: space-center;
    align-items: center;
    gap: 40px;
}

.detailed-step {
    flex: 1;
    background: white;
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.detailed-step.alert-border {
    border-left: 6px solid var(--color-alert);
}

.step-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.detailed-step h4 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

/* Reassurance Banner */
.reassurance-banner {
    background: white;
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.reassurance-banner h2 {
    margin-bottom: 50px;
}

.reassurance-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.reassurance-item {
    flex: 1;
    min-width: 250px;
}

.reassurance-item .big-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
}

.reassurance-item h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.reassurance-item p {
    color: var(--color-text-light);
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: white;
    padding: 60px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.contact-info h2 {
    font-size: 3rem;
}

.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-text);
    font-weight: 500;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--color-bg-alt);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
}

.form-status:not(.error) {
    background: rgba(46, 204, 113, 0.15);
    color: var(--color-secondary);
}

.form-status.error {
    background: var(--color-alert-light);
    color: var(--color-alert);
}

.hidden {
    display: none !important;
}

/* Footer */
.footer {
    background: var(--color-text);
    color: white;
    padding: 80px 5% 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 50px;
    margin-bottom: 30px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    color: #94a3b8;
    margin-top: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: #cbd5e1;
}

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

.footer-bottom {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
}

/* Animations */
.fade-in { opacity: 0; animation: fadeIn 1s ease forwards; }
.slide-up { opacity: 0; transform: translateY(40px); animation: slideUp 1s ease forwards; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    .hero-actions {
        justify-content: center;
    }
    .contact-container {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px;
    }
    .direction-layout {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        justify-content: center;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition);
        gap: 40px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    
    .section-header h2, .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
