/* =========================================
   SOPORTE WEB - MODERN TECH DESIGN (LIGHT THEME)
   Colors based on logo (#5e17eb, #ff3131, #a92394)
   ========================================= */

:root {
    /* Color Palette - Premium Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-darker: #f0f2f8;
    --bg-tertiary: rgba(94, 23, 235, 0.05);

    --text-primary: #120a22;
    /* Very dark purple/black for text */
    --text-secondary: #5a526b;
    /* Muted dark purple/gray */

    /* Logo Colors */
    --accent-red: #ff3131;
    --accent-purple: #5e17eb;
    --accent-magenta: #a92394;

    --accent-gradient: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-magenta) 50%, var(--accent-purple) 100%);

    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(94, 23, 235, 0.1);
    --card-hover: rgba(255, 49, 49, 0.05);

    /* Layout */
    --max-width: 1280px;
    --nav-height: 120px;

    /* Effects */
    --glass-blur: blur(20px);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(94, 23, 235, 0.1);
    --shadow-glow: 0 0 25px rgba(255, 49, 49, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.25, 1, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Noise overlay for texture (very subtle in light mode) */
.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 5000;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Removed background gradient blobs for a simpler look */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

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

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-padding {
    padding: 70px 0;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 49, 49, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 49, 49, 0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--accent-purple);
    border: 2px solid var(--accent-purple);
}

.btn-outline:hover {
    background: var(--accent-purple);
    color: #fff;
    border-color: var(--accent-purple);
}

