* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #1e293b, #334155);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.nav-logo h2 {
    color: #f1c40f;
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #f1c40f;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f1c40f;
}

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

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.feature-icon {
    font-size: 1.5rem;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    color: #1e293b;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.3);
}

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

.btn-secondary:hover {
    background: #f1c40f;
    color: #1e293b;
}

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

.btn-outline:hover {
    background: #1e293b;
    color: white;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: white;
}

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

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.product-details h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.product-specs {
    margin-bottom: 2rem;
}

.spec {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.spec-label {
    font-weight: 600;
    color: #64748b;
}

.spec-value {
    font-weight: 700;
    color: #1e293b;
}

.product-price {
    margin-bottom: 2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1c40f;
}

.price-note {
    color: #64748b;
    font-size: 1rem;
}

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

/* Hosting Section */
.hosting {
    padding: 80px 0;
    background: #f8fafc;
}

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

.hosting-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.hosting-benefits h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.benefit p {
    color: #64748b;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    height: fit-content;
    border: 3px solid #f1c40f;
}

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

.price-display {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #f1c40f;
}

.price-period {
    font-size: 1.2rem;
    color: #64748b;
}

.price-details {
    text-align: left;
    margin-bottom: 2rem;
}

.price-details p {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.hosting-options h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.option-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.option-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.option-card p {
    margin-bottom: 1.5rem;
    color: #64748b;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 2rem;
}

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

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: #f1c40f;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

.close:hover {
    color: #000;
}

.modal h2 {
    margin-bottom: 2rem;
    color: #1e293b;
    text-align: center;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-btn:hover {
    border-color: #f1c40f;
    background: #fffbf0;
}

.payment-icon {
    font-size: 1.5rem;
}

.payment-currency {
    font-size: 0.9rem;
    color: #64748b;
}

.package-summary {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.package-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.package-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    border-top: 2px solid #e2e8f0;
    padding-top: 0.5rem;
    margin-top: 1rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: #64748b;
    margin: 0;
}

.business-info, .security-badges {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.business-info h4, .security-badges h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.badge {
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid #e2e8f0;
}

/* Contact Form */
.contact-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #f1c40f;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.success-message {
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    margin-top: 1rem;
}

/* Product Features */
.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.feature-item .feature-icon {
    font-size: 1.1rem;
}

/* Loading States */
.btn-loading {
    display: none;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Footer Improvements */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-contact {
    margin-top: 1rem;
}

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

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f1c40f;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal p {
    margin: 0;
    font-size: 0.875rem;
    color: #94a3b8;
}

.footer-security {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.security-badge {
    padding: 0.25rem 0.75rem;
    background: #374151;
    color: #f1c40f;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid #4b5563;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
}

.notification-info {
    background: #3b82f6;
    color: white;
}

.notification-success {
    background: #10b981;
    color: white;
}

.notification-error {
    background: #dc2626;
    color: white;
}

.notification button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Legal Content */
.legal-content {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 2rem;
}

.legal-content h3 {
    color: #1e293b;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #64748b;
}

/* Accessibility improvements */
.btn-primary:focus,
.btn-secondary:focus,
.btn-outline:focus {
    outline: 2px solid #f1c40f;
    outline-offset: 2px;
}

input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.1);
}

/* Skip to content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #1e293b;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10001;
}

.skip-link:focus {
    top: 6px;
}

/* Better contrast for accessibility */
.nav-menu a {
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f1c40f;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1e293b;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
        padding: 2rem 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .product-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hosting-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .product-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Modal improvements for mobile */
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-width: 500px;
        max-height: 90vh;
        overflow-y: auto;
        padding: 1.5rem;
    }
    
    .payment-options {
        flex-direction: column;
        gap: 1rem;
    }
    
    .payment-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Better touch targets */
    button, .btn-primary, .btn-secondary, .btn-outline {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    /* Notification position for mobile */
    .notification {
        right: 10px;
        top: 10px;
        max-width: calc(100vw - 20px);
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .hero-features {
        gap: 0.75rem;
    }
    
    .feature {
        font-size: 0.95rem;
    }
    
    .modal-content {
        margin: 10px auto;
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        border-radius: 8px;
    }
    
    .contact h2, .products h2, .hosting h2 {
        font-size: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-icon {
        font-size: 1.2rem;
    }
    
    .badges {
        grid-template-columns: 1fr;
    }
    
    .badge {
        text-align: left;
        padding: 0.75rem;
    }
    
    /* Improve form UX on small screens */
    .form-group input, 
    .form-group select, 
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 1rem;
    }
    
    .spec {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 0;
    }
    
    .spec-label {
        margin-bottom: 0.25rem;
    }
    
    /* Better spacing */
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* Touch-friendly navigation */
    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }
}

/* Ultra-small screens */
@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .product-price .price {
        font-size: 2rem;
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    .btn-primary, .btn-secondary, .btn-outline {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
}