/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #375990;
    --white: #e9e9e9;
    --black: #373737;
    --identity: #90c7e9;
    --resources: #593790;
    --knowledge: #379037;
    --action: #e93737;
    --communication: #e9c715;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    color: var(--black);
    line-height: 1.7;
}

h1, h2, h3, .julius-font {
    font-family: 'Julius Sans One', sans-serif;
    font-weight: normal;
    letter-spacing: 0.02em;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, 
        var(--identity) 0%, 
        var(--resources) 25%, 
        var(--knowledge) 50%, 
        var(--action) 75%, 
        var(--communication) 100%) 1;
    box-shadow: 0 8px 32px rgba(55, 89, 144, 0.08);
    transition: all 0.3s ease;
}

.clickable {
    cursor: pointer;
}

.header-bg-motif {
    position: absolute;
    top: 0;
    right: 80px;
    width: 128px;
    height: 128px;
    opacity: 0.08;
    pointer-events: none;
    animation: floatMotif 6s ease-in-out infinite;
}

@keyframes floatMotif {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.header-bg-motif svg {
    width: 100%;
    height: 100%;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.logo-desktop {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.logo-desktop:hover {
    transform: scale(1.05);
}

.logo-desktop img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(55, 89, 144, 0.15));
}

.logo-mobile {
    display: none;
}

.logo-mobile img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(55, 89, 144, 0.15));
}

.header-slogan {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--identity) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    display: none;
    text-shadow: 0 2px 8px rgba(55, 89, 144, 0.1);
}

@media (min-width: 640px) {
    .logo-desktop {
        display: flex;
    }
    .logo-mobile {
        display: none;
    }
}

@media (max-width: 639px) {
    .logo-desktop {
        display: none;
    }
    .logo-mobile {
        display: block;
    }
}

@media (min-width: 768px) {
    .header-slogan {
        display: block;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 1.5rem 4rem;
    background: linear-gradient(135deg, 
        #f0f4ff 0%, 
        #e8f0ff 20%, 
        #ffffff 50%, 
        #fff0f0 80%, 
        #fffaec 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-motif {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
    animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.06; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.hero-bg-left {
    top: 25%;
    left: 40px;
    width: 280px;
    height: 280px;
}

.hero-bg-right {
    bottom: 80px;
    right: 64px;
    width: 220px;
    height: 220px;
}

.hero-bg-motif svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 32px rgba(55, 89, 144, 0.15));
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 2.75rem;
    background: linear-gradient(135deg, 
        var(--primary-blue) 10%, 
        var(--identity) 50%, 
        var(--resources) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem;
    line-height: 1.15;
    text-shadow: 0 4px 24px rgba(55, 89, 144, 0.15);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--black);
    margin-bottom: 1.75rem;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(55, 55, 55, 0.85);
    margin-bottom: 3rem;
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
    margin-bottom: 4.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-video {
    max-width: 68rem;
    margin: 0 auto;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 32px 64px -12px rgba(55, 89, 144, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
    animation: fadeInScale 0.8s ease-out 0.8s backwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, 
        var(--primary-blue) 0%, 
        var(--resources) 50%, 
        var(--identity) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
}

.hero-video-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Mobile Video (Vertical) - Default */
.video-mobile {
    display: block;
    aspect-ratio: 4 / 5;
}

/* Desktop Video (Horizontal) - Hidden on mobile */
.video-desktop {
    display: none;
    aspect-ratio: 16 / 9;
}

/* Show desktop video on larger screens */
@media (min-width: 768px) {
    .video-mobile {
        display: none;
    }
    .video-desktop {
        display: flex;
    }
}

/* Disable hover effects on touch devices, enable auto-animations */
@media (hover: none) and (pointer: coarse) {
    /* Cards get animated effects on scroll instead of hover */
    .value-card,
    .bifurcation-card,
    .trust-card,
    .reason-image img,
    .trust-image img {
        animation: none;
    }
    
    /* Disable hover transforms but keep base styles */
    .value-card:hover,
    .bifurcation-users:hover,
    .bifurcation-investors:hover,
    .trust-card:hover,
    .reason-image:hover img,
    .trust-image:hover img {
        transform: none;
    }
    
    /* Add animate class for scroll-triggered animations */
    .value-card.animate,
    .bifurcation-card.animate,
    .trust-card.animate {
        animation: cardAppear 0.6s ease-out forwards;
    }
    
    .reason-image.animate img,
    .trust-image.animate img {
        animation: imageScale 0.8s ease-out forwards;
    }
    
    @keyframes cardAppear {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes imageScale {
        from {
            transform: scale(0.95);
        }
        to {
            transform: scale(1);
        }
    }
}

.video-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 40px 80px -12px rgba(55, 89, 144, 0.4);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.2) 0%, 
        rgba(89, 55, 144, 0.15) 100%);
    transition: all 0.4s ease;
    z-index: 2;
}

.video-placeholder:hover .video-overlay {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.1) 0%, 
        rgba(89, 55, 144, 0.05) 100%);
}

