/* Cladora Hosting - Custom Styles */
:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --accent: #00a8ff;
    --success: #28a745;
    --dark: #1a1a2e;
    --gray: #f8f9fa;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background: #1a1a2e;
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
}

.top-bar a:hover {
    color: var(--accent);
}

/* Sticky Navbar */
.navbar-cladora {
    background: #fff !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 10px 0;
    transition: all 0.3s ease;
}

.navbar-cladora.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #333 !important;
    padding: 8px 16px !important;
    margin: 0 2px;
    border-radius: 4px;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: var(--primary);
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #e0f0ff 0%, #cce5ff 50%, #b3d9ff 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1600&q=80') center/cover no-repeat;
    opacity: 0.15;
}

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

.hero-servers img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

.offer-badge {
    width: 110px;
    height: 110px;
    background: #00a8ff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 25px rgba(0,168,255,0.4);
    z-index: 5;
}

.offer-badge .price {
    font-size: 22px;
    line-height: 1;
}

.offer-badge .period {
    font-size: 12px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.hero-features {
    list-style: none;
    padding: 0;
}

.hero-features li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.hero-features li i {
    color: var(--success);
    margin-right: 10px;
}

.btn-get-started {
    background: var(--primary);
    color: #fff;
    padding: 12px 35px;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-get-started:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,123,255,0.3);
}

/* Domain Search */
.domain-search-section {
    background: #f5f7fa;
    padding: 60px 0;
}

.domain-input-group {
    max-width: 600px;
    margin: 0 auto 30px;
}

.domain-input-group .form-control {
    height: 50px;
    border-radius: 5px 0 0 5px;
    border: 2px solid #dee2e6;
}

.domain-input-group .form-select {
    height: 50px;
    border-radius: 0;
    border: 2px solid #dee2e6;
    border-left: none;
    width: 100px;
}

.domain-input-group .btn {
    height: 50px;
    border-radius: 0 5px 5px 0;
    padding: 0 25px;
}

.domain-prices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.domain-price-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    text-align: center;
    min-width: 100px;
    transition: all 0.3s;
}

.domain-price-box:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.domain-price-box .ext {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.domain-price-box .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.domain-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.domain-result.available {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.domain-result.unavailable {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Web Hosting Plans Section */
.plans-preview {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 8px;
}

.feature-list li i {
    color: var(--success);
    margin-right: 8px;
}

.server-img {
    max-width: 180px;
    margin: 0 auto;
    display: block;
}

/* Service Cards */
.service-cards {
    padding: 40px 0 60px;
    background: #f5f7fa;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.service-card .badge-price {
    width: 90px;
    height: 90px;
    background: #ffc107;
    color: #1a1a2e;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(255,193,7,0.4);
}

.service-card img {
    max-height: 120px;
    margin-bottom: 20px;
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

/* Pricing Table */
.pricing-section {
    padding: 70px 0;
    background: #fff;
}

.pricing-table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.pricing-table .table {
    margin-bottom: 0;
}

.pricing-table th {
    background: #f8f9fa;
    font-weight: 700;
    padding: 25px 15px;
    text-align: center;
    border: none;
}

.pricing-table th.featured {
    background: var(--primary);
    color: #fff;
    position: relative;
}

.pricing-table th.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffc107;
    color: #1a1a2e;
    font-size: 11px;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 700;
}

.pricing-table td {
    text-align: center;
    padding: 15px;
    vertical-align: middle;
    border-color: #eee;
}

.pricing-table .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a2e;
}

.pricing-table .price small {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
}

.pricing-table .btn-order {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
}

.pricing-table .btn-order:hover {
    background: var(--primary-dark);
    color: #fff;
}

.pricing-table th.featured .btn-order {
    background: #fff;
    color: var(--primary);
}

/* Banner Section */
.banner-section {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1600&q=80') center/cover no-repeat;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.banner-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* Features Boxes */
.features-boxes {
    padding: 60px 0;
    background: #f5f7fa;
}

.feature-box {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-box h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-box ul {
    list-style: none;
    padding: 0;
}

.feature-box ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.feature-box ul li i {
    color: var(--success);
    margin-right: 8px;
}

/* CTA Bar */
.cta-bar {
    background: var(--primary);
    color: #fff;
    padding: 25px 0;
}

.cta-bar h4 {
    margin: 0;
    font-weight: 600;
}

.btn-buy-now {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-buy-now:hover {
    background: #fff;
    color: var(--primary);
}

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

.testimonial-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    height: 100%;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Clients */
.clients-section {
    padding: 50px 0;
    background: #f5f7fa;
    text-align: center;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.client-logos img {
    height: 35px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.client-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: #adb5bd;
    padding: 60px 0 20px;
}

.footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid #2d2d44;
    padding-top: 20px;
    margin-top: 40px;
}

.payment-icons img {
    height: 28px;
    margin-right: 8px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 5px 20px rgba(37,211,102,0.5);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 8px 25px rgba(37,211,102,0.7);
}

/* Mobile First / Super Responsive */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2rem;
    }
    .offer-badge {
        width: 90px;
        height: 90px;
        font-size: 0.9rem;
    }
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
        margin: 2px 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 50px 0 40px;
        text-align: center;
    }
    .hero-title {
        font-size: 1.7rem;
    }
    .domain-prices {
        gap: 10px;
    }
    .domain-price-box {
        min-width: 80px;
        padding: 12px 10px;
    }
    .pricing-table {
        font-size: 0.9rem;
    }
    .pricing-table .price {
        font-size: 1.3rem;
    }
    .banner-section h2 {
        font-size: 1.8rem;
    }
    .cta-bar {
        text-align: center;
    }
    .cta-bar .btn {
        margin-top: 15px;
    }
    .client-logos {
        gap: 25px;
    }
    .client-logos img {
        height: 28px;
    }
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 575.98px) {
    .top-bar {
        font-size: 11px;
        text-align: center;
    }
    .top-bar .d-flex {
        flex-direction: column;
        gap: 5px;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
}

/* Mobile class added by PHP detection */
body.is-mobile .hero-section {
    padding-top: 40px;
}
body.is-mobile .navbar-cladora {
    padding: 8px 0;
}
body.is-mobile .navbar-brand img {
    height: 38px;
}
