/* ==========================================================================
   CLOUD CARE SOLUTIONS - GLOBAL DESIGN SYSTEM
   Brand System: "Salesforce at the Core. Technology Without Limits."
   ========================================================================== */

/* Google Fonts Import: Plus Jakarta Sans (500, 600, 700) & Inter (400, 500) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* ==========================================================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ========================================================================== */
:root {
    /* Brand Colors */
    --color-deep-teal: #004D47;
    --color-deep-teal-hover: #003632;
    --color-primary-teal: #128277;
    --color-primary-teal-hover: #0E6B62;
    --color-secondary-teal: #52958B;
    --color-secondary-teal-light: #EBF4F3;
    --color-neutral-gray-blue: #B9C4C9;
    --color-neutral-gray-blue-light: #F4F7F6;
    --color-neutral-gray-blue-border: #D5DFE3;
    
    /* Surface & Background Colors */
    --color-bg-white: #FFFFFF;
    --color-bg-surface: #F8FAFA;
    --color-bg-dark: #003834;
    
    /* Typography Colors */
    --color-text-main: #004D47;
    --color-text-body: #2C3E3A;
    --color-text-muted: #5A6E6B;
    --color-text-light: #FFFFFF;

    /* Typography Families */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Font Weights */
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* Spacing System */
    --space-2xs: 0.25rem; /* 4px */
    --space-xs:  0.5rem;  /* 8px */
    --space-sm:  0.75rem; /* 12px */
    --space-md:  1rem;    /* 16px */
    --space-lg:  1.5rem;  /* 24px */
    --space-xl:  2rem;    /* 32px */
    --space-2xl: 3rem;    /* 48px */
    --space-3xl: 4rem;    /* 64px */
    --space-4xl: 6rem;    /* 96px */

    /* Layout & Containers */
    --max-width-site: 1280px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Subtle Micro Shadows (Minimal, Enterprise focus) */
    --shadow-subtle: 0 2px 8px rgba(0, 77, 71, 0.05);
    --shadow-card: 0 4px 16px rgba(0, 77, 71, 0.06);
    --shadow-hover: 0 8px 24px rgba(0, 77, 71, 0.10);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE RESET & ACCESSIBILITY
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--color-bg-white);
    color: var(--color-text-body);
    font-family: var(--font-secondary);
    font-weight: var(--fw-regular);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility Focus States */
:focus-visible {
    outline: 2px solid var(--color-primary-teal);
    outline-offset: 3px;
}

/* Screen Reader Only Utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   TYPOGRAPHY HIERARCHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--color-deep-teal);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: var(--fw-bold);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: var(--fw-bold);
}

h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: var(--fw-semibold);
}

h4 {
    font-size: 1.25rem;
    font-weight: var(--fw-semibold);
}

h5 {
    font-size: 1.1rem;
    font-weight: var(--fw-medium);
}

p {
    color: var(--color-text-body);
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

p.lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

a {
    color: var(--color-primary-teal);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-deep-teal);
}

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

ul, ol {
    list-style: none;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.ccs-container {
    width: 100%;
    max-width: var(--max-width-site);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.ccs-section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

@media (min-width: 992px) {
    .ccs-section {
        padding-top: var(--space-4xl);
        padding-bottom: var(--space-4xl);
    }
}

.ccs-grid {
    display: grid;
    gap: var(--space-lg);
}

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

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

.ccs-grid-4 {
    grid-template-columns: 1fr;
}
@media (min-width: 576px) {
    .ccs-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .ccs-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.ccs-flex {
    display: flex;
}

.ccs-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ccs-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ccs-gap-sm { gap: var(--space-sm); }
.ccs-gap-md { gap: var(--space-md); }
.ccs-gap-lg { gap: var(--space-lg); }

/* Background Variants */
.bg-white { background-color: var(--color-bg-white); }
.bg-subtle { background-color: var(--color-neutral-gray-blue-light); }
.bg-deep-teal { background-color: var(--color-deep-teal); color: var(--color-text-light); }
.bg-deep-teal h1, .bg-deep-teal h2, .bg-deep-teal h3, .bg-deep-teal h4 { color: var(--color-text-light); }

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