.btn-icon {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.btn-icon:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: #fff;
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Header (Glassmorphism) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    height: 90px;
    transition: var(--transition-fast);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-purple);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background: transparent;
    color: var(--accent-purple);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    border: 2px solid var(--accent-purple);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-btn:hover {
    background: var(--accent-purple);
    color: #fff;
    box-shadow: 0 4px 15px rgba(94, 23, 235, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* Modern Hero Section */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.2;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 15%;
    right: 5%;
    background: var(--accent-red);
}

.shape-2 {
    width: 500px;
    height: 500px;
    bottom: -10%;
    left: -10%;
    background: var(--accent-purple);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge-modern {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(169, 35, 148, 0.1);
    border: 1px solid rgba(169, 35, 148, 0.2);
    color: var(--accent-magenta);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    border-radius: 2px;
}

.title-modern {
    font-size: 5rem;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.subtitle-modern {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Glass Panel Visual in Hero */
.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-featured-img {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(94, 23, 235, 0.2);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Section Headers Modern */
.section-header {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 3rem;
}

.heading-line {
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    margin: 1rem 0 1.5rem;
}

.text-center .heading-line {
    margin: 1rem auto 1.5rem;
}

/* Services Modern Grid */
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.service-card,
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: var(--glass-blur);
    padding: 2.5rem;
    border-radius: 4px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.service-card {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.feature-card {
    grid-column: span 3;
    background: linear-gradient(180deg, rgba(248, 249, 252, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.service-card:hover,
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 49, 49, 0.3);
    box-shadow: var(--shadow-md);
}

.service-img-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border-bottom: 3px solid rgba(94, 23, 235, 0.2);
}

.service-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.25, 1);
}

.service-card:hover .service-featured-img {
    transform: scale(1.05);
}

.service-content {
    padding: 2.5rem;
}

.service-tag {
    color: var(--accent-magenta);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.service-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon {
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Resources Section */
.bg-darker {
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.modern-box {
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.resource-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-purple);
}

.img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    background: #f1f1f1;
}

.img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.25, 1);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

.img-wrapper:hover .img-overlay {
    opacity: 1;
}

.modern-cta-box {
    background: linear-gradient(135deg, rgba(94, 23, 235, 0.05) 0%, rgba(255, 49, 49, 0.05) 100%);
    border: 1px solid rgba(94, 23, 235, 0.1);
    padding: 4rem 2rem;
    border-radius: 4px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.cta-subtitle {
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.doc-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* Videos Gallery Section */
.video-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(94, 23, 235, 0.15);
    border-color: var(--accent-purple);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background: #f8f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 23, 235, 0.15) 0%, rgba(255, 49, 49, 0.15) 100%);
    z-index: 1;
}

.thumb-logo {
    position: relative;
    z-index: 2;
    height: 80px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 49, 49, 0.3);
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.play-btn svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.video-card:hover .thumb-logo {
    opacity: 0.4;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.video-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}


/* Form / Comparative Table / Flowchart Extensions */
.table-container {
    overflow-x: auto;
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin: 3rem auto;
    max-width: 1000px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    background: var(--bg-secondary);
    font-size: 1.1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table .highlight-col {
    background: rgba(94, 23, 235, 0.03);
    border-left: 2px solid var(--accent-purple);
    border-right: 2px solid var(--accent-purple);
}

.comparison-table th.highlight-col {
    background: var(--accent-gradient);
    color: white;
    border: none;
    text-align: center;
}

.comparison-table td.highlight-col {
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .table-container {
        padding-bottom: 10px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .comparison-table th {
        font-size: 0.95rem;
    }
}

/* Interactive Flowchart */
.resources-wide-container {
    max-width: 1000px;
    margin: 0 auto;
}

.interactive-flowchart {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1rem;
}

.flow-step {
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.flow-step:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-md);
}

.flow-step-number {
    background: var(--accent-gradient);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 49, 49, 0.3);
}

.flow-step-content h4 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.flow-step-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
    font-weight: 800;
    font-size: 2rem;
    margin-top: 3rem;
    animation: flowRight 2s infinite;
}

@keyframes flowRight {
    0% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(-5px);
    }
}

@media (max-width: 900px) {
    .interactive-flowchart {
        flex-direction: column;
        align-items: stretch;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 0 auto;
        animation: flowDown 2s infinite;
    }

    @keyframes flowDown {
        0% {
            transform: rotate(90deg) translateX(-5px);
        }

        50% {
            transform: rotate(90deg) translateX(5px);
        }

        100% {
            transform: rotate(90deg) translateX(-5px);
        }
    }
}

/* Scheduling Form */
/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 3rem 2rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(94, 23, 235, 0.3);
}

.pricing-card.highlighted {
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-md);
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card.highlighted:hover {
    transform: scale(1.03) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 49, 49, 0.3);
}

.pricing-header {
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    min-height: 48px;
}

.pricing-price {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.5rem;
    margin-right: 0.2rem;
}

.pricing-price .amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-price .amount.text-conversable {
    font-size: 2.2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-note {
    font-size: 0.85rem;
    color: var(--accent-purple);
    font-weight: 600;
}

.pricing-features {
    flex-grow: 1;
}

.pricing-features ul li {
    padding: 0.8rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.pricing-features ul li .check {
    color: var(--accent-red);
    font-weight: 800;
}

.pricing-features ul li.optional .check {
    color: var(--accent-purple);
}

.pricing-action {
    margin-top: 2.5rem;
}

.pricing-footer-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (min-width: 1180px) {
    .pricing-section {
        min-height: calc(100vh - var(--nav-height));
        display: flex;
        align-items: center;
    }

    .pricing-section.section-padding {
        padding: 24px 0 18px;
    }

    .pricing-section .container {
        max-width: 1400px;
    }

    .pricing-section .section-header {
        margin-bottom: 0.75rem;
    }

    .pricing-section .badge-modern {
        margin-bottom: 0.4rem;
        font-size: 0.72rem;
        padding: 0.35rem 0.8rem;
    }

    .pricing-section .section-title {
        font-size: 2.35rem;
        margin-bottom: 0.35rem;
    }

    .pricing-section .heading-line {
        margin: 0.5rem auto 0.9rem;
    }

    .pricing-section .section-desc {
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 0 auto;
        max-width: 900px;
    }

    .pricing-grid {
        margin-top: 1rem;
        gap: 1rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pricing-card {
        padding: 1.4rem 1rem;
    }

    .pricing-header {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .pricing-header h3 {
        font-size: 1.35rem;
        margin-bottom: 0.3rem;
    }

    .pricing-subtitle {
        font-size: 0.82rem;
        min-height: 32px;
        line-height: 1.25;
    }

    .pricing-price {
        margin: 0.8rem 0;
    }

    .pricing-price .currency {
        font-size: 1.1rem;
        margin-top: 0.3rem;
    }

    .pricing-price .amount {
        font-size: 2.5rem;
    }

    .pricing-price .amount.text-conversable {
        font-size: 1.8rem;
    }

    .pricing-note {
        font-size: 0.76rem;
        line-height: 1.3;
    }

    .pricing-features ul li {
        padding: 0.3rem 0;
        font-size: 0.82rem;
        line-height: 1.25;
        gap: 0.45rem;
    }

    .pricing-action {
        margin-top: 1rem;
    }

    .pricing-action .btn {
        padding: 0.68rem 0.9rem;
        font-size: 0.72rem;
        letter-spacing: 0.6px;
    }

    .popular-badge {
        top: -10px;
        font-size: 0.68rem;
        padding: 0.35rem 0.95rem;
    }

    .pricing-footer-note {
        font-size: 0.77rem;
        line-height: 1.3;
    }

    .pricing-footer-note.mt-5 {
        margin-top: 1rem;
    }
}

/* Clients Marquee Section */
.clients-section {
    overflow: hidden;
}

.marquee-container {
    width: 100vw;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    padding: 2.5rem 0;
    margin-top: 2rem;
    background: #1e293b;
    /* Updated to dark blue/grey background to show white logos */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
}

.client-logo {
    height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    /* Display in original full colors, with a subtle shadow for visibility of white logos */
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    transition: var(--transition-normal);
}

.client-logo:hover {
    filter: drop-shadow(0 4px 10px rgba(94, 23, 235, 0.2));
    transform: scale(1.1);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.schedule-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--card-border);
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent-purple);
}

.booking-form {
    display: flex;
    flex-direction: column;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.booking-grid .form-group {
    margin-bottom: 0;
}

.form-group-full {
    grid-column: 1 / -1;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(94, 23, 235, 0.1);
}

.captcha-group {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#captcha-image {
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#reload-captcha {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
}

#captcha {
    flex: 1;
    min-width: 200px;
    text-transform: uppercase;
}

.form-submit-group .form-disclaimer {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

/* Floating WA Button */
.floating-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    /* WhatsApp Brand Color */
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-normal);
}

.floating-wa-btn:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #1ebe57;
    color: white;
}


/* Contact CTA */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(94, 23, 235, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.cta-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
    border: 1px solid rgba(94, 23, 235, 0.2);
    padding: 5rem 2rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(94, 23, 235, 0.1);
    backdrop-filter: var(--glass-blur);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

@media (min-width: 1180px) {
    .cta-section {
        min-height: calc(100vh - var(--nav-height));
        display: flex;
        align-items: center;
    }

    .cta-section.section-padding {
        padding: 20px 0 12px;
    }

    .cta-container {
        padding: 1.6rem 1.1rem;
    }

    .cta-container .title-modern {
        font-size: 2.2rem;
        margin-bottom: 0.4rem;
    }

    .cta-container .subtitle-modern {
        margin: 0 auto 1rem;
        font-size: 0.95rem;
        max-width: 880px;
    }

    .schedule-form-wrapper {
        max-width: 980px;
        padding: 1.2rem;
    }

    .form-title {
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .booking-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem 0.9rem;
    }

    .booking-form input,
    .booking-form select,
    .booking-form textarea {
        padding: 0.72rem 0.8rem;
        font-size: 0.9rem;
    }

    .booking-form textarea {
        min-height: 82px;
    }

    .captcha-group {
        justify-content: flex-start;
        gap: 8px;
    }

    #captcha-image {
        height: 38px;
        width: auto;
    }

    #reload-captcha {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    #captcha {
        min-width: 180px;
        max-width: 260px;
    }

    .pricing-action .btn,
    .form-submit-group .btn {
        padding: 0.68rem 0.9rem;
        font-size: 0.72rem;
        letter-spacing: 0.6px;
    }

    .form-submit-group .form-disclaimer {
        margin-top: 0.35rem;
        font-size: 0.74rem;
    }

    .cta-buttons.mt-5 {
        margin-top: 0.7rem;
    }

    .cta-buttons .btn-lg {
        padding: 0.74rem 1.1rem;
        font-size: 0.8rem;
    }
}

