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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #f3f4f6;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1d4ed8;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1d4ed8;
}

.admin-login {
    background-color: #1d4ed8;
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.admin-login:hover {
    background-color: #1e40af;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 48px;
    line-height: 1.6;
}

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

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 4px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-primary {
    background-color: #1d4ed8;
    color: white;
}

.btn-primary:hover {
    background-color: #1e40af;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: #1d4ed8;
    border: 2px solid #1d4ed8;
}

.btn-secondary:hover {
    background-color: #1d4ed8;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #374151;
    border: 2px solid #d1d5db;
}

.btn-outline:hover {
    border-color: #1d4ed8;
    color: #1d4ed8;
}

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111827;
}

.section-subtitle {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
}

/* Features Section */
.features {
    background-color: #fafafa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: white;
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #eff6ff;
    border-radius: 50%;
    margin-bottom: 24px;
    color: #1d4ed8;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111827;
}

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

/* Pricing Section */
.pricing {
    background-color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: white;
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: #e5e7eb;
}

.pricing-card-featured {
    border-color: #1d4ed8;
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1d4ed8;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.pricing-description {
    color: #6b7280;
    margin-bottom: 24px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 32px;
}

.price-currency {
    font-size: 20px;
    font-weight: 600;
    color: #6b7280;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: #111827;
}

.price-period {
    font-size: 16px;
    color: #6b7280;
}

.pricing-features {
    margin-bottom: 32px;
}

.features-list {
    list-style: none;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #374151;
}

.check-icon {
    color: #10b981;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: #f9fafb;
    padding: 80px 0 32px;
    border-top: 1px solid #f3f4f6;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-section {
    color: #6b7280;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 16px;
}

.footer-description {
    line-height: 1.6;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #1d4ed8;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav {
        flex-direction: column;
        gap: 16px;
        padding: 16px 0;
    }
    
    .nav-links {
        gap: 24px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .feature-card {
        padding: 32px 24px;
    }
}

/* Demo Page Styles */
.demo-container {
    max-width: 600px;
    margin: 120px auto 80px;
    padding: 0 24px;
}

.demo-card {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.demo-header {
    text-align: center;
    margin-bottom: 40px;
}

.demo-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111827;
}

.demo-description {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.submit-btn {
    width: 100%;
    background-color: #1d4ed8;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-btn:hover {
    background-color: #1e40af;
}

.submit-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.loading {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.error-message {
    background-color: #fef2f2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    display: none;
}

.success-message {
    background-color: #f0fdf4;
    color: #16a34a;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    display: none;
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Demo Page Responsive Styles */
@media (max-width: 768px) {
    .demo-container {
        margin: 100px auto 60px;
        padding: 0 16px;
    }
    
    .demo-card {
        padding: 32px 24px;
    }
    
    .demo-title {
        font-size: 28px;
    }
    
    .demo-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .demo-card {
        padding: 24px 16px;
    }
    
    .demo-title {
        font-size: 24px;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 16px;
    }
}