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

:root {
    --bg-color: #F4F2EE;
    --bg-gradient: linear-gradient(135deg, #F4F2EE 0%, #FFFFFF 100%);
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --cloka-orange: #E87919;
    --cloka-orange-hover: #CA6512;
    --cloka-navy: #305D82;
    --cloka-navy-light: #3D719E;
    --white: #ffffff;
    --border-color: rgba(48, 93, 130, 0.12);
    
    --shadow-premium: 0 10px 30px -10px rgba(48, 93, 130, 0.08);
    --shadow-hover: 0 20px 40px -15px rgba(232, 121, 25, 0.15);
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background: var(--bg-gradient);
    color: var(--text-primary);
    overflow: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.presentation-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.deck-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Background Elements for depth */
.deck-container::before {
    content: '';
    position: absolute;
    top: -20vh;
    right: -10vw;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 121, 25, 0.03) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    pointer-events: none;
}

.deck-container::after {
    content: '';
    position: absolute;
    bottom: -20vh;
    left: -10vw;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(48, 93, 130, 0.03) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Global Header */
.global-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 4vmin 6vmin;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.brand-tag {
    font-size: 1.6vmin;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cloka-navy);
}

.brand-tag span {
    color: var(--cloka-orange);
}

.header-logo {
    width: auto;
    max-width: 25vmin;
    object-fit: contain;
    /* Turns any logo to solid Cloka Navy (#305D82) */
    filter: brightness(0) invert(34%) sepia(16%) saturate(1450%) hue-rotate(167deg) brightness(91%) contrast(93%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.sintesa-logo {
    height: 6vmin; /* Made larger to balance with Cloka logo */
}

.cloka-logo {
    height: 4.5vmin;
    filter: none !important; /* Always use raw image colors */
}

/* Logo Toggling Logic */
.cloka-logo-light-bg {
    display: none;
}
.cloka-logo-dark-bg {
    display: block;
}

body.on-light-bg .cloka-logo-dark-bg {
    display: none;
}
body.on-light-bg .cloka-logo-light-bg {
    display: block;
}

body.on-dark-bg .sintesa-logo {
    filter: brightness(0) invert(1);
}

.header-logo:hover {
    transform: scale(1.05);
}

/* Slide Basics */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.8s;
    padding: 10vmin 12vmin;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.center-content {
    align-items: center;
    text-align: center;
}

/* Cover Slide layout update */
.cover-slide {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 55%), url('assets/COVER.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0;
}

.cover-content.right-align {
    position: absolute;
    right: 8.5vmin; /* Shifted slightly more to the left */
    top: 55%;
    transform: translateY(-50%);
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

/* Pill Shapes for Highlights */
.cloka-pill-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cloka-orange);
    color: var(--white) !important;
    padding: 1vmin 3vmin;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.6vmin;
    box-shadow: 0 4px 12px rgba(232, 121, 25, 0.2);
}

.cloka-pill-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white) !important;
    padding: 1vmin 3vmin;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 1.6vmin;
    backdrop-filter: blur(8px);
}

.cloka-pill-secondary-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(48, 93, 130, 0.05);
    color: var(--cloka-navy) !important;
    padding: 1vmin 3vmin;
    border-radius: 999px;
    border: 1px solid rgba(48, 93, 130, 0.3);
    font-weight: 700;
    font-size: 1.5vmin;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Typography */
h1.main-title {
    font-size: 8vmin;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2vmin;
    color: var(--cloka-navy);
    letter-spacing: -0.02em;
}

h2.slide-title {
    font-size: 4vmin;
    font-weight: 800;
    margin-bottom: 4vmin;
    color: var(--cloka-navy);
    position: relative;
    display: inline-block;
    letter-spacing: -0.01em;
}

h2.slide-title::after {
    content: '';
    position: absolute;
    bottom: -1.5vmin;
    left: 0;
    width: 8vmin;
    height: 0.6vmin;
    background-color: var(--cloka-orange);
    border-radius: 4px;
}

.center-content h2.slide-title::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 2.5vmin;
    font-weight: 700;
    margin-bottom: 1.5vmin;
    color: var(--text-primary);
}

p {
    font-size: 1.8vmin;
    color: var(--text-secondary);
    margin-bottom: 1.5vmin;
    font-weight: 400;
}

.large-text {
    font-size: 2.2vmin;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
}

ul {
    list-style-type: none;
    margin-bottom: 2vmin;
}

li {
    font-size: 1.8vmin;
    color: var(--text-secondary);
    margin-bottom: 1.2vmin;
    position: relative;
    padding-left: 2.5vmin;
}

li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--cloka-orange);
    font-weight: 700;
}

/* Layouts */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vmin;
    width: 100%;
    align-items: flex-start;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4vmin;
    width: 100%;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3vmin;
    width: 100%;
}

/* Components */
.premium-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 240, 240, 0.96) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 4vmin;
    border: 1.5px solid rgba(232, 121, 25, 0.5);
    border-top: 1.5px solid rgba(232, 121, 25, 0.7);
    border-left: 1.5px solid rgba(232, 121, 25, 0.6);
    border-radius: 12px;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.8), var(--shadow-premium);
    height: 100%;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.premium-card:hover {
    background: linear-gradient(135deg, rgba(245, 135, 40, 0.96) 0%, rgba(200, 95, 15, 0.96) 100%) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    border-top-color: rgba(255, 255, 255, 0.6) !important;
    border-left-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-5px);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.3), var(--shadow-hover);
    color: var(--white) !important;
}

