/* ================================
   Index/Landing Page Styles
   ================================ */

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

body {
    font-family: 'Hind Siliguri', sans-serif;
    background-color: #F8FAFC;
    color: #0F172A;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
}

h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #475569;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo {
    font-size: 28px;
}

.nav-title {
    font-size: 22px;
    font-weight: 700;
    color: #00695C;
}

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

.nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #00695C;
}

.nav-link.btn-nav {
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-link.btn-nav:hover {
    background: #E0F2F1;
    color: #00695C;
}

.nav-link.btn-primary-nav {
    background: #00897B;
    color: white;
}

.nav-link.btn-primary-nav:hover {
    background: #00695C;
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1001;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    width: 48px;
    height: 48px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #475569;
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 120px 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #0F172A;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
    color: #475569;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-demo {
    display: flex;
    align-items: center;
}

.demo-badge {
    background: #E0F2F1;
    color: #00695C;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-family: 'Hind Siliguri', sans-serif;
}

.btn-primary {
    background-color: #00897B;
    color: white;
}

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

.btn-secondary {
    background-color: #F1F5F9;
    color: #475569;
    border: 1px solid #E2E8F0;
}

.btn-secondary:hover {
    background-color: #E2E8F0;
    color: #0F172A;
}

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

/* Hero Image/Illustration */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    position: relative;
    width: 400px;
    height: 400px;
}

.illustration-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}

.illustration-card.main {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation-delay: 0s;
}

.illustration-card .card-icon {
    font-size: 48px;
}

.illustration-card .card-text {
    font-weight: 600;
    color: #00695C;
}

.illustration-card.top-right {
    width: 120px;
    height: 120px;
    top: 20px;
    right: 20px;
    animation-delay: 0.5s;
}

.illustration-card.bottom-right {
    width: 140px;
    height: 140px;
    bottom: 40px;
    right: 40px;
    animation-delay: 1s;
}

.illustration-card.bottom-left {
    width: 130px;
    height: 130px;
    bottom: 60px;
    left: 20px;
    animation-delay: 1.5s;
}

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

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    color: #0F172A;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #475569;
}

/* Features Section */
.features {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

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

.feature-card h3 {
    font-size: 20px;
    color: #0F172A;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 40px;
    background: #F8FAFC;
}

.screenshot-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.screenshot-placeholder {
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E0F2F1 0%, #B2DFDB 100%);
    color: #00695C;
}

.screenshot-placeholder span {
    font-size: 64px;
    margin-bottom: 16px;
}

.screenshot-placeholder p {
    font-weight: 600;
    color: #00695C;
}

/* Stats Section */
.stats {
    padding: 60px 40px;
    background: #00695C;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, #00695C 0%, #004D40 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 16px;
}

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

.cta-section .btn-primary {
    background: white;
    color: #00695C;
}

.cta-section .btn-primary:hover {
    background: #F8FAFC;
}

/* Footer */
.footer {
    background: #0F172A;
    color: white;
    padding: 60px 40px 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 48px;
}

.footer-brand p {
    color: #94A3B8;
    margin-top: 16px;
    font-size: 14px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-column a {
    display: block;
    color: #94A3B8;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #64748B;
    font-size: 14px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #00897B;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(400px);
    transition: transform 0.3s ease-in-out;
    z-index: 1002;
    max-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 100px 24px 60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-demo {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-illustration {
        width: 300px;
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 16px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        gap: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 80px 16px 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-illustration {
        width: 250px;
        height: 250px;
    }

    .illustration-card {
        padding: 12px;
    }

    .illustration-card.main {
        width: 140px;
        height: 140px;
    }

    .illustration-card.main .card-icon {
        font-size: 36px;
    }

    .features {
        padding: 60px 16px;
    }

    .screenshots {
        padding: 60px 16px;
    }

    .stats {
        padding: 40px 16px;
    }

    .stat-number {
        font-size: 36px;
    }

    .cta-section {
        padding: 60px 16px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .footer {
        padding: 40px 16px 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .feature-card {
        padding: 24px;
    }

    .feature-icon {
        font-size: 36px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .cta-section,
    .footer {
        display: none !important;
    }

    .hero {
        padding-top: 0;
    }

    .hero-content {
        max-width: 100%;
    }
}
