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

:root {
    /* Colors - High Trust Professional Palette */
    --clr-bg: #ffffff;
    --clr-surface: #f9fafb;
    --clr-text: #111827;
    --clr-text-muted: #4b5563;
    --clr-accent: #2563eb; /* Professional Blue */
    --clr-accent-soft: rgba(37, 99, 235, 0.05);
    --clr-border: #e5e7eb;
    
    /* Typography */
    --ff-heading: 'Outfit', sans-serif;
    --ff-body: 'Inter', sans-serif;
    
    /* Spacing */
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--ff-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #111827;
}

p {
    color: var(--clr-text-muted);
    font-size: 1.125rem;
}

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

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent { color: var(--clr-accent); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.btn-outline {
    background-color: white;
    border: 1px solid var(--clr-border);
    color: var(--clr-text);
}

.btn-outline:hover {
    background-color: var(--clr-surface);
    border-color: var(--clr-text-muted);
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
}

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

/* Hero Specific Layout */
.hero {
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding-top: 60px;
    }
    
    .hero .grid {
        gap: 60px;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero div[style*="flex"] {
        justify-content: center;
    }

    .authority-badge {
        left: 20px !important;
        bottom: -20px !important;
        transform: scale(0.9);
    }
}

.authority-badge {
    animation: float 4s ease-in-out infinite;
}

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

/* Sections */
section {
    padding: 100px 0;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--clr-accent-soft);
    color: var(--clr-accent);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

/* Case Study Cards */
.card {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--clr-accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--clr-border);
}

.metric-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-accent);
    display: block;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease-out;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

.grid {
    display: grid;
    gap: 32px;
}

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

@media (max-width: 768px) {
    section { padding: 60px 0; }
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }
}



/* Dashboard Proofs */
.dash-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.proof-card {
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    padding: 16px;
    transition: var(--transition);
    margin-bottom: 40px;
}

.proof-image-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--clr-border);
    position: relative;
    cursor: zoom-in;
}

.proof-image-container img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.proof-image-container:hover img {
    transform: scale(1.05);
}

.proof-details {
    padding: 24px 12px 8px;
}

@media (max-width: 768px) {
    .dash-container { padding: 0 16px; }
    .proof-card { padding: 8px; }
}

/* Marquee Slider */
.marquee {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.marquee::before,
.marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--clr-bg), transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--clr-bg), transparent);
}

.marquee-content {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 70s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.avatar-wrapper {
    flex-shrink: 0;
    text-align: center;
}

.avatar-wrapper img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--clr-bg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.avatar-wrapper:hover img {
    transform: scale(1.1);
    border-color: var(--clr-accent);
}
