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

html {
    height: 100%;
    background: #181a20;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: #181a20;
    color: #e3e6ed;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

/* Custom Navigation Bar Styles */
.custom-navbar {
    background: #111;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-name {
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 0.02em;
}

.nav-links {
    list-style: none;
    gap: 2.5rem;
    margin: 0 2rem;
}

.nav-links li {
    position: relative;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .custom-navbar {
        padding: 0.5rem 0;
    }
    
    .custom-navbar .container {
        flex-direction: column !important;
        gap: 1rem;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
        margin: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 0.25rem 0;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    .dropdown-menu {
        position: fixed !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        min-width: 200px !important;
        max-width: 90vw !important;
    }
}

.nav-link {
    color: #bdbdbd;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.nav-link.active, .nav-link:hover {
    color: #00ffe7;
}

.nav-link.active::after {
    content: '';
    display: block;
    margin: 0.2rem auto 0 auto;
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: #00ffe7;
}

.get-started-btn {
    background: linear-gradient(90deg, #00ffe7 0%, #a770ef 100%);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,255,231,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}

.get-started-btn:hover {
    background: linear-gradient(90deg, #a770ef 0%, #00ffe7 100%);
    box-shadow: 0 4px 16px rgba(0,255,231,0.16);
}

.hero {
    background: #181a20;
    color: #e3e6ed;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero h1 {
    color: #e3e6ed;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 2px 16px #23272f, 0 0 8px #48c6ef;
}

.hero p.lead {
    color: #b2c2e0;
    font-size: 1.35rem;
    font-weight: 500;
    text-shadow: 0 1px 8px #23272f;
}

.hero .btn-primary {
    box-shadow: 0 2px 8px #48c6ef80;
}

.hero .btn-secondary {
    box-shadow: 0 2px 8px #6c63ff80;
}

.hero .btn-outline-primary {
    box-shadow: 0 2px 8px #48c6ef80;
}

.navbar, .bg-white {
    background: #23272f !important;
    color: #e3e6ed !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .navbar-brand, .navbar .nav-link {
    color: #e3e6ed !important;
}

.navbar .btn-primary {
    background: linear-gradient(90deg, #6c63ff 0%, #48c6ef 100%);
    border: none;
}

.btn-primary, .btn-primary:focus, .btn-primary:active {
    background: linear-gradient(90deg, #6c63ff 0%, #48c6ef 100%);
    border: none;
    color: #fff;
}

.btn-secondary {
    background: #23272f;
    color: #48c6ef;
    border: 1px solid #48c6ef;
}

.btn-outline-primary {
    border-color: #48c6ef;
    color: #48c6ef;
}

.feature-icon {
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    background: rgba(35,39,47,0.7);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(76, 110, 245, 0.08);
    backdrop-filter: blur(4px);
}

.card {
    background: rgba(35,39,47,0.85);
    color: #e3e6ed;
    border: 2px solid #48c6ef;
    box-shadow: 0 2px 16px rgba(76, 110, 245, 0.18);
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 1rem;
    backdrop-filter: blur(6px);
}

.card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 24px rgba(76, 110, 245, 0.28);
    border-color: #6c63ff;
}

.card-title {
    font-weight: 700;
    color: #48c6ef;
    letter-spacing: 1px;
}

.card .btn-primary {
    background: linear-gradient(90deg, #6c63ff 0%, #48c6ef 100%);
    color: #fff;
}

.carousel .card {
    background: #181a20;
    color: #e3e6ed;
    border: 2px solid #6c63ff;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: invert(1);
}

#features {
    background: #181a20 !important;
}

#plans {
    background: #181a20 !important;
}

#testimonials {
    background: #181a20 !important;
}


/* Floating blobs for hero section */
.floating-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(32px);
    opacity: 0.7;
    animation: floatBlob 12s infinite ease-in-out;
}

.blob1 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at 30% 30%, #48c6ef 0%, #6c63ff 80%);
    top: -80px;
    left: -80px;
    animation-delay: 0s;
}

.blob2 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 70% 70%, #6c63ff 0%, #23272f 80%);
    top: 60px;
    right: -100px;
    animation-delay: 4s;
}

.blob3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at 50% 50%, #48c6ef 0%, #181a20 80%);
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 8s;
}