.video-content {
    color: white;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 3;
}

.play-button {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.video-placeholder:hover .play-button {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}

.video-content p {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    .hero-desc {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
}

/* Buttons */
.btn {
    padding: 1.75rem 3rem;
    font-size: 1.15rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.03em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--identity) 100%);
    color: white;
    box-shadow: 0 12px 28px -8px rgba(55, 89, 144, 0.4),
                0 0 0 1px rgba(144, 199, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px -8px rgba(55, 89, 144, 0.5),
                0 0 0 2px rgba(144, 199, 233, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px -8px rgba(55, 89, 144, 0.15);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--identity) 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px -8px rgba(55, 89, 144, 0.4);
}

.btn-outline:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-full {
    width: 100%;
}

/* Value Snapshot Section */
.value-snapshot {
    padding: 7rem 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
}

.value-bg-motif {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 200px;
    height: 200px;
    opacity: 0.08;
    pointer-events: none;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.value-bg-motif svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 16px rgba(55, 89, 144, 0.1));
}

.value-container {
    max-width: 1152px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.value-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--identity) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
}

.section-subtitle {
    font-size: 1.35rem;
    color: var(--black);
    max-width: 52rem;
    margin: 0 auto;
    line-height: 1.75;
    font-weight: 400;
}

.value-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.15);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    opacity: 0.15;
    transition: all 0.5s;
}

.value-card:hover .value-card-corner {
    opacity: 0.3;
    transform: scale(1.2);
}

.value-icon {
    width: 68px;
    height: 68px;
    border-radius: 1.25rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.15);
}

.value-card:hover .value-icon {
    transform: translateY(-4px) rotate(5deg);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.25);
}

.value-card-title {
    font-size: 1.65rem;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.value-card-desc {
    color: var(--black);
    line-height: 1.75;
    font-weight: 300;
    font-size: 1.05rem;
}

.value-footer {
    text-align: center;
    font-size: 1.25rem;
    color: var(--black);
    line-height: 1.85;
    font-weight: 400;
    max-width: 54rem;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(144, 199, 233, 0.08), rgba(89, 55, 144, 0.08));
    border-radius: 1rem;
    border: 1px solid rgba(55, 89, 144, 0.1);
}

@media {
   /* Imposta altezza uniforme per tutte le card */
    .value-card {
        min-height: 370px;
        display: flex;
        flex-direction: column;
    }
} 
@media (min-width: 768px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Griglia da 2 card: centrata */
    .value-grid-two {
        grid-template-columns: repeat(2, 1fr);
        max-width: 66.666%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2.5rem;
    }
    
    /* Griglia da 3 card: larghezza completa */
    .value-grid-three {
        grid-template-columns: repeat(3, 1fr);
        margin-bottom: 5rem;
    }
}

/* Dynamic card borders and icons */
.value-card[data-color="#90c7e9"] {
    border-color: rgba(144, 199, 233, 0.25);
}
.value-card[data-color="#90c7e9"]::before {
    background: linear-gradient(135deg, var(--identity), var(--primary-blue));
}
.value-card[data-color="#90c7e9"]:hover {
    border-color: rgba(144, 199, 233, 0.5);
    box-shadow: 0 24px 48px -12px rgba(144, 199, 233, 0.3);
}
.value-card[data-color="#90c7e9"] .value-card-corner {
    background: linear-gradient(135deg, transparent 50%, rgba(144, 199, 233, 0.5) 50%);
}
.value-card[data-color="#90c7e9"] .value-icon {
    background: linear-gradient(135deg, rgba(144, 199, 233, 0.2), rgba(144, 199, 233, 0.1));
    color: #6bb7dd;
}

