/*
 * Werk-directbij-nl - Main Stylesheet
 * Version: 1.0.0
 * Last updated: 2025-11-13
 */

/* ======================================
 * Table of Contents:
 * 
 * 1. Base Styles
 * 2. Typography
 * 3. Layout & Containers
 * 4. Header & Navigation
 * 5. Hero Section
 * 6. Feature Boxes
 * 7. Solution Boxes
 * 8. Integrations Section
 * 9. Security Section
 * 10. Metrics Section
 * 11. Contact Form
 * 12. Footer
 * 13. Cookie Consent
 * 14. Modal
 * 15. Page-specific Styles
 * 16. Utility Classes
 * 17. Media Queries
 * ====================================== */

/* ======================================
 * 1. Base Styles
 * ====================================== */
:root {
    
    --baby-pink: #FFD6E0;
    --sky-blue: #C7E5FF;
    --lavender: #E0D3FF;
    
    
    --soft-mint: #D3F0E0;
    --pale-yellow: #FFF5D6;
    
    
    --deep-lavender: #9D8CD1;
    --soft-coral: #FF9E9E;
    
    
    --cream-white: #FFFAF5;
    --light-gray: #F7F7F9;
    
    
    --dark-gray: #4A4A4A;
    --medium-gray: #767676;
    --white: #FFFFFF;
    
    
    --gradient-primary: linear-gradient(135deg, var(--baby-pink) 0%, var(--sky-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--lavender) 0%, var(--soft-mint) 100%);
    
    
    --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 12px 24px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 16px 32px rgba(0, 0, 0, 0.12);
    
    
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 20px;
    --radius-circle: 50%;
    
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    
    --z-base: 1;
    --z-above: 10;
    --z-high: 100;
    --z-modal: 1000;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sora', sans-serif;
    color: var(--dark-gray);
    background-color: var(--cream-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--deep-lavender);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--soft-coral);
}

ul, ol {
    list-style-position: inside;
    margin-bottom: var(--space-md);
}

/* ======================================
 * 2. Typography
 * ====================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    color: var(--dark-gray);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h5 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

h6 {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

p {
    margin-bottom: var(--space-md);
}

strong {
    font-weight: 700;
}

/* ======================================
 * 3. Layout & Containers
 * ====================================== */
.cp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-xl) 0;
}

.cp-section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.cp-section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-small);
}

.cp-section-title--light {
    color: var(--white);
}

.cp-section-title--light:after {
    background: var(--white);
}

/* ======================================
 * 4. Header & Navigation
 * ====================================== */
.cp-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-high);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-medium);
}

.cp-header--scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.cp-header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
}

.cp-header__logo {
    display: block;
    width: 180px;
}

.cp-header__logo img {
    height: 50px;
    width: auto;
}

.cp-header__contact {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.cp-header__phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.cp-cookie-settings-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--medium-gray);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    padding: 0.5rem;
}

.cp-cookie-settings-btn:hover {
    color: var(--deep-lavender);
}

.cp-nav {
    position: relative;
}

.cp-nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.cp-nav__toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dark-gray);
    margin: 5px 0;
    transition: var(--transition-fast);
}

.cp-nav__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-md);
}

.cp-nav__item {
    position: relative;
}

.cp-nav__link {
    color: var(--dark-gray);
    font-weight: 500;
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.cp-nav__link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-medium);
}

.cp-nav__link:hover,
.cp-nav__link--active {
    color: var(--deep-lavender);
}

.cp-nav__link:hover:after,
.cp-nav__link--active:after {
    width: 100%;
}

/* ======================================
 * 5. Hero Section
 * ====================================== */
.cp-hero {
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    margin-top: 70px;
    overflow: hidden;
}

.cp-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(157, 140, 209, 0.8) 0%, rgba(255, 158, 158, 0.8) 100%);
}

.cp-hero__content {
    position: relative;
    z-index: var(--z-above);
    max-width: 800px;
    padding: 0 var(--space-md);
}

.cp-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--space-md);
    line-height: 1.2;
    color: var(--white);
}

.cp-hero__subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.cp-hero__buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ======================================
 * 6. Feature Boxes
 * ====================================== */
.cp-features {
    background-color: var(--white);
}

.cp-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: var(--space-md);
}

.cp-feature-box {
    background-color: var(--light-gray);
    border-radius: var(--radius-medium);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cp-feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.cp-feature-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.cp-feature-box__icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-circle);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: var(--shadow-soft);
}

