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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ======================================================
   CSS VARIABLES – MONOCHROME + ACCENT
====================================================== */
:root {
    --bg: #e8eaec;
    --bg-dark: #d5d7d9;
    --surface: #f5f6f7;
    --text: #111111;
    --text-light: #ffffff;

    --accent: #4e8cff;
    --accent-dark: #3a6fd3;

    --radius: 16px;
    --shadow-light: -6px -6px 12px rgba(255, 255, 255, 0.65);
    --shadow-dark: 6px 6px 12px rgba(0, 0, 0, 0.12);
    --transition: 0.3s ease;
}

/* ======================================================
   TYPOGRAPHY
====================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    color: var(--text);
    font-weight: 700;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ======================================================
   UTILITIES
====================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.columns.is-two-thirds {
    width: 66%;
    margin-left: auto;
    margin-right: auto;
}

.curved-grid {
    position: relative;
    padding: 4rem 0;
}

.curved-grid::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg);
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
    z-index: -1;
}

/* ======================================================
   NAVBAR
====================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg);
    box-shadow: var(--shadow-light), var(--shadow-dark);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.logo {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--accent);
    text-decoration: none;
}

.nav-desktop ul,
.nav-mobile ul {
    list-style: none;
}

.nav-desktop ul {
    display: flex;
    gap: 1.5rem;
}

.nav-desktop a,
.nav-mobile a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 0.25rem 0;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -3px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-desktop a:hover::after {
    width: 100%;
}

/* ------ Burger ------ */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}

/* ------ Mobile Nav ------ */
.nav-mobile {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 200px;
    height: calc(100% - 70px);
    background: var(--bg);
    box-shadow: var(--shadow-light), var(--shadow-dark);
    transition: var(--transition);
    z-index: 999;
}

.nav-mobile.open {
    right: 0;
}

.nav-mobile ul {
    padding: 1rem;
}

.nav-mobile li {
    margin-bottom: 1rem;
}

/* ====== MEDIA QUERIES ====== */
@media (max-width: 991px) {
    .nav-desktop {
        display: none;
    }
    .burger {
        display: flex;
    }
}

/* ======================================================
   HERO
====================================================== */
.hero {
    padding: 8rem 0 6rem;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    color: var(--text-light);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7));
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ======================================================
   BUTTONS
====================================================== */
.btn,
button,
input[type='submit'] {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-light);
    box-shadow: var(--shadow-dark);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    box-shadow: inset var(--shadow-light), inset var(--shadow-dark);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--text-light);
}

/* ======================================================
   CARDS (Team, Media, Webinars, etc.)
====================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card,
.item,
.testimonial,
.team-member,
.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-light), var(--shadow-dark);
    padding: 2rem;
    transition: var(--transition);
}

.card:hover,
.item:hover,
.team-member:hover,
.product-card:hover {
    transform: translateY(-6px);
}

.card-image,
.image-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.card-image img,
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

/* ======================================================
   CONTACT FORM
====================================================== */
.contact-form {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-light), var(--shadow-dark);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius);
    background: var(--bg-dark);
    box-shadow: inset var(--shadow-light), inset var(--shadow-dark);
    font-family: 'Open Sans', sans-serif;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: inset var(--shadow-dark);
}

/* -------- Switch (toggle) -------- */
.switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.switcher input[type='checkbox'] {
    appearance: none;
    width: 40px;
    height: 20px;
    background: var(--surface);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-light), var(--shadow-dark);
    transition: var(--transition);
}

.switcher input[type='checkbox']::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    transition: var(--transition);
}

.switcher input[type='checkbox']:checked::before {
    transform: translateX(20px);
}

/* ======================================================
   EXTERNAL LINKS & READ-MORE
====================================================== */
.external-links li {
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

a.read-more {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

a.read-more:hover {
    text-decoration: underline;
}

/* ======================================================
   FOOTER
====================================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text);
    padding: 3rem 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer h3,
.footer h4 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.social-links a {
    display: inline-block;
    margin-right: 0.75rem;
    font-weight: 600;
}

/* ======================================================
   SUCCESS PAGE
====================================================== */
body.success-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background: var(--bg);
}

/* ======================================================
   LEGAL PAGES (privacy & terms)
====================================================== */
.legal-page {
    padding-top: 100px; /* to avoid overlap with fixed header */
}

/* ======================================================
   BACKGROUND IMAGE HANDLING
====================================================== */
[data-prompt],
[data-speed] {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* ======================================================
   PARALLAX (simple attribute-based)
====================================================== */
@media (prefers-reduced-motion: no-preference) {
    [data-speed] {
        will-change: transform;
        transition: transform 0.2s linear;
    }
}

/* ======================================================
   COOKIE POP-UP (small override)
====================================================== */
#cookie-popup button {
    font-weight: 700;
    border-radius: var(--radius);
}

/* ======================================================
   ANIMATION HELPERS
====================================================== */
.fade-in {
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ======================================================
   END OF FILE
====================================================== */