.value-card[data-color="#593790"] {
    border-color: rgba(89, 55, 144, 0.25);
}
.value-card[data-color="#593790"]::before {
    background: linear-gradient(135deg, var(--resources), var(--identity));
}
.value-card[data-color="#593790"]:hover {
    border-color: rgba(89, 55, 144, 0.5);
    box-shadow: 0 24px 48px -12px rgba(89, 55, 144, 0.3);
}
.value-card[data-color="#593790"] .value-card-corner {
    background: linear-gradient(135deg, transparent 50%, rgba(89, 55, 144, 0.5) 50%);
}
.value-card[data-color="#593790"] .value-icon {
    background: linear-gradient(135deg, rgba(89, 55, 144, 0.2), rgba(89, 55, 144, 0.1));
    color: #7548a8;
}

.value-card[data-color="#379037"] {
    border-color: rgba(55, 144, 55, 0.25);
}
.value-card[data-color="#379037"]::before {
    background: linear-gradient(135deg, var(--knowledge), #4db84d);
}
.value-card[data-color="#379037"]:hover {
    border-color: rgba(55, 144, 55, 0.5);
    box-shadow: 0 24px 48px -12px rgba(55, 144, 55, 0.3);
}
.value-card[data-color="#379037"] .value-card-corner {
    background: linear-gradient(135deg, transparent 50%, rgba(55, 144, 55, 0.5) 50%);
}
.value-card[data-color="#379037"] .value-icon {
    background: linear-gradient(135deg, rgba(55, 144, 55, 0.2), rgba(55, 144, 55, 0.1));
    color: #2d7a2d;
}

.value-card[data-color="#e93737"] {
    border-color: rgba(233, 55, 55, 0.25);
}
.value-card[data-color="#e93737"]::before {
    background: linear-gradient(135deg, var(--action), #ff6b6b);
}
.value-card[data-color="#e93737"]:hover {
    border-color: rgba(233, 55, 55, 0.5);
    box-shadow: 0 24px 48px -12px rgba(233, 55, 55, 0.3);
}
.value-card[data-color="#e93737"] .value-card-corner {
    background: linear-gradient(135deg, transparent 50%, rgba(233, 55, 55, 0.5) 50%);
}
.value-card[data-color="#e93737"] .value-icon {
    background: linear-gradient(135deg, rgba(233, 55, 55, 0.2), rgba(233, 55, 55, 0.1));
    color: #d62828;
}

.value-card[data-color="#e9c715"] {
    border-color: rgba(233, 199, 21, 0.25);
}
.value-card[data-color="#e9c715"]::before {
    background: linear-gradient(135deg, var(--communication), #ffd93d);
}
.value-card[data-color="#e9c715"]:hover {
    border-color: rgba(233, 199, 21, 0.5);
    box-shadow: 0 24px 48px -12px rgba(233, 199, 21, 0.3);
}
.value-card[data-color="#e9c715"] .value-card-corner {
    background: linear-gradient(135deg, transparent 50%, rgba(233, 199, 21, 0.5) 50%);
}
.value-card[data-color="#e9c715"] .value-icon {
    background: linear-gradient(135deg, rgba(233, 199, 21, 0.2), rgba(233, 199, 21, 0.1));
    color: #c9a700;
}

/* Reason Why Section */
.reason-why {
    padding: 7rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a75 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 8px 32px rgba(0, 0, 0, 0.1);
}

.reason-bg-motif {
    position: absolute;
    top: 80px;
    left: 40px;
    width: 120px;
    height: 120px;
    opacity: 0.15;
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(1.05); }
}

.reason-bg-motif svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 16px rgba(144, 199, 233, 0.3));
}

.reason-animated-svg {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    height: 1000px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
    display: none;
}

.reason-animated-svg svg {
    width: 100%;
    height: 100%;
}

.reason-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.section-title-white {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.02em;
}

.reason-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-weight: 300;
}

