/**
 * Global Digital Solutions — Compliance Reminder System
 * Design language adopted from crsys.ai
 */

:root {
    --primary-color: #4158D0;
    --primary-dark: #3347b8;
    --secondary-color: #C850C0;
    --accent-color: #FFCC70;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-muted: #6c757d;
    --gradient-primary: linear-gradient(135deg, #4158D0 0%, #C850C0 50%, #FFCC70 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.navbar-brand-logo {
    background: #fff;
    border-radius: 10px;
    padding: 0.4rem 0.75rem;
    display: inline-flex;
    align-items: center;
}

.navbar-brand-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.navbar-brand-text {
    color: #fff;
    line-height: 1.2;
    padding-left: 0.9rem;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    gap: 0.6rem;
}

.product-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    overflow: hidden;
    display: inline-flex;
    flex-shrink: 0;
    background: #fff;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-icon-lg {
    display: flex;
    width: 76px;
    height: 76px;
    border-radius: 18px;
    margin: 0 auto 1.25rem;
    box-shadow: 0 10px 30px rgba(26, 26, 46, 0.18);
}

.product-text {
    line-height: 1.2;
}

.navbar-brand-text .brand-product {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1.2;
}

.navbar-brand-text .brand-tagline {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

@media (max-width: 576px) {
    .navbar-brand { gap: 0.5rem; }
    .navbar-brand-logo { padding: 0.3rem 0.55rem; }
    .navbar-brand-logo img { height: 20px; }
    .navbar-brand-text { padding-left: 0.5rem; gap: 0.4rem; }
    .product-icon { width: 28px; height: 28px; border-radius: 7px; }
    .navbar-brand-text .brand-product { font-size: 0.82rem; }
    .navbar-brand-text .brand-tagline { display: none; }
}

@media (max-width: 400px) {
    .navbar-brand-logo { display: none; }
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.btn-login {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Hero */
.hero {
    position: relative;
    padding-top: 76px;
    background: var(--dark-color);
}

.hero .carousel-inner,
.hero .carousel-item {
    overflow: hidden;
}

.hero-slide {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background-color: var(--dark-color);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.85) 42%, rgba(65, 88, 208, 0.55) 100%);
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 4rem 0;
}

.hero .carousel-indicators {
    bottom: 1.75rem;
    z-index: 5;
    margin-bottom: 0;
}

.hero .carousel-indicators button {
    width: 40px;
    height: 5px;
    border-radius: 3px;
    border: none;
    opacity: 0.5;
    background-color: #fff;
    transition: all 0.3s ease;
}

.hero .carousel-indicators button.active {
    opacity: 1;
    width: 60px;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 6%;
    z-index: 5;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
    opacity: 1;
}

.hero .carousel-control-prev-icon,
.hero .carousel-control-next-icon {
    width: 2.25rem;
    height: 2.25rem;
}

@media (max-width: 768px) {
    .hero-slide { min-height: 78vh; }
    .hero .carousel-control-prev,
    .hero .carousel-control-next { display: none; }
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #C850C0, #ff6b6b);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200, 80, 192, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(200, 80, 192, 0); }
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 700;
    font-style: italic;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
}

.hero .lead {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero p.hero-desc {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 620px;
}

.hero-buttons {
    margin-top: 2rem;
}

.btn-hero-primary {
    background: #fff;
    color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: #fff;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.hero-stat-strip {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.25rem; }
    .hero .lead { font-size: 1.15rem; }
    .hero { min-height: auto; padding-bottom: 2rem; }
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title .eyebrow {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: #fff;
}

.feature-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.feature-card-mbrs {
    border: 2px solid var(--secondary-color);
}

.new-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.feature-icon-mbrs {
    background: linear-gradient(135deg, #C850C0 0%, #4158D0 100%) !important;
}

.feature-card-soon {
    border: 2px dashed #d0d5dd;
    opacity: 0.85;
}

.soon-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--text-muted);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Stats */
.stats-section {
    background: var(--gradient-dark);
    padding: 5rem 0;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* MBRS flow */
.mbrs-step {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mbrs-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mbrs-step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mbrs-step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #C850C0 0%, #4158D0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.mbrs-step-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.mbrs-step h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.mbrs-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Comparison table */
.mbrs-compare-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 2.5rem;
}

.mbrs-compare-table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.mbrs-compare-table thead th {
    background: var(--dark-color);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 1rem;
    border: none;
}

.mbrs-compare-table thead th:first-child { border-radius: 10px 0 0 0; }
.mbrs-compare-table thead th:last-child { border-radius: 0 10px 0 0; }
.mbrs-compare-table thead th.mbrs-col-highlight { background: var(--primary-color); }

.mbrs-compare-table tbody td {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.mbrs-compare-table tbody tr:last-child td { border-bottom: none; }
.mbrs-compare-table tbody tr:last-child td:first-child { border-radius: 0 0 0 10px; }
.mbrs-compare-table tbody tr:last-child td:last-child { border-radius: 0 0 10px 0; }

td.mbrs-col-highlight {
    background: rgba(65, 88, 208, 0.06);
    color: var(--primary-color);
    font-weight: 500;
}

/* Pricing */
.pricing-section {
    background: linear-gradient(135deg, #f8f6ff 0%, #fdf0ff 50%, #f6f8ff 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    border: 1px solid #e8e0ff;
}

.price-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 2px solid #e8e0ff;
    transition: all 0.3s ease;
    height: 100%;
}

.price-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(200, 80, 192, 0.15);
}

.price-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    opacity: 0.7;
}

.price-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4158D0, #C850C0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.price-per {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-gradient-cta {
    background: linear-gradient(135deg, #C850C0 0%, #4158D0 100%);
    color: #fff;
    border: none;
    padding: 0.85rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-gradient-cta:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(200, 80, 192, 0.4);
}

/* About / Company cards */
.about-intro {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.about-card .about-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.about-card .about-icon i {
    color: #fff;
    font-size: 1.5rem;
}

.about-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.about-list li::before {
    content: '\F272';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Team */
.team-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.team-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    padding: 4px;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
}

.team-card h4 {
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.team-card .team-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 6rem 0;
    text-align: center;
    color: #fff;
}

.cta-section h2 { margin-bottom: 1rem; }

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Contact */
.contact-info-card {
    background: var(--gradient-dark);
    border-radius: 20px;
    padding: 3rem;
    color: #fff;
    height: 100%;
}

.contact-info-card h4 { margin-bottom: 2rem; }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-info-item h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-info-item p,
.contact-info-item a {
    margin-bottom: 0;
    opacity: 0.85;
    color: #fff;
    text-decoration: none;
}

.contact-info-item a:hover { opacity: 1; text-decoration: underline; }

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    height: 100%;
    min-height: 320px;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

/* Footer */
.footer {
    background: var(--dark-color);
    padding: 4rem 0 2rem;
    color: #fff;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand .navbar-brand-logo {
    padding: 0.4rem 0.75rem;
}

.footer-brand .navbar-brand-logo img { height: 26px; }

.footer h5, .footer h6 { color: #fff; margin-bottom: 1.5rem; }

.text-light-muted { color: rgba(255, 255, 255, 0.7); }

.footer-links { list-style: none; padding: 0; }

.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-reg {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Utility */
.bg-light-gray { background: #f8f9fa; }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .stat-number { font-size: 2.5rem; }
    .feature-card, .contact-form, .contact-info-card, .about-card { padding: 2rem; }
    .pricing-section { padding: 1.5rem; }
    .price-amount { font-size: 2rem; }
    .mbrs-compare-wrapper { padding: 1.5rem; }
}
