/* Modern Landing Page Styles - Carousel Version */
:root {
    /* Corporate Palette */
    --primary: #0C4E9B;
    /* Corporate Blue */
    --primary-dark: #083870;
    --blue-dark: #2c3e50;

    --bg-body: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;

    --radius-md: 8px;
    --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    padding-top: 100px;
    /* Space for fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 100px;
    overflow: visible;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    max-width: 400px;
    position: relative;
    z-index: 1001;
}

.logo-image-link {
    display: block;
    line-height: 0;
    background: transparent;
}

.logo-img {
    background: transparent;
    height: 80px;
    width: auto;
    object-fit: contain;
    position: relative;
    top: 0;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
}

.desktop-nav a:hover {
    color: var(--primary);
}

.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

/* User Header Profile */
.header-user-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f8fafc;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
}

.user-mini-profile {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.header-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-username-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--blue-dark);
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-actions-divider {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
    margin: 0 0.2rem;
}

.header-icon-btn {
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 1.1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    text-decoration: none;
}

.header-icon-btn:hover {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.logout-btn:hover {
    color: var(--danger, #ef4444);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.admin-icon-link {
    font-size: 1.2rem;
    color: #cbd5e1;
    /* Light Gray */
    margin-left: 0.8rem;
    /* Space from button */
    margin-right: 0;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.admin-icon-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Carousel Section */
.hero-carousel {
    position: relative;
    height: 500px;
    max-width: 1600px;
    margin: 0 auto;
    border-radius: 15px;
    width: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

/* Explicitly remove any overlays */
.carousel-slide::before,
.carousel-slide::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

.slide-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: white;
}

/* Simple Services Cards */
.services-simple {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--blue-dark);
}

.divider-center {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card-simple {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.service-card-simple:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(0, 186, 163, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.service-card-simple h3 {
    margin-bottom: 1rem;
    color: var(--blue-dark);
    margin-top: 0;
}

.service-card-simple p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.95rem;
}


/* Pricing Section - REDESIGNED BEAUTIFUL CARDS */
.pricing-section {
    padding: 6rem 0;
    background-color: white;
    /* Clean background */
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    align-items: stretch;
    /* Stretch to equal height */
}

.pricing-card {
    background: white;
    border-radius: 20px;
    /* Modern rounded corners */
    padding: 3rem 2rem;
    width: 300px;
    max-width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Soft diffuse shadow */
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    text-align: center;
    /* Center everything */
}

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

/* Featured Card with Recommended Tag */
.pricing-card.featured {
    border: 2px solid var(--primary);
    background: #fdfdfd;
}

.feature-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 186, 163, 0.4);
    z-index: 10;
}

/* Headers */
.pricing-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

/* Price Display */
.pricing-price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--blue-dark);
    margin: 0 0 2rem;
    line-height: 1;
}

.pricing-price .currency {
    font-size: 2rem;
    vertical-align: top;
    position: relative;
    top: 5px;
    margin-right: 2px;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    /* Period below price */
    margin-top: 5px;
}

.pricing-price .unit {
    font-size: 1rem;
    color: #999;
    font-weight: 400;
}

/* Feature List (Fixing double bullets) */
ul.pricing-features {
    padding: 0;
    margin: 0 0 2.5rem 0;
    list-style: none !important;
    /* Force remove dots */
    flex-grow: 1;
    /* Push button to bottom */
    text-align: left;
    /* List items left aligned looks better */
    padding-left: 1rem;
    /* Indent slightly */
}

ul.pricing-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.2rem;
    color: #555;
    font-size: 1rem;
}

ul.pricing-features i {
    color: var(--primary);
    /* Green checkmark */
    font-size: 1.1rem;
    background: rgba(0, 186, 163, 0.1);
    padding: 5px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Unique Button Style for Pricing */
.pricing-card .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 50px;
    /* Pill shape */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pricing-card .btn:hover {
    transform: scale(1.02);
}


/* Footer */
.modern-footer {
    background: var(--blue-dark);
    color: white;
    padding: 4rem 0 1rem;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    display: inline-block;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.1rem;
}

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

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: #999;
}

/* Modern Auth Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    position: relative;
    background: white;
    width: 100%;
    max-width: 440px;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 2001;
    animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 1rem;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Close Button */
.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.modal-close-btn:hover {
    background: #f1f5f9;
    color: #334155;
    transform: rotate(90deg);
}

/* Header */
.modal-header-center {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-icon-brand {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(99, 102, 241, 0.1);
    /* Primary light */
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.modal-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* Tabs */
.auth-tabs-wrapper {
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.tab-btn {
    padding: 0.8rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.tab-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Forms */
.auth-form {
    animation: fadeIn 0.3s ease;
}

.hidden {
    display: none !important;
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}


#pin-modal {
    z-index: 2100 !important;
    /* Higher than auth modal */
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    font-size: 1.1rem;
    pointer-events: none;
    /* Prevent icon from blocking input click */
    z-index: 10;
}

.modern-input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    /* Left padding for icon */
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    color: #1e293b;
    background: white;
    transition: all 0.2s;
    font-family: inherit;
    position: relative;
    z-index: 1;
}

.modern-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    /* Primary ring */
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.input-group .flex-between .input-label {
    margin-bottom: 0;
}

.forgot-link {
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Primary Button */
.btn-lg {
    padding: 1rem;
    font-size: 1.05rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    /* Fallback */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2);
}

.btn-lg:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

/* Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Social Button */
.btn-social-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 0.8rem;
    border-radius: 10px;
    color: #334155;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-social-google:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.google-icon {
    width: 20px;
    height: 20px;
}

/* Footer Terms */
.terms-micro {
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 1.5rem;
    line-height: 1.4;
}

.terms-micro a {
    color: #64748b;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 380px;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .hero-carousel {
        height: 400px;
    }
}