.reason-highlight {
    font-weight: 600;
    background: linear-gradient(135deg, var(--identity) 0%, #b8e0f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    padding: 1rem 0;
    text-shadow: 0 2px 16px rgba(144, 199, 233, 0.3);
}

.reason-image {
    position: relative;
}

.reason-image-motif {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    pointer-events: none;
}

.reason-image-motif svg {
    width: 100%;
    height: 100%;
}

.reason-image img {
    border-radius: 1.5rem;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    width: 100%;
    height: auto;
    position: relative;
    z-index: 10;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reason-image:hover img {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 40px 80px -16px rgba(0, 0, 0, 0.5),
                0 0 0 2px rgba(144, 199, 233, 0.3);
}

.reason-image-border {
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    border: 3px solid rgba(144, 199, 233, 0.3);
    pointer-events: none;
    transition: all 0.5s;
}

.reason-image:hover .reason-image-border {
    border-color: rgba(144, 199, 233, 0.6);
}

@media (min-width: 1024px) {
    .reason-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title-white {
        font-size: 3.75rem;
    }
    .reason-animated-svg {
        display: block;
    }
}

/* Bifurcation CTA Section */
.bifurcation {
    padding: 7rem 1.5rem;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.bifurcation-bg-motif {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    opacity: 0.06;
    pointer-events: none;
    animation: rotateSlowReverse 25s linear infinite;
}

@keyframes rotateSlowReverse {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

.bifurcation-bg-motif svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 24px rgba(55, 89, 144, 0.1));
}

.bifurcation-container {
    max-width: 1152px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.bifurcation-title {
    text-align: center;
    margin-bottom: 4rem;
}

.bifurcation-grid {
    display: grid;
    gap: 2rem;
}

.bifurcation-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 1.75rem;
    padding: 3rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bifurcation-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.bifurcation-users {
    border-color: rgba(144, 199, 233, 0.25);
}

.bifurcation-users::after {
    background: linear-gradient(90deg, var(--identity), var(--primary-blue));
}

.bifurcation-users:hover {
    border-color: rgba(144, 199, 233, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -12px rgba(144, 199, 233, 0.4);
}

.bifurcation-users:hover::after {
    transform: scaleX(1);
}

.bifurcation-investors {
    border-color: rgba(89, 55, 144, 0.25);
}

.bifurcation-investors::after {
    background: linear-gradient(90deg, var(--resources), var(--identity));
}

.bifurcation-investors:hover {
    border-color: rgba(89, 55, 144, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -12px rgba(89, 55, 144, 0.4);
}

.bifurcation-investors:hover::after {
    transform: scaleX(1);
}

.bifurcation-corner {
    position: absolute;
    top: 0;
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

.bifurcation-corner-left {
    left: 0;
}

.bifurcation-corner svg {
    width: 100%;
    height: 100%;
}

.bifurcation-corner-right {
    right: 0;
}

.bifurcation-card-title {
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-blue), var(--identity));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 10;
    letter-spacing: 0.01em;
}

.bifurcation-card-desc {
    color: var(--black);
    font-size: 1.15rem;
    margin-bottom: 2.25rem;
    line-height: 1.75;
    font-weight: 400;
}

.bifurcation-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.bifurcation-card .btn {
    margin-top: auto;
}

.bifurcation-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--black);
    font-weight: 400;
    font-size: 1.05rem;
    transition: transform 0.3s ease;
}

.bifurcation-card:hover .bifurcation-list li {
    transform: translateX(4px);
}

.bifurcation-list-icon {
    width: 28px;
    height: 28px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bifurcation-users .bifurcation-list-icon {
    background: linear-gradient(135deg, rgba(144, 199, 233, 0.25), rgba(144, 199, 233, 0.15));
    color: var(--identity);
}

.bifurcation-investors .bifurcation-list-icon {
    background: linear-gradient(135deg, rgba(89, 55, 144, 0.25), rgba(89, 55, 144, 0.15));
    color: var(--resources);
}

.bifurcation-card:hover .bifurcation-list-icon {
    transform: scale(1.1) rotate(5deg);
}

@media (min-width: 768px) {
    .bifurcation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Trust Layer Section */
.trust-layer {
    padding: 7rem 1.5rem;
    background: var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.trust-bg-motif {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 260px;
    height: 260px;
    opacity: 0.08;
    pointer-events: none;
    animation: floatSlow 10s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
}

.trust-bg-motif svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 32px rgba(55, 89, 144, 0.15));
}

.trust-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.trust-content {
    display: grid;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.trust-image {
    position: relative;
    order: 2;
}

.trust-image-motif {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
}

.trust-image-motif svg {
    width: 100%;
    height: 100%;
}

.trust-image img {
    border-radius: 1.5rem;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.5);
    width: 100%;
    height: auto;
    position: relative;
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-image:hover img {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 40px 80px -16px rgba(0, 0, 0, 0.3),
                0 0 0 2px rgba(55, 89, 144, 0.3);
}

.trust-image-border {
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    border: 2px solid rgba(55, 89, 144, 0.15);
    pointer-events: none;
    transition: all 0.5s;
}

.trust-image:hover .trust-image-border {
    border-color: rgba(55, 89, 144, 0.3);
}

.trust-text {
    order: 1;
}

.trust-desc {
    font-size: 1.2rem;
    color: #e9e9e9;
    line-height: 1.75;
    font-weight: 400;
}

.trust-grid {
    display: grid;
    gap: 2.5rem;
}

.trust-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 2px solid rgba(233, 233, 233, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(144, 199, 233, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -12px rgba(55, 89, 144, 0.2);
    border-color: rgba(55, 89, 144, 0.3);
}

.trust-card:hover::before {
    opacity: 1;
}

.trust-icon {
    width: 68px;
    height: 68px;
    border-radius: 1.25rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.15);
}

.trust-card:hover .trust-icon {
    transform: translateY(-4px) rotate(-5deg);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.25);
}

.trust-card-title {
    font-size: 1.35rem;
    color: #e9e9e9;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.trust-card-desc {
    color: #e9e9e9;
    line-height: 1.75;
    font-weight: 400;
    font-size: 1.05rem;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .trust-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-image {
        order: 1;
    }
    .trust-text {
        order: 2;
    }
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Closing Section */
.closing {
    padding: 8rem 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
}

.closing-bg-motif {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    opacity: 0.05;
    pointer-events: none;
    animation: breatheSlow 12s ease-in-out infinite;
}

@keyframes breatheSlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.05; }
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.08; }
}

.closing-bg-motif svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 32px rgba(55, 89, 144, 0.1));
}