.cp-feature-box__title {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.cp-feature-box__text {
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.cp-feature-box__link {
    display: inline-block;
    font-weight: 500;
    position: relative;
}

.cp-feature-box__link:after {
    content: '→';
    margin-left: var(--space-xs);
    transition: transform var(--transition-fast);
}

.cp-feature-box__link:hover:after {
    transform: translateX(5px);
}

/* ======================================
 * 7. Solution Boxes
 * ====================================== */
.cp-solutions {
    background-color: var(--light-gray);
}

.cp-solutions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.cp-solution-box {
    background-color: var(--white);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    height: 100%;
}

.cp-solution-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.cp-solution-box__image {
    height: 200px;
    overflow: hidden;
}

.cp-solution-box__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.cp-solution-box:hover .cp-solution-box__image img {
    transform: scale(1.05);
}

.cp-solution-box__title {
    padding: var(--space-md) var(--space-md) var(--space-xs) var(--space-md);
    font-size: 1.3rem;
}

.cp-solution-box__text {
    padding: 0 var(--space-md) var(--space-md) var(--space-md);
}

/* ======================================
 * 8. Integrations Section
 * ====================================== */
.cp-integrations {
    background-color: var(--white);
}

.cp-integrations__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.cp-integrations__image {
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.cp-integrations__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-integrations__subtitle {
    margin-bottom: var(--space-md);
    font-size: 1.7rem;
}

.cp-integrations__categories {
    margin-bottom: var(--space-lg);
}

.cp-integration-type {
    margin-bottom: var(--space-md);
}

.cp-integration-type__title {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
}

.cp-integration-type__text {
    padding-left: calc(var(--space-sm) + 20px);
}

/* ======================================
 * 9. Security Section
 * ====================================== */
.cp-security {
    background: linear-gradient(135deg, var(--deep-lavender) 0%, var(--soft-coral) 100%);
    color: var(--white);
}

.cp-security__content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.cp-security__text {
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.cp-security__list {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.cp-security__list li {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.cp-security__list li i {
    font-size: 1.2rem;
}

.cp-security__image {
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.cp-security__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======================================
 * 10. Metrics Section
 * ====================================== */
.cp-metrics {
    background-color: var(--light-gray);
}

.cp-metrics__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.cp-metric-box {
    background-color: var(--white);
    border-radius: var(--radius-medium);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform var(--transition-medium);
}

.cp-metric-box:hover {
    transform: translateY(-5px);
}

.cp-metric-box__icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-circle);
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--white);
    font-size: 1.5rem;
}

.cp-metric-box__title {
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

.cp-metric-box__text {
    font-size: 0.95rem;
}

/* ======================================
 * 11. Contact Form
 * ====================================== */
.cp-contact-form {
    background-color: var(--white);
}

.cp-contact-form__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.cp-contact-form__text {
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.cp-contact-form__image {
    margin-top: var(--space-md);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.cp-contact-form__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-form {
    background-color: var(--light-gray);
    border-radius: var(--radius-medium);
    padding: var(--space-lg);
    box-shadow: var(--shadow-medium);
}

.cp-form__group {
    margin-bottom: var(--space-md);
}

.cp-form__label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.cp-form__input,
.cp-form__textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid transparent;
    border-radius: var(--radius-small);
    background-color: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.cp-form__input:focus,
.cp-form__textarea:focus {
    border-color: var(--deep-lavender);
    box-shadow: 0 0 0 3px rgba(157, 140, 209, 0.2);
    outline: none;
}

.cp-form__textarea {
    min-height: 150px;
    resize: vertical;
}

.cp-form__group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
}

.cp-form__checkbox {
    margin-top: 0.25rem;
}

.cp-form__checkbox-label {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ======================================
 * 12. Footer
 * ====================================== */
.cp-footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: var(--space-xl) 0 var(--space-md);
}

.cp-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.cp-footer__logo {
    width: 180px;
    margin-bottom: var(--space-md);
}

.cp-footer__address {
    font-style: normal;
    line-height: 1.8;
    opacity: 0.8;
}

.cp-footer__address a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.cp-footer__address a:hover {
    opacity: 1;
}

.cp-footer__title {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
    position: relative;
    padding-bottom: var(--space-xs);
}

.cp-footer__title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--soft-coral);
}

.cp-footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cp-footer__menu li {
    margin-bottom: var(--space-xs);
}

.cp-footer__menu a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.cp-footer__menu a:hover {
    opacity: 1;
}

.cp-footer__cookie-btn {
    background: none;
    border: none;
    color: var(--white);
    opacity: 0.8;
    cursor: pointer;
    padding: 0;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    transition: opacity var(--transition-fast);
}

.cp-footer__cookie-btn:hover {
    opacity: 1;
}

.cp-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    text-align: center;
}

.cp-footer__copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ======================================
 * 13. Cookie Consent
 * ====================================== */
.cp-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: var(--space-md);
    z-index: var(--z-modal);
    display: none;
}

.cp-cookie-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.cp-cookie-banner__text {
    margin-bottom: 0;
    flex: 1;
    min-width: 280px;
}

.cp-cookie-banner__buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.cp-cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    display: none;
}

.cp-cookie-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.cp-cookie-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background-color: var(--white);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-strong);
}

