/* ============================================
   Package Cards V2 - Premium Design
   hosting.com.tr birebir tasarım
============================================ */

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Grid Container */
.packages-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* Package Card Base */
.pkg-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 24px 20px;
    position: relative;
    transition: all 0.3s ease;
}

.pkg-card:first-child {
    border-radius: 16px 0 0 16px;
}

.pkg-card:last-child {
    border-radius: 0 16px 16px 0;
}

.pkg-card:hover {
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Featured Card */
.pkg-card.featured {
    border: 2px solid #10b981;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.02) 0%, #ffffff 100%);
    z-index: 5;
}

.pkg-card.featured .pkg-buy-btn {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.pkg-card.featured .pkg-buy-btn:hover {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    box-shadow: 0 6px 20px rgba(30, 41, 59, 0.4);
}

/* Free Domain Badge */
.pkg-free-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
}

.pkg-free-badge span {
    font-weight: 400;
    opacity: 0.9;
}

/* ============================================
   Package Name
============================================ */
.pkg-name {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 16px 0;
    line-height: 1.2;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.pkg-card.featured .pkg-name {
    color: #10b981;
}

/* ============================================
   Price Section
============================================ */
.pkg-price-section {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.pkg-price {
    display: flex;
    align-items: flex-start;
    line-height: 1;
}

.pkg-currency {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 10px;
}

.pkg-price-main {
    font-size: 56px;
    font-weight: 900;
    color: #1a1a2e;
    letter-spacing: -2px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.pkg-price-decimal {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 10px;
}

.pkg-price-period {
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    margin-top: 16px;
    margin-left: 4px;
}

.pkg-original-price {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 8px;
}

.pkg-original-price span {
    text-decoration: line-through;
    color: #ef4444;
}

/* ============================================
   Tech Logos
============================================ */
.pkg-tech-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.pkg-tech-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pkg-tech-logo.litespeed {
    color: #1a1a2e;
    font-size: 13px;
    font-weight: 700;
}

.pkg-tech-logo.litespeed svg {
    color: #f59e0b;
}

.pkg-tech-logo.litespeed span {
    font-style: italic;
    letter-spacing: -0.5px;
}

.pkg-tech-logo.cpanel .cpanel-text {
    font-size: 14px;
    font-weight: 700;
    color: #FF6C2C;
    font-style: italic;
}

/* ============================================
   Buy Button
============================================ */
.pkg-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.pkg-buy-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.pkg-buy-btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   Renewal Link
============================================ */
.pkg-renewal-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
    margin-bottom: 20px;
}

.pkg-renewal-link:hover {
    color: #10b981;
}

.pkg-renewal-link svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   Features Section
============================================ */
.pkg-features-section {
    margin-bottom: 16px;
}

.pkg-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.pkg-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pkg-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 13px;
    color: #4b5563;
    border-bottom: 1px solid #f9fafb;
}

.pkg-features-list li:last-child {
    border-bottom: none;
}

/* Feature Icons */
.pkg-feature-icon {
    width: 18px;
    height: 18px;
    color: #6b7280;
    flex-shrink: 0;
}

.pkg-check-icon {
    width: 16px;
    height: 16px;
    color: #10b981;
    flex-shrink: 0;
}

.pkg-shield-icon {
    width: 16px;
    height: 16px;
    color: #ef4444;
    flex-shrink: 0;
}

/* Feature Text */
.pkg-feature-text {
    flex: 1;
    line-height: 1.4;
}

.pkg-feature-text strong {
    color: #1a1a2e;
    font-weight: 700;
}

.pkg-feature-text .highlight {
    color: #7c3aed;
}

.pkg-feature-text .highlight-green {
    color: #10b981;
}

.pkg-feature-text .highlight-gold {
    color: #f59e0b;
}

/* Info Icon */
.pkg-feature-info {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    opacity: 0.4;
    transition: opacity 0.2s;
}

.pkg-feature-info:hover {
    opacity: 1;
}

.pkg-feature-info svg {
    width: 14px;
    height: 14px;
    color: #9ca3af;
}

/* Security Badge */
.pkg-security-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Extra Features */
.pkg-extra-features li {
    padding: 8px 0;
}

/* Security Features */
.pkg-security-features li {
    padding: 8px 0;
}

/* ============================================
   Hover Effects
============================================ */
.pkg-card:hover .pkg-feature-icon {
    color: #10b981;
}

.pkg-card:hover .pkg-section-title {
    color: #10b981;
}

/* ============================================
   Responsive Design
============================================ */
@media (max-width: 1200px) {
    .packages-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 16px;
    }
    
    .pkg-card {
        border-radius: 16px !important;
    }
}

@media (max-width: 768px) {
    .packages-grid-v2 {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pkg-price-main {
        font-size: 48px;
    }
    
    .pkg-price-decimal {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .pkg-card {
        padding: 20px 16px;
    }
    
    .pkg-price-main {
        font-size: 42px;
    }
    
    .pkg-tech-logos {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

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

.pkg-card {
    animation: fadeInUp 0.5s ease forwards;
}

.pkg-card:nth-child(1) { animation-delay: 0.1s; }
.pkg-card:nth-child(2) { animation-delay: 0.2s; }
.pkg-card:nth-child(3) { animation-delay: 0.3s; }
.pkg-card:nth-child(4) { animation-delay: 0.4s; }

/* ============================================
   Dark Mode Support
============================================ */
body.dark-mode .pkg-card {
    background: #1e293b;
    border-color: #334155;
}

body.dark-mode .pkg-price-main,
body.dark-mode .pkg-currency,
body.dark-mode .pkg-price-decimal {
    color: #ffffff;
}

body.dark-mode .pkg-section-title {
    color: #f1f5f9;
}

body.dark-mode .pkg-features-list li {
    color: #cbd5e1;
    border-color: #334155;
}

body.dark-mode .pkg-feature-text strong {
    color: #f1f5f9;
}

body.dark-mode .pkg-feature-icon {
    color: #94a3b8;
}

body.dark-mode .pkg-renewal-link {
    color: #64748b;
}
