/* --- GLOBAL STYLES --- */
:root {
    --primary-color: #0d1117;
    --secondary-color: #161b22;
    --accent-color: #58a6ff; /* A modern, professional blue */
    --accent-hover-color: #4092dd;
    --button-orange: #f09819;
    --button-orange-hover: #e88b0b;
    --text-color: #c9d1d9;
    --heading-color: #ffffff;
    --border-color: #30363d;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--heading-color);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 2.8rem);
    text-align: left;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    text-align: center;
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    text-align: center;
}

.section-padding {
    padding: 6rem 0;
}

.section-bg {
    background-color: var(--secondary-color);
}

.section-subtitle {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-color);
}

/* Utility class for centering text where needed */
.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}


/* --- HEADER --- */
header {
    background-color: rgba(22, 27, 34, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0; /* Avoid double padding */
}

.logo {
    font-size: 1.8rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}

.logo img {
    height: 60px;
    transition: height 0.3s ease;
}

nav ul,
.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a,
.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

nav a:hover,
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background: var(--text-color);
    transition: all 0.3s ease-in-out;
}


/* --- BUTTONS --- */
.cta-button {
    padding: 18px 40px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    cursor: pointer;
    color: #fff;
}
.cta-button.btn-blue {
    background-color: #d4373d;
}
.cta-button.btn-blue:hover {
    transform: translateY(-3px);
    background-color: var(--accent-hover-color);
}

.cta-button.btn-orange {
    background: var(--button-orange);
}

.cta-button.btn-orange:hover {
    background: var(--button-orange-hover);
    transform: translateY(-3px);
}

.cta-button.btn-whatsapp {
    background-color: #25D366;
}

.cta-button.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.cta-button.btn-telegram {
    background-color: #0088cc;
}

.cta-button.btn-telegram:hover {
    background-color: #0077b5;
    transform: translateY(-3px);
}

.cta-button i {
    font-size: 1.5rem;
}

.trial-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* --- HERO SECTION --- */
.hero-section {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-text-content {
    flex: 1;
}

.hero-image-content {
    flex: 1;
    text-align: center;
}

.hero-image-content img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.pill-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid #d4373d;
    background: rgba(88, 166, 255, 0.1);
    color: #d4373d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pill-tag i {
    margin-right: 8px;
}

.hero-text-content p {
    font-size: 1.1rem;
    margin: 1.5rem 0 2.5rem 0;
    max-width: 500px;
}

/* --- GENERIC CARD & GRID STYLES --- */
.grid-3,
.grid-4 {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background: var(--secondary-color);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card i.feature-icon {
    font-size: 3rem;
    color: #d4373d;
    margin-bottom: 1.5rem;
}

/* --- HOW IT WORKS SECTION --- */
.step-card {
    text-align: left;
    position: relative;
    padding-left: 4rem;
}

.step-number {
    position: absolute;
    left: 1.5rem;
    top: 2.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: #d4373d;
    background-color: rgba(88, 166, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
}

/* --- TESTIMONIALS SECTION --- */
.testimonial-card {
    text-align: left;
}

.testimonial-card p.quote {
    font-style: italic;
    margin-bottom: 1rem;
    border-left: 3px solid #d4373d;
    padding-left: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-author h4 {
    color: var(--heading-color);
    margin: 0;
}

.testimonial-author span {
    font-size: 0.9rem;
}

/* --- PACKAGES / PLANS SECTION --- */
.package-item {
    position: relative;
    overflow: hidden;
}

.package-item.featured {
    border-color: #d4373d;
    transform: scale(1.05);
    z-index: 10;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: -45px;
    background: #d4373d;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: bold;
}

.package-item .price {
    font-size: 2.5rem;
    color: #d4373d;
    font-weight: 700;
    margin: 1rem 0;
}

.package-item ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.package-item ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.package-item ul li i {
    color: #d4373d;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.package-item ul li i.fa-times {
    color: #888;
}

/* --- FAQ SECTION --- */
.faq-accordion .faq-item {
    background-color: var(--secondary-color);
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem;
    font-size: 1.2rem;
    color: #fff;
    font-family: 'Poppins';
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

/* --- CONTACT PAGE STYLES --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-card .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.icon.whatsapp {
    color: #25D366;
}

.icon.telegram {
    color: #0088cc;
}

.icon.time {
    color: var(--accent-color);
}

.icon.email {
    color: #c71610;
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-card p {
    margin-bottom: 2rem;
}

.contact-button {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    background-color: var(--accent-color);
    color: #fff;
}

.contact-button:hover {
    background-color: var(--accent-hover-color);
}

.working-hours {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--heading-color);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 8px;
}

/* --- CHECKOUT & FORM STYLES --- */
.checkout-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
}

.order-summary,
.payment-form {
    background-color: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.order-summary h3,
.payment-form h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.order-summary .plan-details h4 {
    font-size: 1.5rem;
}

.order-summary .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0.5rem 0 1.5rem 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.features-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.features-list li i {
    color: var(--accent-color);
    margin-right: 0.8rem;
}

.order-summary .total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
}

.form-success,
.form-error {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.form-success {
    color: #2e7d32;
    background-color: #e8f5e9;
}

.form-error {
    color: #c62828;
    background-color: #ffebee;
}

.payment-options {
    margin-top: 2rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.payment-option:hover {
    background-color: #2a2e32;
}

.payment-option input[type="radio"] {
    transform: scale(1.5);
    margin-right: 1rem;
    accent-color: var(--accent-color);
}

.payment-option i {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.fa-paypal {
    color: #0070BA;
}

.fa-bitcoin {
    color: #F7931A;
}

.thank-you-message {
    text-align: center;
}

.thank-you-message i {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.thank-you-message p {
    max-width: 600px;
    margin: 1rem auto 2rem auto;
    font-size: 1.1rem;
}

.thank-you-message a {
    text-decoration: none;
}


/* --- FOOTER --- */
footer {
    background-color: #010409;
    padding: 4rem 0 2rem 0;
    margin-top: auto;
    text-align: center;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 2rem auto 0 auto;
    font-size: 0.8rem;
    color: #666;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #888;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h2, h3, .text-center h3 {
        text-align: center;
        /* Center section titles on mobile */
    }
    .section-subtitle,
    .text-center .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .logo img {
        height: 45px;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: var(--secondary-color);
        width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 0;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li {
        padding: 1rem 0;
    }
    .hamburger {
        display: block;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    .hero-text-content {
        order: 2;
    }
    .hero-image-content {
        order: 1;
        margin-bottom: 2rem;
    }
    .hero-text-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .package-item.featured {
        transform: scale(1);
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
}