/* Footer */
.footer {
    background: #120a22;
    /* Keep footer dark for solid grounding, or change it? 
                           Let's keep it dark purple for beautiful contrast at the bottom! */
    color: #ffffff;
    padding-top: 5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand img {
    height: 80px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    color: #b3a8c8;
    max-width: 350px;
    font-size: 1rem;
}

.footer-links-wrapper {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-group a {
    display: block;
    color: #b3a8c8;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.link-group a:hover {
    color: var(--accent-red);
    transform: translateX(5px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    color: #b3a8c8;
    font-size: 0.9rem;
}

.legal-links a {
    color: #b3a8c8;
    font-size: 0.9rem;
    margin-left: 1.5rem;
}

.legal-links a:hover {
    color: var(--accent-magenta);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    margin-top: 2rem;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(94, 23, 235, 0.2);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--text-primary);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--accent-red);
}

/* Video Modal specifics */
.video-modal-overlay {
    background-color: rgba(18, 10, 34, 0.95);
}

/* dark overlay for videos */
.video-modal-overlay .modal-close {
    color: #fff;
}

.video-modal-overlay .modal-close:hover {
    color: var(--accent-red);
}

.pdf-modal-overlay {
    background-color: rgba(18, 10, 34, 0.96);
}

.pdf-modal-overlay .modal-close {
    color: #fff;
}

.pdf-modal-overlay .modal-close:hover {
    color: var(--accent-red);
}

.modal-pdf-container {
    position: relative;
    width: min(96vw, 1100px);
    margin: 2.5vh auto;
    height: 95vh;
    background: #0f0a1d;
    border: 1px solid rgba(94, 23, 235, 0.5);
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(94, 23, 235, 0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pdf-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(20, 13, 35, 0.98);
    border-bottom: 1px solid rgba(94, 23, 235, 0.4);
}

.pdf-toolbar .btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.75rem;
    letter-spacing: 0.4px;
}

#pdf-page-indicator {
    color: #fff;
    font-weight: 700;
    min-width: 130px;
    text-align: center;
    font-size: 0.9rem;
}