.premium-card:hover h2,
.premium-card:hover h3,
.premium-card:hover p,
.premium-card:hover span,
.premium-card:hover .cloka-pill-secondary-dark,
.premium-card:hover li,
.premium-card:hover li::before,
.premium-card:hover strong,
.premium-card:hover em,
.premium-card:hover .package-price {
    color: var(--white) !important;
}

.premium-card:hover .package-price {
    border-bottom-color: rgba(255, 255, 255, 0.3) !important;
}

.premium-card:hover .recommended-badge {
    background-color: var(--white) !important;
    color: var(--cloka-orange) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.premium-card:hover .cloka-pill-secondary-dark {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.premium-card-blue {
    background: linear-gradient(135deg, rgba(55, 105, 145, 0.96) 0%, rgba(30, 60, 90, 0.96) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-top: 1.5px solid rgba(255, 255, 255, 0.4);
    border-left: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.15), 0 1vmin 3vmin rgba(48, 93, 130, 0.3);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card-blue:hover {
    background: linear-gradient(135deg, rgba(245, 135, 40, 0.96) 0%, rgba(200, 95, 15, 0.96) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1vmin;
}

.card-logo {
    height: 3vmin;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* duplicate hover rule removed */
.premium-card.accent {
    background: linear-gradient(135deg, var(--cloka-navy) 0%, var(--cloka-navy-light) 100%);
    color: var(--white);
    border: none;
}

.premium-card.accent h3, .premium-card.accent p {
    color: var(--white);
}

.stat-card {
    text-align: center;
    padding: 3vmin;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 240, 240, 0.96) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(232, 121, 25, 0.5);
    border-top: 1.5px solid rgba(232, 121, 25, 0.7);
    border-left: 1.5px solid rgba(232, 121, 25, 0.6);
    border-radius: 12px;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.8), var(--shadow-premium);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    color: var(--text-primary);
}

.stat-card p {
    color: var(--text-secondary);
    opacity: 0.9;
    transition: color 0.3s ease;
}

.stat-card:hover {
    background: linear-gradient(135deg, rgba(245, 135, 40, 0.96) 0%, rgba(200, 95, 15, 0.96) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    border-top-color: rgba(255, 255, 255, 0.6);
    border-left-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.3), var(--shadow-hover);
}

.stat-card:hover .stat-number,
.stat-card:hover p {
    color: var(--white);
}

.stat-number {
    font-size: 4.5vmin;
    font-weight: 800;
    color: var(--cloka-navy);
    margin-bottom: 1vmin;
    transition: color 0.3s ease;
}

.package-price {
    font-size: 3.8vmin;
    font-weight: 800;
    color: var(--cloka-orange);
    margin: 2vmin 0;
    padding-bottom: 2vmin;
    border-bottom: 1px dashed var(--border-color);
}

.recommended-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cloka-orange);
    color: var(--white);
    padding: 0.8vmin 2.5vmin;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.3vmin;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5vmin;
    box-shadow: 0 4px 10px rgba(232, 121, 25, 0.3);
}

/* Section Breaks */
.section-break {
    background: linear-gradient(135deg, var(--cloka-navy) 0%, #1A354E 100%);
    color: var(--white);
}

.section-break h1.main-title {
    color: var(--white);
    font-size: 9vmin;
}

.section-break p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 2.5vmin;
    max-width: 800px;
}

/* Controls */
.controls {
    position: absolute;
    bottom: 5vmin;
    right: 5vmin;
    display: flex;
    gap: 1.5vmin;
    z-index: 100;
}

.nav-btn {
    background: var(--white);
    border: 1px solid var(--border-color);
    width: 6vmin;
    height: 6vmin;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-premium);
}

.nav-btn:hover {
    background: var(--cloka-orange);
    border-color: var(--cloka-orange);
    transform: scale(1.05);
}

.nav-btn:hover svg {
    stroke: var(--white);
}

.nav-btn svg {
    stroke: var(--cloka-navy);
    width: 2.5vmin;
    height: 2.5vmin;
    transition: stroke 0.3s ease;
}

.pagination {
    position: absolute;
    bottom: 6.5vmin;
    left: 5vmin;
    font-size: 1.6vmin;
    font-weight: 700;
    color: var(--cloka-navy);
    z-index: 100;
    letter-spacing: 0.1em;
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.6vmin;
    background: rgba(48, 93, 130, 0.05);
    z-index: 100;
}

.progress-bar {
    height: 100%;
    background: var(--cloka-orange);
    width: 0%;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Blue Closing Slide */
.blue-slide {
    background: linear-gradient(135deg, var(--cloka-navy) 0%, #1A354E 100%);
    color: var(--white);
}

.blue-slide h1.main-title {
    color: var(--white);
}

.blue-slide p {
    color: rgba(255, 255, 255, 0.8);
}

/* Closing Step Cards */
.closing-step-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-top: 1.5px solid rgba(255, 255, 255, 0.3);
    border-left: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    height: 100%;
    transition: background 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.closing-step-card:hover {
    background: rgba(232, 121, 25, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(232, 121, 25, 0.4);
}

.closing-step-card:hover p {
    color: var(--white) !important;
}
