/* Custom CSS for TechKnot - Inspired by Wavel.ai Design */

:root {
    --primary-color: #4f46e5;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    --dark-bg: #0f0f23;
    --dark-secondary: #1a1a2e;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --text-light: #ffffff;
    --text-muted: #a1a1aa;
    --border-color: #374151;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

/* Top Banner */
.top-banner {
    background: var(--gradient-primary);
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
}

.banner-text {
    color: white;
}

.btn-banner {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-banner:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.product-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: white;
}

/* Navigation */
.navbar {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.navbar-brand .logo i {
    color: var(--primary-color);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.dropdown-menu {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.dropdown-item {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-light);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

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

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.hero-note {
    opacity: 0.7;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

/* Introduction Section */
.intro-section {
    padding: 80px 0;
    background: var(--dark-secondary);
}

.intro-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.intro-section .lead {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.intro-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.features-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.feature-tabs .nav-pills .nav-link {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 50px;
    padding: 12px 24px;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.feature-tabs .nav-pills .nav-link.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.feature-tabs .nav-pills .nav-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-content {
    margin-top: 3rem;
}

.tab-pane h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.tab-pane p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Feature Visuals */
.feature-visual {
    padding: 2rem;
}

.feature-demo .demo-card {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.demo-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.quality-score {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: auto;
}

.search-interface {
    background: var(--dark-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.search-bar {
    background: var(--dark-bg);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-bar i {
    color: var(--primary-color);
}

.results-count {
    color: var(--accent-color);
    font-weight: 600;
}

.optimization-dashboard {
    background: var(--dark-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.metric:last-child {
    border-bottom: none;
}

.metric .label {
    color: var(--text-muted);
}

.metric .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.metric .change {
    font-size: 0.9rem;
    font-weight: 600;
}

.metric .change.positive {
    color: #10b981;
}

.social-networks {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.network-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-secondary);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.network-icon.active {
    border-color: var(--primary-color);
    background: var(--gradient-primary);
}

.network-icon i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.campaign-dashboard {
    background: var(--dark-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.campaign-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.campaign-item:last-child {
    border-bottom: none;
}

.campaign-item .name {
    color: var(--text-light);
    font-weight: 600;
}

.campaign-item .status.active {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.analytics-chart {
    display: flex;
    align-items: end;
    gap: 1rem;
    height: 150px;
    padding: 2rem;
}

.chart-bar {
    background: var(--gradient-primary);
    width: 40px;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    opacity: 0.8;
}

/* Trust Section */
.trust-section {
    padding: 80px 0;
    background: var(--dark-secondary);
}

.trust-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-light);
}

.company-logos {
    margin: 3rem 0;
    overflow: hidden;
}

.logo-scroll {
    display: flex;
    gap: 3rem;
    animation: scroll 20s linear infinite;
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.rating-card {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.rating-card:hover {
    transform: translateY(-5px);
}

.rating-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.rating-score {
    margin-bottom: 0.5rem;
}

.rating-score .score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
}

.rating-score .total {
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.rating-source {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.testimonial-quote {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-info h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-info p {
    color: var(--text-muted);
    margin: 0;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background: var(--dark-secondary);
}

.how-it-works-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.process-card {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

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

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.process-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.process-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.contact-card {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-card h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-form .form-label {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: var(--dark-bg);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25);
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
}

.thank-you-message {
    text-align: center;
    padding: 3rem;
}

.thank-you-message i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.thank-you-message h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.thank-you-message p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-brand .logo i {
    color: var(--primary-color);
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer h5 {
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.footer-divider {
    border-color: var(--border-color);
    margin: 2rem 0 1rem;
}

.copyright {
    color: var(--text-muted);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .feature-tabs .nav-pills .nav-link {
        margin: 0.25rem;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .top-banner .d-flex {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .feature-tabs .nav-pills {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-tabs .nav-pills .nav-link {
        margin: 0.25rem 0;
        width: 200px;
        text-align: center;
    }
}

/* Pricing Page Styles */
.pricing-hero {
    background: var(--gradient-hero);
    padding: 100px 0;
    text-align: center;
}

.pricing-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.pricing-card {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

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

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}

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

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 1rem;
}

.price .currency {
    font-size: 1.5rem;
    color: var(--text-muted);
    vertical-align: top;
}

.price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
}

.price .period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.pricing-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.pricing-features i.fa-check {
    color: #10b981;
}

.pricing-features i.fa-times {
    color: var(--text-muted);
}

.pricing-footer {
    margin-top: auto;
}

.pricing-faq {
    padding: 80px 0;
    background: var(--dark-secondary);
}

.pricing-faq h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.accordion-item {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 8px;
}

.accordion-button {
    background: var(--dark-bg);
    color: var(--text-light);
    border: none;
    font-weight: 600;
    padding: 1.5rem;
}

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

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    background: var(--dark-bg);
    color: var(--text-muted);
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.pricing-cta {
    padding: 80px 0;
    background: var(--gradient-hero);
    text-align: center;
}

.pricing-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

/* Terms and Privacy Page Styles */
.legal-hero {
    background: var(--gradient-hero);
    padding: 80px 0;
    text-align: center;
}

.legal-content {
    padding: 80px 0;
    background: var(--dark-bg);
}

.legal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.legal-content ul {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--text-light);
}

.legal-nav {
    background: var(--dark-secondary);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: sticky;
    top: 100px;
}

.legal-nav h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.legal-nav ul {
    list-style: none;
    padding: 0;
}

.legal-nav li {
    margin-bottom: 0.5rem;
}

.legal-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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