:root {
    --primary-bg: #f8fafc;
    --text-main: #0f172a;
    --text-light: #64748b;
    --accent: #0284c7;
    --accent-hover: #0369a1;
    --white: #ffffff;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --border-radius: 24px;
    --border-radius-sm: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Typography */
h1 { font-size: 3.5rem; font-weight: 700; line-height: 1.1; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; font-weight: 700; color: var(--text-main); }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
p { color: var(--text-light); }

/* Buttons */
.btn-primary {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.btn-search-large {
    background-color: #0f172a;
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-search-large:hover {
    background-color: #1e293b;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.btn-icon:hover {
    background-color: rgba(255,255,255,0.2);
}

.mt-4 { margin-top: 1.5rem; }

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    color: var(--white);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--white);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 5% 8rem 5%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: var(--white);
    background: #0f172a;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero.png');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 500px;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.hero-content .sub-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.hero-search {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 0.25rem 0.25rem 0.25rem 1.5rem;
    max-width: 350px;
}

.hero-search input {
    background: transparent;
    border: none;
    color: var(--white);
    outline: none;
    flex: 1;
    font-size: 1rem;
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Floating Search Box */
.floating-search {
    position: relative;
    z-index: 20;
    background: var(--white);
    max-width: 800px;
    margin: -40px auto 4rem auto;
    border-radius: 40px;
    padding: 1rem 1rem 1rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--card-shadow);
}

.search-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.search-item .label {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.search-item .value {
    font-weight: 600;
    color: var(--text-main);
}

/* Custom Dropdown Styling */
.custom-dropdown {
    position: relative;
    cursor: pointer;
}

.custom-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: -10px;
    width: 220px;
    background: var(--white);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.custom-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    padding: 0.75rem 1.5rem;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-option:hover {
    background-color: var(--primary-bg);
    color: var(--accent);
}

.custom-dropdown .fa-chevron-down {
    transition: transform 0.3s;
}

.custom-dropdown.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* Most Viewed Section */
.most-viewed {
    padding: 4rem 5%;
    text-align: center;
}

/* Search Results Section */
.search-results {
    padding: 3rem 5% 2rem;
    max-width: 1300px;
    margin: 0 auto;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.search-results-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-results-header h2 {
    font-size: 1.75rem;
    color: var(--text-main);
}

.results-count {
    background: var(--accent);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-clear-search {
    margin-left: auto;
    background: transparent;
    border: 1px solid #e2e8f0;
    color: var(--text-light);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-clear-search:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.no-results {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 3rem;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.section-header p {
    margin-top: 1rem;
}

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

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--card-shadow);
    text-align: left;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-img {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.specs {
    display: flex;
    gap: 1rem;
}

.price {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.dot.active {
    background: var(--text-main);
}

/* Easiest Method Section */
.easiest-method {
    padding: 6rem 5%;
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.method-image {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
}

.method-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-icon-overlay {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-main);
    box-shadow: var(--card-shadow);
}

.method-content {
    flex: 1;
}

.method-content h2 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

.method-content p {
    margin-bottom: 2rem;
}

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

.features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.features i {
    color: var(--accent);
    background: rgba(2, 132, 199, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 0.8rem;
}

.method-content .btn-primary {
    background-color: var(--text-main);
    border: none;
}

.method-content .btn-primary:hover {
    background-color: #1e293b;
}

/* WhatsApp Floating Icon */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 5%;
    background-color: var(--primary-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-main);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.05rem;
}

.faq-question i {
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fdfdfd;
}

.faq-answer p {
    padding: 0 1.5rem;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.25rem;
}

.faq-item.active .faq-answer p {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 5rem 5% 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

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

.social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 0.25rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .floating-search {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.5rem;
        margin-top: -60px;
        width: 90%;
    }
    
    .search-item {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 1rem;
        padding-left: 0;
    }

    .search-item:last-of-type { border-bottom: none; }

    .btn-search-large {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .easiest-method {
        flex-direction: column;
        gap: 2rem;
    }
    
    .method-image {
        width: 100%;
    }

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

@media (max-width: 768px) {
    h1 { font-size: 2.25rem !important; line-height: 1.2; }
    h2 { font-size: 1.75rem !important; }
    
    .navbar {
        padding: 1rem 5%;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateX(0);
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }

    .nav-links a {
        font-size: 1.25rem;
        color: #fff;
    }
    
    .mobile-menu-icon {
        display: block;
        position: relative;
        z-index: 1000;
        color: #fff;
        font-size: 1.5rem;
    }
    
    .navbar .btn-primary {
        display: none;
    }

    .hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
        min-height: auto;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-search {
        margin: 2rem auto 0;
        width: 100%;
        max-width: 400px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .whatsapp-float {
        bottom: 25px;
        right: 25px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-contact p, .social-links {
        justify-content: center;
    }
}
