/**
 * CyberTeeth - Landing Page Styles
 */

/* ============================================
   Navigation
   ============================================ */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    text-decoration: none;
}

.navbar.scrolled .navbar-brand {
    color: var(--primary-dark) !important;
}

.brand-icon {
    font-size: 1.75rem;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s;
}

.navbar.scrolled .nav-link {
    color: var(--gray-700) !important;
}

.navbar .nav-link:hover {
    color: white !important;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary) !important;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.navbar-toggler {
    border: none;
    color: white;
    font-size: 1.5rem;
}

.navbar.scrolled .navbar-toggler {
    color: var(--primary-dark);
}

/* Navbar buttons - visible on transparent background */
.navbar .btn-outline-primary {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}

.navbar .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: white !important;
    color: white !important;
}

.navbar.scrolled .btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.navbar.scrolled .btn-outline-primary:hover {
    background: var(--primary) !important;
    color: white !important;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    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: 2;
    padding: 60px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge i {
    color: #FCD34D;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-cta .btn-primary {
    background: white;
    color: var(--primary-dark);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Image / Dashboard Preview */
.hero-image {
    position: relative;
    z-index: 2;
}

.dashboard-preview {
    background: white;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.preview-header {
    background: #f5f5f5;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.preview-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.preview-content {
    display: flex;
    padding: 20px;
    gap: 20px;
    min-height: 300px;
}

.preview-sidebar {
    width: 60px;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: 8px;
}

.preview-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-card {
    background: var(--gray-100);
    border-radius: 8px;
    height: 60px;
    animation: pulse 2s infinite;
}

.preview-card.small {
    height: 40px;
    width: 60%;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1.5s;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* ============================================
   Logos Section
   ============================================ */
.logos-section {
    padding: 60px 0;
    background: white;
}

.logos-title {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-300);
    transition: color 0.3s;
}

.logo-item:hover {
    color: var(--gray-500);
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--light) 0%, rgba(8, 145, 178, 0.1) 100%);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    background: var(--gray-50);
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.feature-list li i {
    color: var(--success);
    font-size: 1rem;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works-section {
    background: white;
}

.steps-container {
    position: relative;
    margin-top: 60px;
}

.step-line {
    position: absolute;
    top: 80px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.step-card p {
    color: var(--gray-600);
    max-width: 280px;
    margin: 0 auto;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.toggle-label {
    font-weight: 500;
    color: var(--gray-600);
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--gray-300);
    border-radius: 28px;
    transition: 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(28px);
}

.save-badge {
    background: var(--success);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.pricing-header p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.pricing-price {
    margin: 30px 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-600);
}

.pricing-price .amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--gray-500);
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    font-size: 1.1rem;
}

.pricing-features li .bi-check-circle-fill {
    color: var(--success);
}

.pricing-features li .bi-x-circle {
    color: var(--gray-300);
}

.pricing-features li.disabled {
    color: var(--gray-400);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    background: white;
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #FCD34D;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.author-info strong {
    display: block;
    color: var(--gray-900);
    font-size: 1rem;
}

.author-info span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    background: var(--gray-50);
}

.accordion-item {
    background: white;
    border: none;
    border-radius: 12px !important;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--gray-900);
    padding: 20px 24px;
    background: white;
}

.accordion-button:not(.collapsed) {
    background: white;
    color: var(--primary);
    box-shadow: none;
}

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

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230891B2'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 0 24px 24px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
    padding: 100px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta-buttons .btn-light {
    background: white;
    color: var(--primary-dark);
    border: none;
}

.cta-buttons .btn-light:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ============================================
   Footer
   ============================================ */
.footer-section {
    background: var(--gray-900);
    padding: 80px 0 40px;
    color: var(--gray-400);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 1.1rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-section h5 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .hero-image {
        margin-top: 60px;
    }
    
    .dashboard-preview {
        transform: none;
    }
    
    .floating-card {
        display: none;
    }
    
    .step-line {
        display: none;
    }
    
    .step-card {
        margin-bottom: 40px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .nav-buttons {
        margin-top: 20px;
        width: 100%;
        flex-direction: column;
    }
    
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 12px;
        margin-top: 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-collapse .nav-link {
        color: var(--gray-700) !important;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .logos-grid {
        gap: 30px;
    }
    
    .logo-item {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .pricing-price .amount {
        font-size: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Hide scrollbar during page load */
body.loading {
    overflow: hidden;
}
