:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --bg-light: #ffffff;
    --bg-dark: #1a1a1a;
    --text-light: #333333;
    --text-dark: #ffffff;
    --border-light: #dee2e6;
    --border-dark: #404040;
}

[data-theme="dark"] {
    --bg-light: #1a1a1a;
    --bg-dark: #2d2d2d;
    --text-light: #ffffff;
    --text-dark: #cccccc;
    --border-light: #404040;
    --border-dark: #555555;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-light);
    transition: all 0.3s ease;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-text {
    background: linear-gradient(45deg, #fff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #e3f2fd !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23007bff" fill-opacity="0.05" points="0,1000 1000,0 1000,1000"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.hero-buttons .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.hero-stats {
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 0;
}

/* Mockup Browser */
.mockup-browser {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.3s ease;
}

.mockup-browser:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg);
}

.mockup-browser-toolbar {
    background: #f5f5f5;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.mockup-browser-buttons {
    display: flex;
    gap: 6px;
}

.mockup-browser-buttons::before,
.mockup-browser-buttons::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
}

.mockup-browser-buttons::after {
    background: #ffbd2e;
    margin-left: 6px;
}

.mockup-browser-url {
    flex: 1;
    background: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    margin-left: 15px;
    font-size: 0.85rem;
    color: #666;
    border: 1px solid #e0e0e0;
}

.mockup-browser-content {
    height: 250px;
    overflow: hidden;
}

.demo-website {
    height: 100%;
    padding: 20px;
}

.demo-website.corporate .demo-header {
    height: 40px;
    background: linear-gradient(90deg, var(--primary-color), #0056b3);
    border-radius: 5px;
    margin-bottom: 15px;
}

.demo-website.corporate .demo-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.demo-website.corporate .demo-text {
    height: 15px;
    background: #e9ecef;
    border-radius: 3px;
}

.demo-website.corporate .demo-text.short {
    width: 60%;
}

.demo-website.ecommerce .demo-header {
    height: 35px;
    background: #28a745;
    border-radius: 5px;
    margin-bottom: 20px;
}

.demo-website.ecommerce .demo-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.demo-website.ecommerce .demo-product {
    height: 80px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

/* Service Cards */
.service-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Package Section */
.packages-section {
    background: var(--light-color);
}

[data-theme="dark"] .packages-section {
    background: var(--bg-dark);
}

.package-categories .nav-pills .nav-link {
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: 600;
    margin: 0 5px;
    color: var(--text-light);
    background: transparent;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.package-categories .nav-pills .nav-link.active,
.package-categories .nav-pills .nav-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.package-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.package-card:hover::before {
    left: 100%;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.package-popular {
    position: relative;
}

.package-popular::after {
    content: 'POPULER';
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--warning-color);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.package-period {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.package-features li i {
    color: var(--success-color);
    margin-right: 0.75rem;
    width: 16px;
}

/* Domain Checker */
.domain-checker-section {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
}

.domain-checker-section .section-title,
.domain-checker-section .section-subtitle {
    color: white;
}

.domain-search-form .input-group {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    overflow: hidden;
}

.domain-search-form .form-control,
.domain-search-form .form-select {
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
}

.domain-search-form .btn {
    padding: 15px 30px;
    font-weight: 600;
    background: var(--success-color);
    border-color: var(--success-color);
}

.domain-results {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.domain-available {
    color: var(--success-color);
    background: rgba(40, 167, 69, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--success-color);
}

.domain-unavailable {
    color: var(--danger-color);
    background: rgba(220, 53, 69, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--danger-color);
}

/* Calculator */
.calculator-form {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
}

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

.form-group label {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    display: block;
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid var(--border-light);
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
    color: var(--text-light);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.addon-item {
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.addon-item:hover {
    border-color: var(--primary-color);
    background: rgba(0, 123, 255, 0.05);
}

.addon-item.selected {
    border-color: var(--primary-color);
    background: rgba(0, 123, 255, 0.1);
}

.addon-checkbox {
    margin-right: 1rem;
}

.addon-info h6 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.addon-info p {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.addon-price {
    font-weight: 700;
    color: var(--primary-color);
}

.calculation-result {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.total-cost {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.estimated-time {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials-section {
    background: var(--light-color);
}

[data-theme="dark"] .testimonials-section {
    background: var(--bg-dark);
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.testimonial-company {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.testimonial-rating {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

/* FAQ */
.accordion-item {
    border: 1px solid var(--border-light);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-light);
    color: var(--text-light);
    font-weight: 600;
    padding: 1.5rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 1.5rem;
    line-height: 1.8;
}

/* Contact */
.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.contact-item h5 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-item p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color), #2c3e50);
    color: white;
}

.footer-brand h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-title {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.copyright,
.powered-by {
    color: #ccc;
    margin: 0;
}

.powered-by a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0056b3;
    transform: translateY(-3px);
}

/* Modal Customizations */
.modal-content {
    background: var(--bg-light);
    color: var(--text-light);
    border: 1px solid var(--border-light);
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
}

.modal-footer {
    border-top: 1px solid var(--border-light);
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mockup-browser {
        transform: none;
        margin-top: 2rem;
    }
    
    .package-card {
        margin-bottom: 1rem;
    }
    
    .calculator-form {
        padding: 2rem;
    }
    
    .testimonial-card {
        margin: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .domain-search-form .input-group {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .domain-search-form .form-control,
    .domain-search-form .form-select,
    .domain-search-form .btn {
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    
    .calculator-form {
        padding: 1.5rem;
    }
    
    .total-cost {
        font-size: 2rem;
    }
}

/* Feature Benefit Styling */
.feature-benefit {
    background: rgba(0, 123, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    border-left: 3px solid var(--primary-color);
}

.feature-benefit strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Package Modal Enhancements */
.package-modal-content {
    max-height: 70vh;
    overflow-y: auto;
}

.package-details-section {
    background: rgba(0, 123, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
}

.package-benefits-list {
    background: rgba(40, 167, 69, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
}

.package-benefits-list li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.package-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.package-example-item {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.package-example-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.package-recommendation {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(0, 123, 255, 0.1));
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(40, 167, 69, 0.3);
    margin-top: 1rem;
}

.package-recommendation .recommendation-title {
    color: var(--success-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Calculator Feature Item Enhancements */
.feature-item {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-item input[type="checkbox"]:checked + label {
    background: rgba(0, 123, 255, 0.1);
    border-color: var(--primary-color);
}

.feature-price {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .hero-buttons,
    .btn {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .section-title {
        color: black;
    }
}