.closing-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.closing-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    line-height: 1.25;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--identity) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
}

.closing-desc {
    font-size: 1.35rem;
    color: var(--black);
    margin-bottom: 2.5rem;
    line-height: 1.75;
    font-weight: 400;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.closing-note {
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 4rem;
    line-height: 1.75;
    font-weight: 500;
    background: linear-gradient(135deg, rgba(144, 199, 233, 0.15), rgba(89, 55, 144, 0.15));
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(55, 89, 144, 0.15);
    display: inline-block;
}

.closing-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .closing-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .closing-title {
        font-size: 3.75rem;
    }
}

/* Footer */
.footer {
    background: #ffffff;
    color: var(--black);
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, 
        var(--identity) 0%, 
        var(--resources) 25%, 
        var(--knowledge) 50%, 
        var(--action) 75%, 
        var(--communication) 100%) 1;
}

.footer-container {
    max-width: 1152px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand img {
    height: 52px;
    width: auto;
    margin-bottom: 1.75rem;
    filter: drop-shadow(0 4px 12px rgba(55, 89, 144, 0.15));
    transition: transform 0.3s;
}

.footer-brand img:hover {
    transform: scale(1.05);
}

.footer-slogan {
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--identity));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
}

.footer-title {
    font-weight: 600;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--identity));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
    letter-spacing: 0.02em;
}

.footer-text {
    font-size: 0.95rem;
    color: rgba(55, 55, 55, 0.75);
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.footer-social {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    color: var(--primary-blue);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(55, 89, 144, 0.2);
    box-shadow: 0 4px 12px rgba(55, 89, 144, 0.1);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--identity));
    color: white;
    transform: translateY(-4px) rotate(5deg);
    box-shadow: 0 8px 24px rgba(55, 89, 144, 0.3);
    border-color: transparent;
}

