/**
 * Gallic Business Suite - Custom Styles
 * Bootstrap Extension
 */

:root {
    --gallic-blue: #3b82f6;
    --gallic-dark: #0f172a;
    --gallic-slate: #64748b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
.text-uppercase-spaced {
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wide {
    letter-spacing: 0.1em;
}

.tracking-widest {
    letter-spacing: 0.2em;
}

.font-black {
    font-weight: 900;
}

/* Top Bar */
.top-bar {
    background: var(--gallic-dark);
    font-size: 10px;
}

.top-bar a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Navigation */
.navbar-gallic {
    transition: all 0.2s ease;
}

.navbar-gallic.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-gallic .nav-link {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gallic-slate);
}

.navbar-gallic .nav-link:hover {
    color: var(--gallic-blue);
}

/* Hero Section */
.hero-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--gallic-blue);
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--gallic-blue);
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--gallic-dark);
}

.hero-title .highlight {
    color: var(--gallic-blue);
}

/* Module Explorer */
.module-explorer {
    background: var(--gallic-dark);
    border-radius: 1rem;
    overflow: hidden;
}

.module-sidebar {
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 200px;
}

.module-sidebar-title {
    font-size: 9px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.module-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.625rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    text-align: left;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.module-btn:hover {
    color: rgba(255, 255, 255, 0.7);
}

.module-btn.active {
    background: rgba(59, 130, 246, 0.1);
    color: white;
}

.module-btn.active .module-indicator {
    display: block;
}

.module-indicator {
    display: none;
    width: 2px;
    height: 14px;
    background: var(--gallic-blue);
    border-radius: 2px;
    position: absolute;
    left: 0;
}

.module-btn i {
    font-size: 14px;
}

.module-btn .check-icon {
    margin-left: auto;
    color: var(--gallic-blue);
    font-size: 10px;
}

/* Module Content */
.module-content {
    padding: 2.5rem;
}

.module-icon-box {
    width: 48px;
    height: 48px;
    background: var(--gallic-blue);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.3);
}

.module-icon-box i {
    font-size: 20px;
    color: white;
}