.cp-cookie-modal__header {
    padding: var(--space-md);
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cp-cookie-modal__title {
    margin: 0;
    font-size: 1.5rem;
}

.cp-cookie-modal__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--medium-gray);
    transition: color var(--transition-fast);
}

.cp-cookie-modal__close:hover {
    color: var(--dark-gray);
}

.cp-cookie-modal__body {
    padding: var(--space-md);
}

.cp-cookie-modal__text {
    margin-bottom: var(--space-md);
}

.cp-cookie-modal__options {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cp-cookie-option {
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-small);
    padding: var(--space-md);
}

.cp-cookie-option__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.cp-cookie-option__title {
    margin: 0;
    font-size: 1.1rem;
}

.cp-cookie-option__desc {
    margin: 0;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.cp-cookie-option__toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.cp-cookie-option__toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cp-cookie-option__toggle label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition-fast);
    border-radius: 34px;
}

.cp-cookie-option__toggle label:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition-fast);
    border-radius: 50%;
}

.cp-cookie-option__toggle input:checked + label {
    background-color: var(--deep-lavender);
}

.cp-cookie-option__toggle input:checked + label:before {
    transform: translateX(24px);
}

.cp-cookie-option__toggle--disabled {
    opacity: 0.7;
    pointer-events: none;
}

.cp-cookie-modal__footer {
    padding: var(--space-md);
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* ======================================
 * 14. Modal
 * ====================================== */
.cp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    display: none;
}

.cp-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.cp-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background-color: var(--white);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.cp-modal__header {
    padding: var(--space-md);
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cp-modal__title {
    margin: 0;
    color: var(--white);
}

.cp-modal__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    transition: opacity var(--transition-fast);
}

.cp-modal__close:hover {
    opacity: 0.8;
}

.cp-modal__body {
    padding: var(--space-md);
}

.cp-modal__text {
    margin-bottom: 0;
}

.cp-modal__footer {
    padding: var(--space-md);
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: flex-end;
}

/* ======================================
 * 15. Page-specific Styles
 * ====================================== */


.cp-thanks {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    padding: var(--space-xl) 0;
    margin-top: 70px;
}

.cp-thanks__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cp-thanks__icon {
    font-size: 5rem;
    color: var(--deep-lavender);
    margin-bottom: var(--space-md);
}

.cp-thanks__title {
    margin-bottom: var(--space-md);
}

.cp-thanks__text {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}

.cp-thanks__subtext {
    margin-bottom: var(--space-lg);
}

.cp-thanks__buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}


.cp-page-title {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: calc(var(--space-xl) * 1.5) var(--space-md) var(--space-xl);
    margin-top: 70px;
}

.cp-page-title__heading {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.cp-page-title__subheading {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}


.cp-about-section {
    padding: var(--space-xl) 0;
}

.cp-about-section--alt {
    background-color: var(--light-gray);
}

.cp-about-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.cp-about-box--reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.cp-about-box--reverse .cp-about-box__content {
    direction: ltr;
}

.cp-about-box--reverse .cp-about-box__image {
    direction: ltr;
}

.cp-about-box__image {
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.cp-about-box__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-about-box__list {
    margin-bottom: var(--space-md);
    list-style-type: disc;
}

.cp-about-box__list li {
    margin-bottom: var(--space-xs);
}

.cp-about-box__numbered-list {
    margin-bottom: var(--space-md);
    counter-reset: item;
    list-style-type: none;
}

.cp-about-box__numbered-list li {
    margin-bottom: var(--space-xs);
    counter-increment: item;
    position: relative;
    padding-left: 2rem;
}

.cp-about-box__numbered-list li:before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--deep-lavender);
}


.cp-integration-section {
    padding: var(--space-xl) 0;
}

.cp-integration-section--alt {
    background-color: var(--light-gray);
}

.cp-integration-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.cp-integration-box--reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.cp-integration-box--reverse .cp-integration-box__content {
    direction: ltr;
}

.cp-integration-box--reverse .cp-integration-box__image {
    direction: ltr;
}