.footer-bottom {
    border-top: 2px solid rgba(55, 89, 144, 0.15);
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-copyright {
    font-size: 0.95rem;
    color: rgba(55, 55, 55, 0.7);
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(55, 55, 55, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 400;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--identity));
    transition: width 0.3s;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-accent {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--identity), var(--resources));
    box-shadow: 0 0 24px rgba(144, 199, 233, 0.6);
    animation: pulse 3s ease-in-out infinite;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(55, 89, 144, 0.5), rgba(89, 55, 144, 0.4));
    backdrop-filter: blur(12px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    margin: auto;
    padding: 3rem;
    border-radius: 1.75rem;
    width: 90%;
    max-width: 520px;
    position: relative;
    z-index: 101;
    box-shadow: 0 32px 64px -12px rgba(55, 89, 144, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.5);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(55, 89, 144, 0.15);
    border-radius: 0.75rem;
    cursor: pointer;
    color: var(--black);
    padding: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modal-close:hover {
    background: rgba(233, 55, 55, 0.1);
    border-color: rgba(233, 55, 55, 0.3);
    color: var(--action);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--identity));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.modal-desc {
    color: var(--black);
    margin-bottom: 2rem;
    line-height: 1.75;
    font-weight: 400;
    font-size: 1.05rem;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    color: var(--black);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(55, 89, 144, 0.2);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: 'Source Sans Pro', sans-serif;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(144, 199, 233, 0.15);
    transform: translateY(-2px);
}

.form-note {
    font-size: 0.9rem;
    color: rgba(55, 55, 55, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
    padding: 0.75rem 1rem;
    background: rgba(144, 199, 233, 0.08);
    border-radius: 0.5rem;
    border-left: 3px solid var(--identity);
}

.modal-success {
    text-align: center;
    padding: 3rem 1rem;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--identity));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
}

.success-desc {
    color: var(--black);
    line-height: 1.75;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--identity));
    color: white;
    padding: 1.25rem 1.75rem;
    border-radius: 1rem;
    box-shadow: 0 12px 28px -8px rgba(55, 89, 144, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.2);
    display: none;
    z-index: 200;
    max-width: 450px;
    backdrop-filter: blur(10px);
}

.toast.show {
    display: block;
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        transform: translateX(500px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none !important;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
}

.cookie-banner.show {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

.cookie-banner-content {
    background: white;
    border-radius: 1.5rem;
    max-width: 650px;
    width: 100%;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show .cookie-banner-content {
    transform: scale(1);
}

.cookie-banner-text h3 {
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    text-align: center;
}

.cookie-banner-text p {
    color: var(--black);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.cookie-banner-text a {
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-direction: column;
}

.btn-cookie {
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
}

.btn-cookie-accept {
    background: var(--primary-blue);
    color: white;
}

.btn-cookie-accept:hover {
    background: #2d4770;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 89, 144, 0.3);
}

.btn-cookie-reject {
    background: #f5f5f5;
    color: var(--black);
}

.btn-cookie-reject:hover {
    background: #e0e0e0;
}

.btn-cookie-customize {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-cookie-customize:hover {
    background: var(--primary-blue);
    color: white;
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none !important;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    visibility: hidden;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.cookie-modal-content {
    position: relative;
    background: white;
    border-radius: 1.5rem;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.cookie-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--black);
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.cookie-modal-close:hover {
    background: #f5f5f5;
    transform: rotate(90deg);
}

.cookie-modal-title {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.cookie-modal-desc {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cookie-category {
    border: 2px solid #e0e0e0;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.cookie-category:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(55, 89, 144, 0.1);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.cookie-category-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cookie-category-info h3 {
    font-size: 1.1rem;
    color: var(--black);
    margin: 0;
}

.cookie-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
    background: #f5f5f5;
    color: var(--black);
}

.cookie-badge-required {
    background: var(--primary-blue);
    color: white;
}

.cookie-category-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-switch input:checked + .cookie-slider {
    background-color: var(--primary-blue);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-switch input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Modal Actions */
.cookie-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-modal-actions .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border-radius: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .btn {
        padding: 1.5rem 2rem;
        font-size: 1rem;
    }
 {
        padding: 1rem;
    }

    .cookie-banner-content {
        padding: 2rem 1.5rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .cookie-banner-text h3 {
        font-size: 1.5rem;
    }

    .cookie-banner-text p {
        font-size: 0.95rem
        width: 100%;
    }

    .cookie-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .cookie-modal-title {
        font-size: 1.5rem;
        padding-right: 2rem;
    }

    .cookie-category-header {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .cookie-modal-actions {
        flex-direction: column;
    }

    .cookie-modal-actions .btn {
        width: 100%;
    }
}
