* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;    
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}
/* Base nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* allow wrapping */
}

/* Hide menu toggle button on desktop */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;               /* hide by default */
        flex-direction: column;      /* vertical menu */
        width: 100%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        position: absolute;
        top: 70px;                   /* below header */
        left: 0;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex; /* show when active */
    }

    .menu-toggle {
        display: block; /* show hamburger */
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: #ff6b6b;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.secondary:hover {
    background: white;
    color: #667eea;
}

.cta-button {
    background: #ff6b6b;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Demo Generator Section */
.demo-generator {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.demo-input-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    text-align: center;
}

.input-group {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.demo-input {
    flex: 1;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.demo-input:focus {
    border-color: #667eea;
}

.generate-btn {
    background: #667eea;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.generate-btn:hover {
    background: #5a67d8;
}

/* Demo Results */
.demo-results {
    display: none;
    margin-top: 40px;
}

.demo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.demo-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.demo-card:hover {
    transform: translateY(-5px);
}

.demo-preview {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.demo-content {
    padding: 25px;
}

.demo-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.demo-description {
    color: #666;
    margin-bottom: 20px;
}

.demo-features {
    list-style: none;
    margin-bottom: 20px;
}

.demo-features li {
    padding: 5px 0;
    color: #555;
}

.demo-features li:before {
    content: "✓ ";
    color: #28a745;
    font-weight: bold;
}

.demo-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 15px;
}

.view-demo-btn {
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    margin-bottom: 10px;
}

.select-plan-btn {
    background: #667eea;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
}

/* Demo Display Modal */
.demo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    scrollbar-width: none;
    
}

.demo-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    margin: 5% auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.demo-modal-header {
    background: #667eea;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-demo {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.demo-iframe-container {
    width: 100%;
    height: calc(100% - 60px);
    overflow: auto;
    padding: 20px;
    background: #f8f9fa;
    scrollbar-width: none;
}

.demo-website {
    width: 100%;
    min-height: 100%;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Service Plans Section */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card.featured {
    border-color: #ff6b6b;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #667eea;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-description {
    color: #666;
    margin-bottom: 20px;
}

.service-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #667eea;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: #555;
}

.service-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

.price-btn, .whatsapp-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.price-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.price-btn:hover, .whatsapp-btn:hover {
    transform: translateY(-2px);
}

/* LMS Section */
.lms-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.lms-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.lms-text {
    padding: 20px;
}

.lms-features {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.lms-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    border-left: 4px solid #10b981;
}

.highlight-item i {
    color: #10b981;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-item i {
    color: #667eea;
    width: 20px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}


.submit-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #667eea;
}

.footer-section p, .footer-section li {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li:before {
    content: "• ";
    color: #667eea;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: inline-block;
    padding: 8px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
    color: #999;
}

.confirm-btn:active,
.submit-btn:active,
.price-btn:active,
.whatsapp-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.18);
  opacity: 0.85;
  filter: brightness(0.95);
}

.confirm-btn.loading,
.submit-btn.loading,
.price-btn.loading,
.whatsapp-btn.loading {
  cursor: wait;
  opacity: 0.7;
}

.confirm-btn.success,
.submit-btn.success,
.price-btn.success,
.whatsapp-btn.success {
  background: #10b981 !important;
  color: white !important;
  border: none !important;
  animation: successFade 1s forwards;
}
@keyframes successFade {
  0% { background: #10b981; }
  100% { background: #667eea; }
}

.confirm-btn:disabled,
.submit-btn:disabled,
.price-btn:disabled,
.whatsapp-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(60%);
}



/* Plan Selection Modal */
.plan-modal {
    display: none;
    position: fixed;    /* allow it to grow with page */
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;      /* page grows if content is taller */
    background: rgba(0,0,0,0.8);
    z-index: 2001;
    overflow-y: auto;      /* keep scrolling active */
}

.plan-modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    scrollbar-width: none;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}



.plan-modal-header {
    background: #667eea;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.close-plan {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-form-container {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.confirm-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s;
}

.confirm-btn:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .input-group {
        flex-direction: column;
    }

    .demo-cards {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .lms-content {
        grid-template-columns: 1fr;
    }

    .demo-modal-content {
        width: 95%;
        height: 95%;
        margin: 2.5% auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.featured {
        transform: none;
    }

    .lms-highlights {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .plan-modal-content {
        width: 95%;
        margin: 2% auto;
    }

    .plan-form-container {
        padding: 20px;
    }
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preview-website {
    transform: scale(0.3);
    transform-origin: top left;
    width: 333.33%;
    height: 333.33%;
    border: 1px solid #ddd;
    position: relative;
}