.cp-integration-box__image {
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.cp-integration-box__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-integration-categories {
    margin-bottom: var(--space-md);
}

.cp-integration-category {
    margin-bottom: var(--space-md);
}

.cp-integration-category__title {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
}

.cp-integration-category__list {
    margin-left: var(--space-md);
    margin-bottom: var(--space-sm);
}

.cp-integration-subtitle {
    font-size: 1.3rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
}

.cp-integration-box__list {
    margin-bottom: var(--space-md);
}

.cp-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.cp-feature-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.cp-feature-item__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-circle);
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.cp-feature-item__title {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.cp-feature-item__text {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.cp-security-features {
    margin-bottom: var(--space-md);
}

.cp-security-feature {
    margin-bottom: var(--space-md);
}

.cp-security-feature__title {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
}

.cp-security-feature__list {
    margin-left: var(--space-md);
    margin-bottom: var(--space-sm);
}

.cp-integration-box__note {
    background-color: var(--light-gray);
    padding: var(--space-md);
    border-radius: var(--radius-small);
    border-left: 4px solid var(--deep-lavender);
    margin-bottom: var(--space-md);
}


.cp-security-intro {
    padding-bottom: 0;
}

.cp-security-box {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.cp-security-box__image {
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.cp-security-box__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-security-box__principles {
    list-style: none;
    margin: var(--space-md) 0;
}

.cp-security-box__principles li {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.cp-security-box__principle-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-circle);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.cp-security-measures {
    background-color: var(--light-gray);
}

.cp-security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.cp-security-card {
    background-color: var(--white);
    border-radius: var(--radius-medium);
    padding: var(--space-md);
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.cp-security-card__icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-circle);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--white);
    font-size: 1.5rem;
}

.cp-security-card__title {
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

.cp-security-card__list {
    margin-top: var(--space-xs);
    margin-bottom: 0;
}

.cp-security-articles {
    background-color: var(--white);
}

.cp-security-articles__intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.cp-article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.cp-article-card {
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background-color: var(--white);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cp-article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.cp-article-card__image {
    height: 200px;
    overflow: hidden;
}

.cp-article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.cp-article-card:hover .cp-article-card__image img {
    transform: scale(1.05);
}

.cp-article-card__content {
    padding: var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cp-article-card__title {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.cp-article-card__excerpt {
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
    flex-grow: 1;
}

.cp-article-card__link {
    align-self: flex-start;
    font-weight: 500;
    position: relative;
}

.cp-article-card__link:after {
    content: '→';
    margin-left: var(--space-xs);
    transition: transform var(--transition-fast);
}

.cp-article-card__link:hover:after {
    transform: translateX(5px);
}


.cp-article {
    padding: var(--space-xl) 0;
    margin-top: 70px;
}

.cp-article__header {
    margin-bottom: var(--space-md);
}

.cp-article__back {
    display: inline-flex;
    align-items: center;
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.cp-article__title {
    margin-bottom: var(--space-xs);
}

.cp-article__meta {
    color: var(--medium-gray);
    margin-bottom: var(--space-md);
}

.cp-article__image {
    margin-bottom: var(--space-md);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.cp-article__image img {
    width: 100%;
    height: auto;
}

.cp-article__content {
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.cp-article__content h2 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: 1.8rem;
}

.cp-article__content h3 {
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
    font-size: 1.4rem;
}

.cp-article__footer {
    text-align: center;
    margin-top: var(--space-lg);
}


.cp-contact-info {
    padding-bottom: 0;
}

.cp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.cp-contact-card {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    background-color: var(--light-gray);
    padding: var(--space-md);
    border-radius: var(--radius-medium);
}

.cp-contact-card__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-circle);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.cp-contact-card__title {
    margin-bottom: var(--space-xs);
    font-size: 1.2rem;
}

.cp-contact-card__text {
    margin-bottom: 0;
}

.cp-contact-note {
    margin-top: var(--space-lg);
    background-color: var(--light-gray);
    padding: var(--space-md);
    border-radius: var(--radius-medium);
    border-left: 4px solid var(--deep-lavender);
}

.cp-map-container {
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    height: auto;
    min-height: 300px;
}

.cp-departments {
    background-color: var(--light-gray);
}

.cp-departments__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.cp-department-box {
    background-color: var(--white);
    border-radius: var(--radius-medium);
    padding: var(--space-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cp-department-box:hover {
    transform: translateY(-5px);
}

.cp-department-box__icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-circle);
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--white);
    font-size: 1.5rem;
}

.cp-department-box__title {
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

.cp-department-box__text {
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.cp-department-box__link {
    font-weight: 500;
}


.cp-legal-page {
    padding: var(--space-xl) 0;
    margin-top: 70px;
}

.cp-legal-header {
    margin-bottom: var(--space-lg);
    text-align: center;
}

.cp-legal-title {
    margin-bottom: var(--space-xs);
}

.cp-legal-update {
    color: var(--medium-gray);
}

.cp-legal-section {
    margin-bottom: var(--space-lg);
}

.cp-legal-section h2 {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--light-gray);
}

.cp-legal-section h3 {
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
}

.cp-cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
}

.cp-cookie-table th,
.cp-cookie-table td {
    border: 1px solid var(--light-gray);
    padding: var(--space-xs) var(--space-sm);
    text-align: left;
}

.cp-cookie-table th {
    background-color: var(--light-gray);
    font-weight: 500;
}

.cp-cookie-link {
    display: inline;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    color: var(--deep-lavender);
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.cp-cookie-link:hover {
    color: var(--soft-coral);
}


.cp-cta {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cp-cta__content {
    max-width: 800px;
    margin: 0 auto;
}

.cp-cta__title {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.cp-cta__text {
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
    opacity: 0.9;
}

.cp-cta__buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ======================================
 * 16. Utility Classes
 * ====================================== */
.cp-btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-small);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    text-decoration: none;
}

.cp-btn--primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.cp-btn--primary:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
    color: var(--white);
}

.cp-btn--secondary {
    background-color: var(--white);
    color: var(--deep-lavender);
    border-color: var(--deep-lavender);
}

.cp-btn--secondary:hover {
    background-color: var(--deep-lavender);
    color: var(--white);
}

.cp-btn--light {
    background-color: var(--white);
    color: var(--deep-lavender);
}

.cp-btn--light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--deep-lavender);
}

.cp-btn--outline {
    background: none;
    border-color: var(--deep-lavender);
    color: var(--deep-lavender);
}

.cp-btn--outline:hover {
    background-color: var(--deep-lavender);
    color: var(--white);
}

.cp-btn--full {
    width: 100%;
}

.cp-btn--sm {
    padding: calc(var(--space-xs) * 1.5) var(--space-sm);
    font-size: 0.9rem;
}

.cp-text-center {
    text-align: center;
}

.iti {
    width: 100%;
}

/* ======================================
 * 17. Media Queries
 * ====================================== */
@media (max-width: 1024px) {
    .cp-integrations__content,
    .cp-security__content,
    .cp-contact-form__content,
    .cp-about-box,
    .cp-security-box,
    .cp-integration-box,
    .cp-contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .cp-about-box--reverse,
    .cp-integration-box--reverse {
        direction: ltr;
    }
    
    .cp-hero {
        height: auto;
        min-height: 500px;
        padding: var(--space-xl) 0;
    }
}

@media (max-width: 768px) {
    :root {
        --space-md: 1.5rem;
        --space-lg: 2.5rem;
        --space-xl: 4rem;
    }
    
    .cp-header__contact {
        display: none;
    }
    
    .cp-nav__toggle {
        display: block;
    }
    
    .cp-nav__menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-medium);
        z-index: var(--z-high);
        height: 0;
        overflow: hidden;
    }
    
    .cp-nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        height: auto;
    }
    
    .cp-nav__item {
        width: 100%;
    }
    
    .cp-nav__link {
        display: block;
        padding: var(--space-sm) var(--space-md);
        border-bottom: 1px solid var(--light-gray);
    }
    
    .cp-hero__buttons,
    .cp-cookie-banner__content,
    .cp-cookie-modal__footer {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .cp-hero__buttons .cp-btn,
    .cp-cookie-banner__buttons .cp-btn,
    .cp-cookie-modal__footer .cp-btn {
        width: 100%;
    }
    
    .cp-feature-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cp-security-box__principles li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cp-contact-card {
        flex-direction: column;
    }
    
    .cp-contact-card__icon {
        margin-bottom: var(--space-xs);
    }
}

@media (max-width: 480px) {
    :root {
        --space-md: 1rem;
        --space-lg: 2rem;
        --space-xl: 3rem;
    }
    
    .cp-header__logo {
        width: 140px;
    }
    
    .cp-header__logo img {
        height: 40px;
    }
    
    .cp-feature-box,
    .cp-solution-box,
    .cp-metric-box,
    .cp-security-card,
    .cp-department-box {
        padding: var(--space-md);
    }
    
    .cp-form {
        padding: var(--space-md);
    }
    
    .cp-cookie-banner {
        padding: var(--space-sm);
    }
}