@keyframes floatBlob {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.08); }
    100% { transform: translateY(0) scale(1); }
}

/* Parallax shapes for hero section */
.parallax-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.parallax-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(32px);
    opacity: 0.7;
    transition: transform 0.3s cubic-bezier(.25,.46,.45,.94);
}

.shape1 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 30% 30%, #48c6ef 0%, #6c63ff 80%);
    top: 40px;
    left: 10vw;
}

.shape2 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at 70% 70%, #6c63ff 0%, #23272f 80%);
    top: 120px;
    right: 12vw;
}

.shape3 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 50% 50%, #48c6ef 0%, #181a20 80%);
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: rgba(35,39,47,0.85);
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(76, 110, 245, 0.18);
    border: none;
    color: #e3e6ed;
    width: 340px;
    height: 200px;
    transition: box-shadow 0.2s, transform 0.2s;
    word-break: break-word;
    overflow-wrap: anywhere;
    display: flex;
    align-items: center;
    padding: 1.2rem;
    flex-shrink: 0;
    margin-right: 24px;
    box-sizing: border-box;
    overflow: hidden;
}

.testimonial-card > div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card .fw-bold {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.testimonial-card .mb-2 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem !important;
}

.testimonial-card hr {
    margin: 0.5rem 0;
    border-width: 1px;
}

.testimonial-card div[style*="color:#b2c2e0"] {
    font-size: 0.85rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.testimonial-card:hover {
    box-shadow: 0 6px 24px #48c6ef44;
    transform: translateY(-4px) scale(1.03);
}

.testimonial-card img {
    box-shadow: 0 2px 8px #48c6ef44;
}

.testimonial-carousel-inner::-webkit-scrollbar {
    display: none;
}

.testimonial-carousel-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    scrollbar-width: none;
    align-items: stretch;
    padding: 1.5rem;
}

.testimonial-carousel-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border: 3px solid #48c6ef;
    border-radius: 22px;
    box-shadow: 0 0 24px 4px #48c6ef99, 0 2px 16px rgba(72,198,239,0.10);
    background: rgba(24,26,32,0.98);
}

.footer-description {
    color: #97a5be;
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

/* Hero Section Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh !important;
        height: auto !important;
        padding: 2rem 0 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
        letter-spacing: 1px;
    }
    
    .hero p.lead {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero .container {
        padding: 0 1rem;
    }
    
    /* Hero buttons container */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 280px;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        margin: 0 !important;
    }
}

/* Desktop hero buttons */
@media (min-width: 769px) {
    .hero-buttons {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .hero-buttons .btn {
        margin: 0.25rem;
    }
}

/* Features Section Mobile */
@media (max-width: 768px) {
    #features {
        padding: 3rem 0;
    }
    
    #features .container {
        padding: 0 1rem;
    }
    
    #features h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    #features .card {
        margin-bottom: 1rem;
        padding: 1.5rem !important;
    }
    
    #features .feature-icon span {
        font-size: 2rem !important;
    }
    
    #features .card-title {
        font-size: 1.1rem;
    }
    
    #features .card-text {
        font-size: 0.9rem;
    }
}

