/* ============================================================
   Digital Camel — Global Stylesheet
   Single source of truth for shared styles across all pages.
   Do not modify the design tokens here — update tailwind.config.js
   and mirror changes to the inline Tailwind config in each page.
   ============================================================ */

/* ------------------------------------------------------------
   1. FONT IMPORTS
   ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');


/* ------------------------------------------------------------
   2. BASE RESET
   ------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: #131313;
    color: #e2e2e2;
}

body {
    background-color: #000000;
    color: #e2e2e2;
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}


/* ------------------------------------------------------------
   3. MATERIAL SYMBOLS ICON STYLE
   ------------------------------------------------------------ */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}


/* ------------------------------------------------------------
   4. UTILITY CLASSES
   ------------------------------------------------------------ */

/* --- Teal colour shorthand --- */
.teal {
    color: #4FD1C5;
}

/* --- Section heading (matches automation.html h2 style) --- */
.section-heading {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #ffffff;
}

/* --- Hero gradient text --- */
.text-gradient-hero {
    background: linear-gradient(to bottom, #ffffff 30%, rgba(255, 255, 255, 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Glass card --- */
.glass-card {
    background: rgba(31, 31, 31, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 0.6px solid rgba(60, 73, 71, 0.3);
}

/* --- Teal glow on hover (for cards) --- */
.teal-glow-hover:hover {
    box-shadow: 0 0 25px rgba(79, 209, 197, 0.4);
}

/* --- Primary button — teal gradient pill with hover glow --- */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #6FEEE1, #4FD1C5);
    color: #003733;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(79, 209, 197, 0.5);
}

.btn-primary:active {
    transform: scale(0.97);
}

/* --- Secondary button — sharp corners, ghost border, teal text --- */
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #6FEEE1;
    padding: 1rem 2.5rem;
    border-radius: 0;
    border: 0.6px solid rgba(60, 73, 71, 0.3);
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(79, 209, 197, 0.1);
}

/* --- Chip — pill, deep surface background, teal border --- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #0e0e0e;
    border: 1px solid rgba(79, 209, 197, 0.3);
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e2e2e2;
    transition: border-color 0.2s ease;
}

.chip:hover {
    border-color: #4FD1C5;
}


/* ------------------------------------------------------------
   5. NAV STYLES
   (HTML structure built in Prompt 3 — CSS only here)
   ------------------------------------------------------------ */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    box-shadow: 0 0 20px rgba(79, 209, 197, 0.1);
}

.nav-transparent {
    background-color: transparent;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-scrolled {
    background-color: #131313;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* ------------------------------------------------------------
   6. FOOTER STYLES
   (HTML structure built in Prompt 3 — CSS only here)
   ------------------------------------------------------------ */
.footer {
    background-color: #0e0e0e;
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-top: 0.6px solid rgba(60, 73, 71, 0.3);
}
