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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
}

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

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2c5aa0;
}

.nav-cta {
    background-color: #2c5aa0;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.nav-cta:hover {
    background-color: #1e3d6f;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-primary {
    background-color: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #667eea;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.btn-main-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.btn-sub-text {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

.social-proof {
    margin: 20px 0;
    animation: fadeIn 0.6s ease-in;
}

.visitor-count {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.visitor-count strong {
    color: #4ade80;
    font-weight: 700;
}

.demo-hint {
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    animation: fadeIn 0.8s ease-in;
}

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

/* Hero Dashboard Preview */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-preview {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 500px;
}

.preview-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

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

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.preview-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.metric-preview {
    background-color: #2d2d2d;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.metric-label {
    display: block;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.metric-value {
    display: block;
    color: #4ade80;
    font-size: 1.8rem;
    font-weight: bold;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1e293b;
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.8;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1e293b;
}

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

.screenshot {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.screenshot img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.screenshot-placeholder {
    width: 100%;
    height: 250px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashboard Mockup */
.dashboard-mockup {
    width: 90%;
    height: 90%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

.mockup-header {
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 14px;
}

.mockup-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.mockup-metric {
    background: #f0f4f8;
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
    color: #666;
}

.mockup-chart {
    height: 60px;
    background: linear-gradient(to right, #e0e0e0 0%, #f0f0f0 50%, #e0e0e0 100%);
    border-radius: 4px;
}

/* Analytics Mockup */
.analytics-mockup {
    width: 90%;
    height: 90%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

.mockup-analytics {
    margin-top: 10px;
}

.analytics-stat {
    background: #f5f3ff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 12px;
    color: #667eea;
}

.analytics-chart {
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.2;
    border-radius: 4px;
    margin-top: 15px;
}

/* Alerts Mockup */
.alerts-mockup {
    width: 90%;
    height: 90%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

.alert-settings {
    margin-top: 15px;
}

.alert-row {
    background: #fef3f2;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #d63031;
    border-left: 3px solid #d63031;
}

.screenshot h4 {
    padding: 20px 20px 10px;
    color: #1e293b;
}

.screenshot p {
    padding: 0 20px 20px;
    color: #64748b;
}

/* Demo Status Section */
.demo-status {
    padding: 80px 0;
    background: #f8f8f8;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
    text-align: center;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.status-preview, .badge-preview {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.status-preview h3, .badge-preview h3 {
    margin-bottom: 15px;
    color: #333;
}

.badge-display {
    margin: 20px 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 4px;
}

.embed-code-box {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    overflow-x: auto;
}

.embed-code-box code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .demo-content {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1e293b;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: #64748b;
    font-size: 1.1rem;
}

.tech-stack {
    margin-top: 40px;
}

.tech-stack h4 {
    margin-bottom: 15px;
    color: #1e293b;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-badge {
    background-color: #e2e8f0;
    color: #475569;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Footer */
.landing-footer {
    background-color: #1e293b;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.landing-footer a {
    color: #94a3b8;
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .features-grid,
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Modal styles for feedback (reused from main styles) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

/* Feedback Styles */
.feedback-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feedback-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.feedback-icon {
    font-size: 20px;
}

.feedback-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.feedback-header h2 {
    margin: 0;
    color: #2c3e50;
}

.feedback-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #7f8c8d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.feedback-close:hover {
    background: #f5f5f5;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feedback-form label {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: #3498db;
}

.feedback-form textarea {
    min-height: 120px;
    resize: vertical;
}

.feedback-type-buttons {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.type-button {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-size: 14px;
}

.type-button.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.type-button:hover:not(.active) {
    border-color: #3498db;
    background: #f8f9fa;
}

.feedback-submit {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background 0.2s;
}

.feedback-submit:hover {
    background: #2980b9;
}

.feedback-submit:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.feedback-success {
    background: #27ae60;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    animation: slideIn 0.3s ease;
}

.feedback-error {
    background: #e74c3c;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    animation: slideIn 0.3s ease;
}

.optional-label {
    color: #7f8c8d;
    font-size: 12px;
    font-weight: normal;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: #fff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.testimonial-author strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}