/* Pricing Section Mobile */
@media (max-width: 768px) {
    #pricing {
        padding: 3rem 0;
    }
    
    #pricing .container {
        padding: 0 1rem;
    }
    
    #pricing h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    /* Tier Cards Mobile Alignment */
    #pricing .row {
        flex-direction: column !important;
        align-items: center !important;
        margin: 0 !important;
    }
    
    #pricing .col-lg-6 {
        display: flex !important;
        justify-content: center !important;
        padding: 0 1rem !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Override inline styles on mobile */
    #pricing .card[style*="min-width"] {
        min-width: 280px !important;
        max-width: 320px !important;
        width: 90% !important;
        margin: 0 auto !important;
        padding: 1.5rem !important;
    }
    
    /* Alternative specific targeting */
    #pricing .col-lg-6 .card {
        min-width: 280px !important;
        max-width: 320px !important;
        width: 90% !important;
        margin: 0 auto !important;
        padding: 1.5rem !important;
    }
    
    /* Force override all inline styles for pricing cards */
    section#pricing .card[style] {
        min-width: 280px !important;
        max-width: 320px !important;
        width: 90% !important;
    }
    
    /* Target specific column classes */
    .col-lg-6.col-md-7.mb-4.d-flex.justify-content-end,
    .col-lg-6.col-md-7.mb-4.d-flex.justify-content-start {
        justify-content: center !important;
        align-items: center !important;
    }
    
    #pricing .card h4 {
        font-size: 1.2rem !important;
        margin-bottom: 1rem !important;
    }
    
    #pricing .card .mb-2 {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    #pricing .card .mb-2 span {
        font-size: 1rem !important;
    }
    
    #pricing .card ul {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    #pricing .card .btn {
        width: 100% !important;
        margin-top: 1rem !important;
        padding: 0.75rem !important;
        font-size: 0.95rem !important;
    }
    
    /* Remove complex desktop positioning on mobile */
    #pricing .d-flex.justify-content-end,
    #pricing .d-flex.justify-content-start,
    #pricing .col-lg-6.d-flex.justify-content-end,
    #pricing .col-lg-6.d-flex.justify-content-start {
        justify-content: center !important;
    }
    
    /* Force center alignment for pricing columns */
    #pricing .col-lg-6.justify-content-end,
    #pricing .col-lg-6.justify-content-start {
        justify-content: center !important;
    }
    
    .plan-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 !important;
    }
    
    .plan-card {
        margin: 0 !important;
        padding: 1.5rem !important;
    }
    
    .plan-name {
        font-size: 1.2rem !important;
    }
    
    .plan-price {
        font-size: 1.8rem !important;
    }
    
    .plan-specs {
        font-size: 0.9rem !important;
    }
    
    .tier-card {
        padding: 1rem !important;
        font-size: 1rem !important;
        min-width: auto !important;
        flex: 1;
    }
    
    .billing-section button {
        width: 100% !important;
        max-width: 300px !important;
        margin: 1rem auto !important;
        display: block !important;
        padding: 1rem !important;
        font-size: 1.1rem !important;
    }
}

/* Testimonials Mobile */
@media (max-width: 768px) {
    .testimonial-carousel-wrapper {
        margin: 0 1rem;
        border-width: 2px;
        border-radius: 16px;
    }
    
    .testimonial-carousel-inner {
        padding: 1rem;
    }
    
    .testimonial-card {
        width: 280px !important;
        height: 180px !important;
        margin-right: 16px !important;
        padding: 1rem !important;
    }
    
    .testimonial-card h6 {
        font-size: 0.9rem !important;
    }
    
    .testimonial-card div[style*="color:#b2c2e0"] {
        font-size: 0.8rem !important;
        line-height: 1.25 !important;
    }
    
    .testimonial-card .mb-2 {
        font-size: 0.8rem !important;
    }
}

/* Contact Section Mobile */
@media (max-width: 768px) {
    #contact {
        padding: 3rem 0;
    }
    
    #contact .container {
        padding: 0 1rem;
    }
    
    #contact h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    #contact .btn {
        display: block;
        width: 100%;
        max-width: 250px;
        margin: 0.5rem auto;
        padding: 0.75rem;
    }
}

/* Billing Page Mobile */
@media (max-width: 768px) {
    .billing-section {
        padding: 2rem 1rem !important;
    }
    
    .billing-title {
        font-size: 1.5rem !important;
        text-align: center;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .billing-section > div:first-child {
        text-align: center;
        margin: 2rem 0;
    }
    
    .billing-section > div:first-child > div {
        font-size: 0.95rem !important;
        padding: 0 1rem;
    }
}

/* General Mobile Utilities */
@media (max-width: 768px) {
    .container {
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .col-md-4, .col-md-6, .col-lg-4 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Ensure text doesn't overflow */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Fix button sizing */
    .btn {
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* Improve touch targets */
    .nav-link, .btn, button, a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}