/* Modern Premium Styles for Mostbet BD */
:root {
    /* Color Palette */
    --color-primary: #0693e3;
    --color-secondary: #ff6900;
    --color-purple: #9b51e0;
    --color-dark-bg: #0f172a;
    /* Deep matte blue-black */
    --color-card-bg: #1e293b;
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0693e3 0%, #9b51e0 100%);
    --gradient-accent: linear-gradient(135deg, #fcb900 0%, #ff6900 100%);
    --gradient-dark: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(6, 147, 227, 0.3);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-dark-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header--top {
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header--row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header--logo img {
    height: 32px;
    /* Smaller logo as requested */
    width: auto;
}

.header--menu-wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header--menu {
    display: none;
    /* Mobile first, hide by default, show on desktop */
}

@media (min-width: 992px) {
    .header--menu {
        display: block;
    }
}

.header--menu.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease-out;
}

.header--menu.open ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.header--menu.open .sub-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-top: 1rem;
    display: none;
    /* Hide submenus by default on mobile */
    opacity: 1;
    visibility: visible;
    transform: none;
    text-align: center;
}

.header--menu.open .menu-item-has-children.active .sub-menu {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header--menu ul {
    display: flex;
    gap: 1.5rem;
}

.header--menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.header--menu a:hover {
    color: var(--color-white);
}

.header--menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.header--menu a:hover::after {
    width: 100%;
}

/* Dropdown Sub-menu */
.menu-item-has-children {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-card-bg);
    min-width: 200px;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin-bottom: 0.5rem;
}

.sub-menu li:last-child {
    margin-bottom: 0;
}

/* Header Actions */
.header--links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.button--border {
    border: 2px solid var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.button--border:hover {
    background: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.button--orange {
    background: var(--gradient-accent);
    color: var(--color-white);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 105, 0, 0.3);
}

.button--orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 0, 0.4);
}

/* Secondary Header (Scroll Contents) */
.header--bottom {
    background: #151f32;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header--bottom-row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header--bottom-title {
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    white-space: nowrap;
}

.header--bottom-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE */
}

.header--bottom-scroll::-webkit-scrollbar {
    display: none;
}

.header--bottom-items {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
}

.header--bottom-items a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.header--bottom-items a:hover {
    color: var(--color-secondary);
}

/* Hero / Banner Section */
.page--banner {
    padding: 4rem 0;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page--banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0f172a 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.page--banner-row {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .page--banner-row {
        grid-template-columns: 1fr;
    }
}

.page--banner-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback */
}

.page--banner-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Bonus Card in Banner */
.page--banner-bonus {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transform: rotate(2deg);
    transition: var(--transition);
}

.page--banner-bonus:hover {
    transform: rotate(0) scale(1.02);
    border-color: var(--color-secondary);
    box-shadow: 0 0 30px rgba(255, 105, 0, 0.1);
}

.page--banner-bonus-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.page--banner-bonus-green {
    font-size: 1.8rem;
    font-weight: 900;
    color: #4ade80;
    /* Bright Green */
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(74, 222, 128, 0.2);
}

.page--banner-bonus-text {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.page--banner-bonus-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
}

.page--banner-bonus-link span svg {
    fill: currentColor;
}

/* Categories Section */
.page--content {
    padding: 4rem 0;
}

.cat-games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.cat-games--item {
    background: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cat-games--item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.cat-games--item:hover {
    transform: translateY(-5px);
}

.cat-games--item:hover::before {
    opacity: 0.1;
}

.cat-games--left {
    position: relative;
    z-index: 1;
}

.cat-games--title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.cat-games--subtitle {
    font-size: 0.9rem;
    color: var(--color-primary);
}

.cat-games--right {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Games Grid Section */
.games--section {
    margin-bottom: 3rem;
}

.games--section-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.games--section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
}

.games--list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.games--item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    aspect-ratio: 16/9;
}

.games--item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.games--item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
    z-index: 10;
}

.games--item:hover img {
    transform: scale(1.1);
}

/* Mobile Toggle */
.header--menu-btn {
    display: none;
}

@media (max-width: 991px) {
    .header--menu-btn {
        display: block;
        background: transparent;
        border: none;
        width: 40px;
        height: 40px;
        position: relative;
        cursor: pointer;
    }

    .header--menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-white);
        position: relative;
    }

    .header--menu-btn span::before,
    .header--menu-btn span::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--color-white);
        left: 0;
    }

    .header--menu-btn span::before {
        top: -8px;
    }

    .header--menu-btn span::after {
        bottom: -8px;
    }
}

/* Content Links Styling within text (if any) */
.page--banner-text p,
.page--main p {
    margin-bottom: 1.5rem;
}

/* Footer & Other generic sections inferred styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-white);
}

/* Hide autogenerated classes if needed or override */
.wp-block-button__link {
    background: var(--gradient-primary);
    border-radius: 50px;
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
}

/* WordPress Block & Content Styling */
.page--content {
    padding: 3rem 0;
}

.page--content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    position: relative;
    padding-bottom: 0.5rem;
}

.page--content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.page--content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.page--content p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.page--content ul,
.page--content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--color-text-muted);
}

.page--content ul li,
.page--content ol li {
    margin-bottom: 0.5rem;
    position: relative;
}

/* Custom List Bullets */
.wp-block-list li {
    list-style: none;
    padding-left: 1.5rem;
}

