﻿
/* Hero Section - WordPress.com style */
.domain-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 80px;
    color: white;
    text-align: center;
}

    .domain-hero h1 {
        font-size: 56px;
        font-weight: 700;
        margin-bottom: 24px;
        line-height: 1.2;
    }

    .domain-hero .subtitle {
        font-size: 24px;
        font-weight: 400;
        margin-bottom: 40px;
        opacity: 0.95;
    }

    .domain-hero .highlight {
        background: rgba(255,255,255,0.2);
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 16px;
        font-weight: 500;
        display: inline-block;
        margin-bottom: 40px;
    }

/* Search Section */
.search-section {
    background: white;
    padding: 60px 0;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 40px;
}

.search-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    height: 56px;
    font-size: 18px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 0 20px;
    transition: all 0.3s ease;
}

    .search-input:focus {
        outline: none;
        border-color: #fa8c16;
        box-shadow: 0 0 0 3px rgba(250, 140, 22, 0.1);
    }

.search-button {
    height: 56px;
    padding: 0 32px;
    background: #fa8c16;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .search-button:hover {
        background: #e67d0e;
        transform: translateY(-1px);
    }

    .search-button:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
    }

.search-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.example-domain {
    background: #f8f9fa;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .example-domain:hover {
        background: #fa8c16;
        color: white;
    }

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
}

.action-btn {
    padding: 12px 24px;
    border: 2px solid #fa8c16;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #fa8c16;
    color: white;
}

    .btn-primary:hover {
        background: #e67d0e;
        border-color: #e67d0e;
        color: white;
    }

.btn-secondary {
    background: transparent;
    color: #fa8c16;
}

    .btn-secondary:hover {
        background: #fa8c16;
        color: white;
    }

/* Features Section */
.features-section {
    background: #fff;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
    }

.feature-icon {
    width: 60px;
    height: 60px;
    background: #fa8c16;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.pricing-subtitle {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

    .pricing-card:hover {
        background: white;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

.domain-extension {
    font-size: 36px;
    font-weight: 700;
    color: #fa8c16;
    margin-bottom: 12px;
}

.domain-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.domain-price {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

    .domain-price .period {
        font-size: 16px;
        color: #666;
        font-weight: 400;
    }

/* Results Section */
.results-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.result-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .result-card:hover {
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.domain-name {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.domain-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.status-available {
    background: #e8f5e8;
    color: #2d5a2d;
}

.status-taken {
    background: #ffeaea;
    color: #d32f2f;
}

.result-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.result-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .result-features li {
        padding: 8px 0;
        color: #666;
        display: flex;
        align-items: center;
    }

        .result-features li:before {
            content: "✓";
            color: #fa8c16;
            font-weight: bold;
            margin-right: 12px;
            font-size: 16px;
        }

.result-actions {
    text-align: right;
}

.result-price {
    font-size: 32px;
    font-weight: 700;
    color: #fa8c16;
    margin-bottom: 16px;
}

/* Loading */
.loading-spinner {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #fa8c16;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .domain-hero h1 {
        font-size: 40px;
    }

    .domain-hero .subtitle {
        font-size: 20px;
    }

    .search-input-group {
        flex-direction: column;
    }

    .search-button {
        width: 100%;
    }

    .action-buttons {
        flex-direction: column;
    }

    .result-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .result-actions {
        text-align: center;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.search-toggle-btn {
    border: 2px solid #fa8c16;
    outline: none;
    padding: 14px 36px;
    font-size: 18px;
    font-weight: 600;
    background: #fff;
    color: #fa8c16;
    box-shadow: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

    .search-toggle-btn:first-child {
        border-radius: 30px 0 0 30px;
        border-right: none;
    }

    .search-toggle-btn:last-child {
        border-radius: 0 30px 30px 0;
        border-left: none;
    }

    .search-toggle-btn.active {
        background: #fa8c16;
        color: #fff;
    }

.promo-tlds {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    overflow-x: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 4px;
}

.promo-tld-card {
    background: #fff7ef;
    border: 1.5px solid #fa8c16;
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 90px;
    text-align: center;
    color: #fa8c16;
    box-shadow: 0 2px 8px rgba(250,140,22,0.06);
    flex: 0 0 auto;
}

.promo-tld {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #fa8c16;
}

.promo-old {
    font-size: 10px;
    color: #fa8c16;
    text-decoration: line-through;
}

.promo-new {
    font-size: 14px;
    font-weight: 700;
    color: #fa8c16;
}

.trust-section {
    background: #f8f9fa;
    padding: 60px 0 30px 0;
    position: relative;
    overflow: hidden;
}

.trust-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.trust-left {
    flex: 1 1 350px;
    min-width: 320px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.trust-headline {
    font-size: 2.5rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 18px;
    line-height: 1.15;
}

.trust-gradient {
    background: linear-gradient(90deg, #a259ff 0%, #fa8c16 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-rating {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 10px;
}

.trust-right {
    flex: 2 1 500px;
    min-width: 320px;
    margin-left: 40px;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 18px 36px;
    margin-bottom: 24px;
}

.trust-stat-main {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
}

.trust-stat-sub {
    color: #888;
    font-size: 1rem;
}

.trust-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-icon-item {
    font-size: 1rem;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .trust-icon-item i {
        color: #fa8c16;
        font-size: 1.3em;
    }

.trust-laurel-left, .trust-laurel-right {
    position: absolute;
    top: 0;
    width: 180px;
    height: 180px;
    background: url('data:image/svg+xml;utf8,<svg width="180" height="180" viewBox="0 0 180 180" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M90 10C90 10 30 60 30 120C30 180 90 170 90 170" stroke="%23a259ff" stroke-width="8" stroke-opacity="0.12"/><path d="M90 10C90 10 150 60 150 120C150 180 90 170 90 170" stroke="%23fa8c16" stroke-width="8" stroke-opacity="0.12"/></svg>') no-repeat center/contain;
    z-index: 0;
    opacity: 0.7;
}

.trust-laurel-left {
    left: -100px;
}

.trust-laurel-right {
    right: -100px;
}

@media (max-width: 900px) {
    .trust-container {
        flex-direction: column;
        align-items: center;
    }

    .trust-right {
        margin-left: 0;
        margin-top: 30px;
    }

    .trust-laurel-left, .trust-laurel-right {
        display: none;
    }
}
