/* ========================================
   SECTIONS CSS - Hero, Categories, etc.
   ======================================== */

/* ---------- HERO SLIDER ---------- */
.hero {
    position: relative;
    height: 620px;
    overflow: visible;
}

.hero-slides {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 25;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeInDown 0.8s ease;
}

.hero-badge i {
    color: var(--accent-light);
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 18px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title span {
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    opacity: 0.85;
    max-width: 560px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Hero Search */
.hero-search {
    width: 100%;
    max-width: 640px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-search-box {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 6px;
    gap: 6px;
}

.hero-search-select {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    min-width: 140px;
    cursor: pointer;
}

.hero-search-select option {
    background: var(--dark);
    color: var(--white);
}

.hero-search-input {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    color: var(--white);
    font-size: 15px;
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-search-btn {
    padding: 12px 28px;
    background: var(--accent);
    color: var(--dark);
    font-weight: 700;
    border-radius: var(--radius-md);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.hero-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 13px;
    opacity: 0.8;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-tags a {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
}

.hero-tags a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Slider controls */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    cursor: pointer;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hero-nav.prev {
    left: 30px;
}

.hero-nav.next {
    right: 30px;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--white);
    width: 32px;
    border-radius: 5px;
}

/* ---------- SECTION COMMON ---------- */
.section {
    padding: 90px 0;
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-gray {
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(108, 58, 237, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-dark .section-label {
    background: rgba(108, 58, 237, 0.25);
    color: var(--primary-light);
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 14px;
}

.section-title span {
    color: var(--primary);
}

.section-dark .section-title span {
    color: var(--primary-light);
}

.section-desc {
    font-size: 16px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- FEATURED CATEGORIES ---------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--light-2);
    border-radius: var(--radius-lg);
    padding: 28px 16px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    background: rgba(108, 58, 237, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--gradient-1);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.category-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 12px;
    color: var(--gray);
}

/* ---------- DOMAIN SEARCH ---------- */
.domain-section {
    background: var(--gradient-3);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.domain-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 58, 237, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.domain-search-box {
    max-width: 700px;
    margin: 0 auto 40px;
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 6px;
}

.domain-search-input {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    color: var(--white);
    font-size: 16px;
}

.domain-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.domain-search-btn {
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    border-radius: var(--radius-md);
    font-size: 15px;
}

.domain-search-btn:hover {
    background: var(--primary-light);
}

.domain-extensions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.domain-ext {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    text-align: center;
    min-width: 140px;
    transition: var(--transition);
}

.domain-ext:hover {
    background: rgba(108, 58, 237, 0.2);
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

.domain-ext h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.domain-ext p {
    font-size: 13px;
    color: var(--gray-light);
    margin-bottom: 6px;
}

.domain-ext .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-light);
}

.domain-ext .price small {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-light);
}

/* ---------- FEATURED SOFTWARE ---------- */
.software-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.software-card {
    background: var(--white);
    border: 1px solid var(--light-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.software-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.software-card-header {
    height: 180px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.software-card-header i {
    font-size: 56px;
    color: rgba(255, 255, 255, 0.3);
}

.software-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: var(--dark);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
}

.software-card-body {
    padding: 20px;
    height: 200px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.software-card-body h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.software-card-body h4 a.software-card-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.software-card-body h4 a.software-card-title-link:hover {
    color: var(--primary);
}

.software-card-body .software-card-desc {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 12px;
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.software-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.software-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(108, 58, 237, 0.08);
    border: 1px solid rgba(108, 58, 237, 0.2);
    border-radius: var(--radius-full);
    white-space: nowrap;
    line-height: 1.2;
}

.software-feature-badge i {
    font-size: 11px;
    opacity: 0.9;
}

.software-card:hover .software-feature-badge {
    background: rgba(108, 58, 237, 0.12);
    border-color: rgba(108, 58, 237, 0.3);
}

.software-card-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--light-2);
    margin-top: auto;
}

.software-card-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.software-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.software-price-old {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray);
    text-decoration: line-through;
}

.software-price small {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray);
}

.software-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-software {
    padding: 8px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
}

.btn-software:hover {
    background: var(--primary-dark);
}

/* ---------- RESELLER PACKAGES ---------- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.package-card {
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.package-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.package-card.popular::before {
    content: 'En Popüler';
    position: absolute;
    top: 20px;
    right: -32px;
    background: var(--gradient-2);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(45deg);
}

.package-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
}

.package-header {
    text-align: center;
    margin-bottom: 28px;
}

.package-header h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 8px;
}

.package-header .price {
    font-size: 44px;
    font-weight: 900;
    color: var(--primary-light);
}

.package-header .price small {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-light);
}

.package-features {
    margin-bottom: 28px;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--gray-light);
    font-size: 14px;
}

.package-features li i {
    color: var(--success);
    font-size: 14px;
}

.btn-package {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
}

.btn-package-outline {
    border: 2px solid var(--primary);
    color: var(--primary-light);
    background: transparent;
}

.btn-package-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-package-fill {
    background: var(--gradient-1);
    color: var(--white);
    border: none;
}

.btn-package-fill:hover {
    opacity: 0.9;
}