.wp-block-list li::before {
    content: '•';
    color: var(--color-secondary);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
    /* Fix alignment issues */
}

@media (max-width: 768px) {
    .wp-block-columns {
        flex-direction: column;
    }

    .wp-block-column {
        flex-basis: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.wp-block-column {
    flex-grow: 1;
}

.wp-block-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* Table Styling */
.wp-block-table {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-card-bg);
}

td,
th {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    color: var(--color-text-muted);
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

table strong {
    color: var(--color-white);
}

/* Custom Tiles (Registration Methods) */
.custom-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.custom-tiles--item {
    background: var(--color-card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-align: center;
}

.custom-tiles--item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.custom-tiles--icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.custom-tiles--title {
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.custom-tiles--text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Welcome Block */
.welcome {
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.1) 0%, rgba(155, 81, 224, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 3rem 0;
}

@media (max-width: 900px) {
    .welcome {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
}

.welcome--left {
    flex: 1;
}

.welcome--title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.welcome--title-green {
    font-size: 2rem;
    font-weight: 900;
    color: #4ade80;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.welcome--text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.welcome--text-green {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.welcome--links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 600px) {
    .welcome--links {
        flex-direction: column;
        width: 100%;
    }

    .welcome--links .button--orange {
        width: 100%;
        text-align: center;
    }
}

.welcome--promo {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px dashed var(--color-text-muted);
    color: var(--color-white);
    font-family: monospace;
    font-size: 1.1rem;
}

/* Footer Styles Refined */
footer {
    background-color: #020617;
    /* Very dark/black */
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer--top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: var(--transition);
}

.footer--top:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.footer--menus {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer--menu-title {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.footer--menu-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--color-secondary);
    border-radius: 2px;
}

.footer--menu ul {
    list-style: none;
    padding: 0;
}

.footer--menu li {
    margin-bottom: 0.8rem;
}

.footer--menu a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer--menu a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer--bottom-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer--bottom-text p {
    color: var(--color-text-muted);
    text-align: center;
    font-size: 0.85rem;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.footer--copy {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: #64748b;
}

.footer--copy a {
    color: var(--color-text-muted);
    text-decoration: underline;
}

.footer--copy a:hover {
    color: var(--color-white);
}

/* Utility */
.d-none {
    display: none;
}

/* FAQ Section */
.faq {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq--item {
    background: var(--color-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.faq--item:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.faq--item-title {
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq--item-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq--item-text strong {
    color: var(--color-white);
}

/* Author Section - Fixing "Crooked" Layout */
.author {
    padding: 4rem 0;
}

/* Override missing Tailwind classes with proper layout */
.author .min-h-screen {
    min-height: auto;
    display: block;
    padding: 0;
    background: transparent !important;
}

.author .card {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Target the inner container that previously depended on flex/bg-white */
.author .card>div {
    display: flex;
    flex-direction: column;
    background: var(--color-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Desktop layout for author card */
@media (min-width: 768px) {
    .author .card>div {
        flex-direction: row;
        align-items: stretch;
    }

    .author .author {
        /* The image wrapper */
        height: 100%;
        display: flex;
    }

    .author img {
        height: 100%;
        object-fit: cover;
    }
}

/* Image wrapper styling */
.author .author {
    width: 100% !important;
    /* Override inline style */
    max-width: 350px;
    margin: 0 auto;
    position: relative;
}

.author img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content wrapper styling */
.author .relative.px-4 {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-author-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-author-soc-wrap {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.text-author-soc a {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid transparent;
}

.text-author-soc a:hover {
    background: var(--color-card-bg);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.text-author-site {
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Bio text and Details */
.author p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

details {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 1.5rem;
}

summary {
    cursor: pointer;
    color: var(--color-white);
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 20px;
}

summary::after {
    content: '+';
    position: absolute;
    right: 0;
    color: var(--color-primary);
}

details[open] summary::after {
    content: '-';
}

details p {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

details strong {
    color: var(--color-white);
}

/* Utility to ensure text colors aren't overridden by legacy */
.text-gray-800,
.text-xl {
    color: var(--color-text-muted);
}

/* CTA Contact Section */
.cta-contact {
    position: relative;
    padding: 4rem 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: 4rem 0;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    isolation: isolate;
}

.cta-contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0f172a 0%, rgba(15, 23, 42, 0.9) 60%, rgba(15, 23, 42, 0.5) 100%);
    z-index: -1;
}

.cta-contact--inner {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.cta-contact--title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.cta-contact--title strong {
    color: var(--color-secondary);
}

.cta-contact--subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.cta-contact--links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-contact--input {
    flex: 1;
    min-width: 280px;
}

.cta-contact--input input {
    width: 100%;
    height: 100%;
    min-height: 50px;
    padding: 0 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--color-white);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.cta-contact--input input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(6, 147, 227, 0.2);
}

.cta-contact--input input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.cta-contact--link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 50px;
    /* Match input height */
    white-space: nowrap;
}

.cta-contact--check {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-contact--check input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.cta-contact--check label strong {
    color: var(--color-white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-contact {
        padding: 2rem;
        background-position: left;
    }

    .cta-contact::before {
        background: rgba(15, 23, 42, 0.95);
    }

    .cta-contact--links {
        flex-direction: column;
    }

    .cta-contact--link {
        width: 100%;
    }
}