.pdf-canvas-wrap {
    flex: 1;
    overflow: auto;
    padding: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#pdf-canvas {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    background: #fff;
}

.modal-video-container {
    position: relative;
    max-width: 1000px;
    width: 90%;
    margin: 5% auto;
    background: #000;
    border: 1px solid var(--accent-purple);
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(94, 23, 235, 0.4);
}

.modal-video-container video {
    width: 100%;
    display: block;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.visual-delay {
    transition-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .subtitle-modern {
        margin: 0 auto 2.5rem;
        font-size: 1.1rem;
    }

    .title-modern {
        font-size: 3.5rem;
    }

    .services-modern-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
    }

    .service-card {
        grid-column: span 6;
    }

    .feature-card {
        grid-column: span 6;
    }

    .video-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        transition: var(--transition-normal);
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .nav.nav-active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.toggle-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-toggle.toggle-active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.toggle-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .title-modern {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.3rem;
    }

    .pricing-price .amount {
        font-size: 3rem;
    }

    .feature-card {
        grid-column: span 6;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .legal-links a {
        margin: 0 0.5rem;
        display: block;
        margin-bottom: 0.5rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .hero-shape {
        opacity: 0.1;
    }

    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .schedule-form-wrapper {
        padding: 1.5rem;
    }

    .captcha-group {
        flex-direction: column;
    }

    #captcha-image {
        width: 100%;
        max-width: 200px;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 45px;
        background: rgba(0, 0, 0, 0.6);
        color: #fff !important;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 1;
        padding-bottom: 5px;
        /* slight vertical centering tweak */
    }

    .modal-pdf-container {
        width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0;
        border: none;
    }

    .pdf-toolbar {
        gap: 0.4rem;
        padding: 0.65rem 0.55rem;
    }

    .pdf-toolbar .btn {
        padding: 0.45rem 0.65rem;
        font-size: 0.68rem;
    }

    #pdf-page-indicator {
        font-size: 0.76rem;
        min-width: 100px;
    }

    .pdf-canvas-wrap {
        padding: 0.45rem;
    }
}
