/*
 * Whois Domain Cards - Gradient Border & Modern Design
 * Whois sorgulama sayfası domain kartları için modern tasarım
 */

/* Domain Cards with Gradient Border */
.whois-domain-card {
    position: relative;
    border: none !important;
    background: white;
    transition: all 0.4s ease;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: visible;
}

/* Gradient Border Effect */
.whois-domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 3px;
    background: linear-gradient(135deg, #160f3e 0%, #d4af37 50%, #ffd700 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.whois-domain-card:hover::before {
    opacity: 1;
    padding: 3.5px;
    background: linear-gradient(135deg, #160f3e 0%, #d4af37 50%, #ffd700 100%);
}

/* Domain Icon Container */
.domain-icon-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.4s ease;
}

.whois-domain-card:hover .domain-icon-container {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.domain-icon-container i {
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
}

.whois-domain-card:hover .domain-icon-container i {
    transform: scale(1.1);
}

/* Different gradient for each card */
.whois-domain-card:nth-child(1) .domain-icon-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.whois-domain-card:nth-child(2) .domain-icon-container {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.whois-domain-card:nth-child(3) .domain-icon-container {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.whois-domain-card:nth-child(4) .domain-icon-container {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Card Body */
.whois-domain-card .card-body {
    position: relative;
    z-index: 1;
    padding: 2rem 1.5rem;
}

/* Domain Extension Title */
.whois-domain-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.whois-domain-card:nth-child(1) h3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.whois-domain-card:nth-child(2) h3 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.whois-domain-card:nth-child(3) h3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.whois-domain-card:nth-child(4) h3 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Price Badge */
.whois-price-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.whois-domain-card:nth-child(1) .whois-price-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.whois-domain-card:nth-child(2) .whois-price-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.whois-domain-card:nth-child(3) .whois-price-badge {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.whois-domain-card:nth-child(4) .whois-price-badge {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.whois-domain-card:hover .whois-price-badge {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Description Text */
.whois-domain-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

/* Buttons */
.whois-card-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.whois-card-buttons .btn {
    flex: 1;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.whois-card-buttons .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

.whois-domain-card:nth-child(1) .whois-card-buttons .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.whois-domain-card:nth-child(2) .whois-card-buttons .btn-primary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.whois-domain-card:nth-child(3) .whois-card-buttons .btn-primary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.whois-domain-card:nth-child(4) .whois-card-buttons .btn-primary {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.whois-card-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.whois-card-buttons .btn-outline-primary {
    background: transparent;
    border-color: #667eea;
    color: #667eea;
}

.whois-domain-card:nth-child(1) .whois-card-buttons .btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
}

.whois-domain-card:nth-child(2) .whois-card-buttons .btn-outline-primary {
    border-color: #f093fb;
    color: #f093fb;
}

.whois-domain-card:nth-child(3) .whois-card-buttons .btn-outline-primary {
    border-color: #4facfe;
    color: #4facfe;
}

.whois-domain-card:nth-child(4) .whois-card-buttons .btn-outline-primary {
    border-color: #43e97b;
    color: #43e97b;
}

.whois-card-buttons .btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.whois-domain-card:nth-child(1) .whois-card-buttons .btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.whois-domain-card:nth-child(2) .whois-card-buttons .btn-outline-primary:hover {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.whois-domain-card:nth-child(3) .whois-card-buttons .btn-outline-primary:hover {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.whois-domain-card:nth-child(4) .whois-card-buttons .btn-outline-primary:hover {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Hover Effect */
.whois-domain-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.25);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .whois-domain-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .whois-domain-card .card-body {
        padding: 1.5rem 1rem;
    }

    .domain-icon-container {
        width: 60px;
        height: 60px;
    }

    .domain-icon-container i {
        font-size: 28px;
    }

    .whois-domain-card h3 {
        font-size: 1.75rem;
    }

    .whois-card-buttons {
        flex-direction: column;
    }

    .whois-card-buttons .btn {
        width: 100%;
    }
}

/* Price Label */
.price-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    display: block;
}

/* TL Currency */
.currency-tl {
    font-size: 1.1rem;
    font-weight: 700;
}

/* ========================================
   Free Features Section - Modern UI Icons
   ======================================== */

/* Modern Feature Card with UI Icons */
.whois-feature-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.4s ease;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.whois-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

/* Modern Icon Container */
.feature-icon-modern {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.whois-feature-card:hover .feature-icon-modern {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-icon-modern i {
    font-size: 36px;
    color: white;
    transition: all 0.3s ease;
}

.whois-feature-card:hover .feature-icon-modern i {
    transform: scale(1.15);
}

/* Different colors for each feature */
.whois-feature-card:nth-child(1) .feature-icon-modern {
    background: #160f3e;
    box-shadow: 0 8px 25px rgba(22, 15, 62, 0.3);
}

.whois-feature-card:nth-child(2) .feature-icon-modern {
    background: #160f3e;
    box-shadow: 0 8px 25px rgba(22, 15, 62, 0.3);
}

.whois-feature-card:nth-child(3) .feature-icon-modern {
    background: #160f3e;
    box-shadow: 0 8px 25px rgba(22, 15, 62, 0.3);
}

.whois-feature-card:nth-child(4) .feature-icon-modern {
    background: #160f3e;
    box-shadow: 0 8px 25px rgba(22, 15, 62, 0.3);
}

.whois-feature-card:nth-child(5) .feature-icon-modern {
    background: #160f3e;
    box-shadow: 0 8px 25px rgba(22, 15, 62, 0.3);
}

.whois-feature-card:nth-child(6) .feature-icon-modern {
    background: #160f3e;
    box-shadow: 0 8px 25px rgba(22, 15, 62, 0.3);
}

/* Feature Title */
.whois-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a !important;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.whois-feature-card:hover .whois-feature-title {
    color: #000000 !important;
}

/* Feature Description */
.whois-feature-description {
    color: #495057 !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Feature Cards */
@media (max-width: 991px) {
    .whois-feature-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .whois-feature-card {
        padding: 1.5rem 1.25rem;
    }

    .feature-icon-modern {
        width: 70px;
        height: 70px;
    }

    .feature-icon-modern i {
        font-size: 32px;
    }

    .whois-feature-title {
        font-size: 1.1rem;
    }

    .whois-feature-description {
        font-size: 0.9rem;
    }
}

/* ========================================
   Domain Protection Section - Modern UI
   ======================================== */

/* Modern Protection Card */
.protection-card-modern {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.protection-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
}

.protection-card-modern:hover::before {
    width: 100%;
    opacity: 0.05;
}

.protection-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

/* Icon Container with Modern Design */
.protection-icon-modern {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.protection-card-modern:hover .protection-icon-modern {
    transform: scale(1.1) rotate(-5deg);
}

.protection-icon-modern svg {
    width: 35px;
    height: 35px;
    transition: all 0.3s ease;
}

.protection-card-modern:hover .protection-icon-modern svg {
    transform: scale(1.1);
}

/* Different colors for each card */
.protection-card-modern:nth-child(1) .protection-icon-modern {
    background: #160f3e;
    box-shadow: 0 8px 20px rgba(22, 15, 62, 0.3);
}

.protection-card-modern:nth-child(1)::before {
    background: #160f3e;
}

.protection-card-modern:nth-child(2) .protection-icon-modern {
    background: #160f3e;
    box-shadow: 0 8px 20px rgba(22, 15, 62, 0.3);
}

.protection-card-modern:nth-child(2)::before {
    background: #160f3e;
}

.protection-card-modern:nth-child(3) .protection-icon-modern {
    background: #160f3e;
    box-shadow: 0 8px 20px rgba(22, 15, 62, 0.3);
}

.protection-card-modern:nth-child(3)::before {
    background: #160f3e;
}

.protection-card-modern:nth-child(4) .protection-icon-modern {
    background: #160f3e;
    box-shadow: 0 8px 20px rgba(22, 15, 62, 0.3);
}

.protection-card-modern:nth-child(4)::before {
    background: #160f3e;
}

/* Protection Title */
.protection-title-modern {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.protection-card-modern:hover .protection-title-modern {
    color: #160f3e;
}

/* Protection Description */
.protection-description-modern {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Content Wrapper */
.protection-content-wrapper {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

/* Image Section */
.protection-image-wrapper {
    position: relative;
    animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.protection-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(22, 15, 62, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .protection-content-wrapper {
        flex-direction: column-reverse;
    }

    .protection-image-wrapper {
        margin: 0 auto 2rem;
    }
}

@media (max-width: 767px) {
    .protection-card-modern {
        padding: 1.5rem;
    }

    .protection-content-wrapper {
        gap: 1rem;
    }

    .protection-icon-modern {
        width: 60px;
        height: 60px;
    }

    .protection-icon-modern svg {
        width: 30px;
        height: 30px;
    }

    .protection-title-modern {
        font-size: 1.1rem;
    }

    .protection-description-modern {
        font-size: 0.9rem;
    }
}
