/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #ffffff;
    color: #111827;
    line-height: 1.6;
}

.main-container {
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header-section {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
}

.navbar {
    padding: 1.5rem 0;
}

.navbar-brand {
    text-decoration: none;
    color: #111827;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 2rem;
    color: #8b5cf6;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
}

.navbar-nav .nav-link {
    color: #6b7280;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #6366f1;
}

.login-link {
    color: #6b7280 !important;
    font-weight: 600;
}

.login-link:hover {
    color: #6366f1 !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    top: -8rem;
    left: calc(50% - 15rem);
    width: 48rem;
    height: 32rem;
    background: linear-gradient(to right top, rgba(255, 128, 181, 0.3), rgba(144, 137, 252, 0.3));
    border-radius: 50%;
    filter: blur(3rem);
    transform: rotate(30deg);
    z-index: -1;
}

.gradient-bg-bottom {
    position: absolute;
    bottom: -16rem;
    right: calc(50% - 20rem);
    width: 48rem;
    height: 32rem;
    background: linear-gradient(to right top, rgba(255, 128, 181, 0.3), rgba(144, 137, 252, 0.3));
    border-radius: 50%;
    filter: blur(3rem);
    z-index: -1;
}

.hero-content {
    padding: 2rem 0;
    margin-left: 2rem;
}

.hero-title {
    font-size: 5rem;
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 1rem;
    color: #111827;
}

.gradient-text-blue {
    background: linear-gradient(90deg, #8a79ec, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-pink {
    background: linear-gradient(to right, rgba(236, 72, 153, 0.7), rgba(219, 39, 119, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.powered-by {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.delegate-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 1.5rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-tag {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
}

.tag-pink {
    background: linear-gradient(to right, rgba(236, 72, 153, 0.6), rgba(219, 39, 119, 0.7));
}

.tag-blue {
    background: linear-gradient(to right, rgba(99, 102, 241, 0.6), rgba(79, 70, 229, 0.7));
}

.tag-purple {
    background: linear-gradient(to right, rgba(168, 85, 247, 0.6), rgba(147, 51, 234, 0.7));
}

.tag-orange {
    background: linear-gradient(to right, rgba(245, 158, 11, 0.6), rgba(234, 88, 12, 0.7));
}

.tag-teal {
    background: linear-gradient(to right, rgba(20, 184, 166, 0.6), rgba(13, 148, 136, 0.7));
}

.tag-green {
    background: linear-gradient(to right, rgba(14, 165, 233, 0.6), rgba(2, 132, 199, 0.7));
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    background: #6366f1;
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn:hover {
    background: #4f46e5;
    color: white;
    transform: translateY(-2px);
}

.hero-btn-outline {
    background: transparent;
    border: 2px solid #6b7280;
    color: #6b7280;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn-outline:hover {
    border-color: #6366f1;
    color: #6366f1;
}

/* Demo Window */
.hero-demo {
    padding: 2rem;
}

.demo-window {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.demo-header {
    background: #f3f4f6;
    padding: 1rem;
    display: flex;
    align-items: center;
}

.demo-controls {
    display: flex;
    gap: 0.5rem;
}

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

.demo-dot.red {
    background: #ef4444;
}

.demo-dot.yellow {
    background: #f59e0b;
}

.demo-dot.green {
    background: #10b981;
}

.demo-content {
    padding: 1.5rem;
}

.demo-message {
    background: #e0e7ff;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.demo-response {
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 1rem;
}

.response-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #374151;
}

.response-header i {
    color: #6366f1;
}

.leads-table {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.table-header {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-header h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.leads-preview {
    padding: 1rem;
}

.lead-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
}

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

.lead-name {
    color: #374151;
}

.lead-status {
    background: #dcfce7;
    color: #166534;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Introduction Section */
.intro-section {
    background: #f9fafb;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1.5rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: #6366f1;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Articles Section */
.articles-section {
    background: #f9fafb;
    padding: 5rem 0;
}

.article-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.article-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.article-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Footer */
.footer-section {
    background: #111827;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #6366f1;
}

.footer-contact {
    text-align: center;
    margin-bottom: 2rem;
    color: #d1d5db;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: #6366f1;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Additional Page Styles */

/* Pricing Page */
.pricing-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    overflow: hidden;
}

.pricing-section {
    background: #f9fafb;
}

.pricing-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}

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

.pricing-card.featured {
    border: 2px solid #6366f1;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #6366f1;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

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

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6366f1;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #6366f1;
}

.period {
    font-size: 0.875rem;
    color: #6b7280;
}

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

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

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

.pricing-features i {
    color: #10b981;
    font-size: 1rem;
}

.pricing-footer {
    margin-top: 2rem;
}

.features-comparison {
    background: white;
}

.comparison-table {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
    border: none;
    padding: 1rem;
}

.comparison-table td {
    padding: 1rem;
    border-color: #f3f4f6;
    vertical-align: middle;
}

/* About Page */
.about-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    overflow: hidden;
}

.about-content {
    background: white;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-content p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-content ul {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.stats-section {
    background: #f9fafb;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Contact Page */
.contact-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    overflow: hidden;
}

.contact-form-section {
    background: #f9fafb;
}

.contact-form-container {
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-check-input:checked {
    background-color: #6366f1;
    border-color: #6366f1;
}

.thank-you-content {
    padding: 3rem;
    background: #f0fdf4;
    border-radius: 1rem;
    border: 2px solid #10b981;
}

.contact-info-section {
    background: white;
}

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

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #6b7280;
    margin: 0;
}

.contact-details a {
    color: #6366f1;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Terms and Privacy Pages */
.terms-hero, .privacy-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    overflow: hidden;
}

.terms-content, .privacy-content {
    background: white;
}

.terms-text, .privacy-text {
    max-width: none;
}

.terms-text h2, .privacy-text h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #111827;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.terms-text h3, .privacy-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.terms-text p, .privacy-text p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.terms-text ul, .privacy-text ul {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.terms-text li, .privacy-text li {
    margin-bottom: 0.5rem;
}

.terms-text a, .privacy-text a {
    color: #6366f1;
    text-decoration: none;
}

.terms-text a:hover, .privacy-text a:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn {
    background: white;
    color: #6366f1;
    border: none;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.cta-section .btn:hover {
    background: #f8fafc;
    color: #4f46e5;
    transform: translateY(-2px);
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

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

/* Active Navigation States */
.nav-link.active {
    color: #6366f1 !important;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .gradient-bg {
        width: 40rem;
        left: calc(50% - 20rem);
    }
    
    .pricing-card.featured {
        transform: scale(1.02);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-content {
        margin-left: 1rem;
        text-align: center;
    }
    
    .hero-demo {
        margin-top: 2rem;
    }
    
    .footer-nav {
        gap: 1rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-tags {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .terms-text h2, .privacy-text h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .demo-window {
        margin: 0 1rem;
    }
    
    .table-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .lead-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
}
