/* ========================================
   MODULES CSS - Hosting, Steps, About, etc.
   ======================================== */

/* ---------- HOSTING PACKAGES ---------- */
.hosting-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hosting-card {
    background: var(--white);
    border: 1px solid var(--light-2);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hosting-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.hosting-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.hosting-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.hosting-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(108, 58, 237, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
}

.hosting-card.featured .hosting-icon {
    background: var(--gradient-1);
    color: var(--white);
}

.hosting-card h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.hosting-card .hosting-desc {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 20px;
}

.hosting-card .hosting-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}

.hosting-card .hosting-price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray);
}

.hosting-features {
    text-align: left;
    margin-bottom: 24px;
}

.hosting-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--dark-3);
    border-bottom: 1px solid var(--light);
}

.hosting-features li i {
    color: var(--success);
    font-size: 13px;
    width: 18px;
    text-align: center;
}

.btn-hosting {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}

.btn-hosting-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-hosting-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-hosting-fill {
    background: var(--gradient-1);
    color: var(--white);
    border: none;
}

.btn-hosting-fill:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ---------- STEPS / INFO GRID ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.2;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    font-family: var(--font-primary);
    box-shadow: 0 8px 30px rgba(108, 58, 237, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px dashed rgba(108, 58, 237, 0.2);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.step-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* ---------- QUICK QUOTE ---------- */
.quote-section {
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.quote-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    top: -300px;
    left: -200px;
}

.quote-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    bottom: -200px;
    right: -100px;
}

.quote-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.quote-text h2 {
    font-size: 38px;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.quote-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.quote-stats {
    display: flex;
    gap: 32px;
}

.quote-stat h3 {
    font-size: 36px;
    color: var(--accent-light);
    font-weight: 900;
}

.quote-stat p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.quote-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.quote-form h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent-light);
    background: rgba(255, 255, 255, 0.12);
}

.form-select option {
    background: var(--dark);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-quote {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: var(--dark);
    font-weight: 800;
    font-size: 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-quote:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
}

/* ---------- WHY CHOOSE US ---------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-card {
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}

.why-card:hover::before {
    opacity: 0.08;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}

.why-icon {
    width: 56px;
    height: 56px;
    background: rgba(108, 58, 237, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-light);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.why-card h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.why-card p {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ---------- ABOUT ---------- */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-main {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-float-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: float 3s ease-in-out infinite;
}

.about-float-card .afc-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.about-float-card h4 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.about-float-card p {
    font-size: 12px;
    color: var(--gray);
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content>p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.about-feature i {
    color: var(--success);
    font-size: 16px;
}

.btn-about {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
}

.btn-about:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

/* Ana sayfa için slider görünümü: 2'li kaydırma (desktop), mobilde 1'li */
#testimonials .testimonials-track {
    gap: 24px;
}

#testimonials .testimonial-card {
    min-width: calc(50% - 12px);
}

@media (max-width: 767.98px) {
    #testimonials .testimonial-card {
        min-width: 100%;
    }
}

.testimonial-card {
    min-width: calc(33.333% - 16px);
    background: var(--white);
    border: 1px solid var(--light-2);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    flex-shrink: 0;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 64px;
    color: rgba(108, 58, 237, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: var(--accent);
    font-size: 14px;
}

.testimonial-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
}

.testimonial-author h5 {
    font-size: 15px;
    font-weight: 600;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--gray);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.testimonials-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--light);
    color: var(--dark);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-nav button:hover {
    background: var(--primary);
    color: var(--white);
}

/* ---------- PARTNERS / TECH STACK ---------- */
.partners-section {
    padding: 60px 0;
    background: var(--light);
    overflow: hidden;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: marquee 25s linear infinite;
}

.partner-logo {
    flex-shrink: 0;
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-light);
    opacity: 0.5;
    transition: var(--transition);
    font-family: var(--font-primary);
    white-space: nowrap;
}

.partner-logo:hover {
    opacity: 1;
    color: var(--primary);
}

/* ---------- STATS COUNTER ---------- */
.stats-section {
    background: var(--dark);
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 44px;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.stat-item p {
    color: var(--gray-light);
    font-size: 14px;
}

/* ---------- CTA BANNER ---------- */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-section::before {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -100px;
}

.cta-section::after {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -50px;
}

.cta-section h2 {
    font-size: 40px;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.btn-cta {
    padding: 15px 36px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-white {
    background: var(--white);
    color: var(--primary);
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-cta-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- NEWSLETTER ---------- */
.newsletter-section {
    background: var(--light);
    padding: 70px 0;
    background: #f9fcff;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.newsletter-text h3 {
    font-size: 26px;
    margin-bottom: 6px;
}

.newsletter-text p {
    color: var(--gray);
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    flex: 1;
    max-width: 440px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 18px;
    background: var(--white);
    border: 2px solid var(--light-2);
    border-radius: var(--radius-md);
    font-size: 14px;
}

.newsletter-input:focus {
    border-color: var(--primary);
}

.btn-newsletter {
    padding: 14px 28px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.btn-newsletter:hover {
    opacity: 0.9;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--dark);
    padding: 70px 0 0;
    color: var(--gray-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand>p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-light);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social:hover {
    background: var(--gradient-1);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-col a i {
    font-size: 10px;
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.footer-payments {
    display: flex;
    gap: 10px;
}

.footer-payment {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--gray-light);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .software-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hosting-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero {
        height: 560px;
    }

    .hero-title {
        font-size: 38px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .quote-inner {
        grid-template-columns: 1fr;
    }

    .about-inner {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .topbar-left {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-search-box {
        flex-direction: column;
    }

    .hero-search-select {
        min-width: auto;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .software-grid {
        grid-template-columns: 1fr;
    }

    .hosting-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 28px;
    }

    .domain-extensions {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-width: 100%;
    }
}