/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: "Poppins", sans-serif;
    background: #f9fbff;
    color: #333;
    padding-top: 50px; /* ✅ Fix for fixed topbar */
}

/* TOP BAR */
.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 40px;
    background: #0d6efd;
    color: white;
    font-size: 14px;
    flex-wrap: wrap;
}

.topbar a {
    color: white;
    margin-right: 15px;
    text-decoration: none;
}

.topbar a:hover {
    text-decoration: underline;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Google Translate Fix */
.goog-te-gadget {
    font-size: 0 !important;
}

.goog-te-gadget select {
    font-size: 14px !important;
    padding: 5px;
    border-radius: 5px;
    border: none;
}

/* HEADER */
.header {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-weight: 600;
    font-size: 20px;
}

.header nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.header nav a:hover {
    color: #0d6efd;
}

.btn-small {
    background: #0d6efd;
    color: white !important;
    padding: 6px 12px;
    border-radius: 5px;
}

/* HERO */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #eaf2ff, #f9fbff);
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

.hero p {
    color: #666;
    margin-bottom: 25px;
}

/* INPUT */
.input-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.input-box input {
    padding: 14px;
    width: 320px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
}

.input-box button {
    padding: 14px 20px;
    background: linear-gradient(90deg, #0d6efd, #4facfe);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.input-box button:hover {
    opacity: 0.9;
    transform: scale(1.03);
}

#result {
    margin-top: 15px;
    font-weight: 500;
}

/* FEATURES */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.feature {
    background: white;
    padding: 25px;
    border-radius: 12px;
    width: 260px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* PRICING */
.pricing {
    text-align: center;
    padding: 60px 20px;
    background: #f8fbff;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.plan {
    background: white;
    padding: 25px;
    width: 240px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.plan:hover {
    transform: translateY(-5px);
}

.plan.highlight {
    border: 2px solid #0d6efd;
    transform: scale(1.05);
}

.price {
    font-size: 28px;
    margin: 15px 0;
    font-weight: bold;
}

.plan ul {
    list-style: none;
}

.plan ul li {
    margin: 8px 0;
}

.plan button {
    margin-top: 10px;
    padding: 10px;
    width: 100%;
    border: none;
    background: linear-gradient(90deg, #0d6efd, #4facfe);
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.plan button:hover {
    transform: scale(1.03);
}

/* HOW IT WORKS */
.how-it-works {
    padding: 60px 20px;
    text-align: center;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.step {
    background: white;
    padding: 25px;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-number {
    font-size: 26px;
    font-weight: bold;
    color: #0d6efd;
}

/* TUTORIALS */
.tutorials {
    padding: 60px 20px;
    text-align: center;
    background: #f8fbff;
}

.tutorial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tutorial {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    text-decoration: none;
    color: #333;
    transition: 0.3s;
    cursor: pointer;
}

.tutorial:hover {
    background: #0d6efd;
    color: white;
}

/* ADVANCED */
.advanced {
    padding: 60px 20px;
    text-align: center;
}

.advanced-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.advanced-box {
    background: white;
    padding: 25px;
    width: 280px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* FAQ */
.faq-modern {
    padding: 60px 20px;
    text-align: center;
    background: #f8fbff;
}

.faq-container {
    max-width: 800px;
    margin: auto;
}

.faq-card {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
}

.faq-header:hover {
    background: #f0f6ff;
}

.faq-body {
    display: none;
    padding: 15px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* TROUBLESHOOTING */
.troubleshooting {
    padding: 60px 20px;
    text-align: center;
}

.troubleshoot-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trouble-card {
    background: white;
    padding: 25px;
    width: 280px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.trouble-card:hover {
    transform: translateY(-5px);
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    background: #111;
    color: white;
}

/* AUTH */
.auth-container {
    width: 300px;
    margin: 120px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.auth-container input,
.auth-container button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

/* RESPONSIVE */
@media(max-width:768px) {
    .features,
    .pricing-container,
    .steps,
    .advanced-container {
        flex-direction: column;
        align-items: center;
    }

    .input-box {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 28px;
    }
}