.module-label {
    font-size: 8px;
    font-weight: 700;
    color: rgba(59, 130, 246, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.4em;
}

.module-name {
    font-size: 1.875rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1;
}

.module-price-label {
    font-size: 7px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.module-price {
    font-size: 1.125rem;
    font-weight: 900;
    color: rgba(59, 130, 246, 0.8);
}

.module-price span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.module-tagline {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

.module-description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

.module-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.module-feature-icon {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-feature-icon i {
    font-size: 8px;
    color: rgba(59, 130, 246, 0.8);
}

.module-feature span {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.module-footer-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.module-footer-badge i {
    color: rgba(59, 130, 246, 0.4);
    font-size: 10px;
}

/* Add/Remove Button */
.btn-add-module {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background: var(--gallic-blue);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.2s ease;
}

.btn-add-module:hover {
    background: #2563eb;
    color: white;
}

.btn-add-module.added {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Customization Alert */
.customization-alert {
    background: rgba(59, 130, 246, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem 2rem;
    transition: all 0.5s ease;
}

.customization-alert:hover {
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.1);
}

.customization-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.customization-alert:hover .customization-icon {
    transform: scale(1.1);
}

.customization-icon i {
    font-size: 24px;
    color: var(--gallic-blue);
}

.customization-label {
    font-size: 9px;
    font-weight: 900;
    color: var(--gallic-blue);
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

/* Value Props Section */
.value-props-section {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.value-prop-card {
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.value-prop-card:hover {
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.1);
}

.value-prop-card:hover .value-prop-icon {
    transform: scale(1.1);
}

.value-prop-icon {
    font-size: 24px;
    color: var(--gallic-blue);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.value-prop-title {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.value-prop-desc {
    font-size: 12px;
    color: var(--gallic-slate);
    font-weight: 500;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section h2 {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.025em;
}

.faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
}

.faq-item .accordion-button {
    background: transparent;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gallic-dark);
    padding: 1.25rem 1.75rem;
}

.faq-item .accordion-button:not(.collapsed) {
    color: var(--gallic-blue);
    background: transparent;
    box-shadow: none;
}

.faq-item .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-item .accordion-body {
    padding: 0 1.75rem 1.25rem;
    color: var(--gallic-slate);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    padding-top: 1rem;
}

/* Footer */
.footer-gallic {
    background: var(--gallic-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    width: 32px;
    height: 32px;
    background: var(--gallic-blue);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo span {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    color: white;
}

.footer-links a {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gallic-slate);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.3);
}

/* Floating Cart */
.floating-cart {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
}

.cart-panel {
    width: 320px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
    display: none;
}

.cart-panel.show {
    display: block;
    animation: slideUp 0.3s ease;
}

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

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

.cart-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

.cart-title i {
    color: var(--gallic-blue);
}

.cart-close {
    padding: 0.25rem;
    background: transparent;
    border: none;
    color: var(--gallic-slate);
    border-radius: 50%;
    transition: background 0.2s ease;
}

.cart-close:hover {
    background: #f1f5f9;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-item-icon {
    width: 32px;
    height: 32px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-icon i {
    font-size: 14px;
    color: var(--gallic-blue);
}

.cart-item-name {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

.cart-item-price {
    font-size: 9px;
    font-weight: 900;
    color: var(--gallic-blue);
    text-transform: uppercase;
}

.cart-item-remove {
    opacity: 0;
    padding: 0.375rem;
    background: transparent;
    border: none;
    color: var(--gallic-slate);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.cart-item:hover .cart-item-remove {
    opacity: 1;
}

.cart-item-remove:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.cart-empty {
    text-align: center;
    padding: 2.5rem 0;
}

.cart-empty i {
    font-size: 32px;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.cart-empty p {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gallic-slate);
    margin: 0;
}

.cart-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

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

.cart-total-label {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gallic-slate);
}

.cart-total-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--gallic-blue);
    text-transform: uppercase;
}

.btn-deploy {
    width: 100%;
    padding: 1rem;
    background: var(--gallic-dark);
    color: white;
    border: none;
    border-radius: 1rem;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-deploy:hover {
    background: black;
    color: white;
}

.btn-deploy i {
    transition: transform 0.2s ease;
}

.btn-deploy:hover i {
    transform: translateX(4px);
}

.cart-note {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gallic-slate);
    text-align: center;
    margin-top: 0.75rem;
}

/* Cart Trigger Button */
.cart-trigger {
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 2rem;
    background: var(--gallic-blue);
    color: white;
    border: none;
    border-radius: 9999px;
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.4);
    transition: all 0.2s ease;
}

.cart-trigger.show {
    display: flex;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cart-trigger:hover {
    transform: scale(1.05);
}

.cart-trigger:active {
    transform: scale(0.95);
}

.cart-trigger-icon {
    position: relative;
}

.cart-trigger-icon i {
    font-size: 24px;
}

.cart-trigger-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: white;
    color: var(--gallic-blue);
    border: 2px solid var(--gallic-blue);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-trigger-text {
    text-align: left;
}

.cart-trigger-label {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
    line-height: 1;
    margin-bottom: 2px;
}

.cart-trigger-value {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1;
}

/* Mobile Module Tabs */
.module-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.module-tabs::-webkit-scrollbar {
    display: none;
}

.module-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    color: var(--gallic-slate);
    transition: all 0.2s ease;
}

.module-tab:hover {
    border-color: var(--gallic-blue);
    color: var(--gallic-blue);
}

.module-tab.active {
    background: var(--gallic-blue);
    border-color: var(--gallic-blue);
    color: white;
}

.module-tab i {
    font-size: 10px;
}

/* Mobile Phone Mockup */
.phone-mockup {
    width: 100%;
    max-width: 310px;
    background: var(--gallic-dark);
    border-radius: 3rem;
    padding: 10px;
    border: 8px solid #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.phone-notch {
    width: 112px;
    height: 20px;
    background: var(--gallic-dark);
    border-radius: 0 0 1rem 1rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-notch-bar {
    width: 32px;
    height: 2px;
    background: #1e293b;
    border-radius: 2px;
}

.phone-screen {
    background: var(--gallic-dark);
    border-radius: 2.5rem;
    overflow: hidden;
    height: 400px;
}

.phone-content {
    padding: 2.5rem 1.25rem 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Responsive */
@media (max-width: 991.98px) {
    .module-explorer-desktop {
        display: none !important;
    }

    .module-explorer-mobile {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .module-explorer-desktop {
        display: block !important;
    }

    .module-explorer-mobile {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .hero-section {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* Scrollbar hide utility */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
