/* ========================================
   Homepage Styles
   ======================================== */

/* Import Google Fonts - GoDaddy uses similar fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');

* {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Sticky Search Container */
.sticky-search-container {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 72px;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sticky-search-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
}

.sticky-search-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.sticky-search-nav {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.sticky-search-nav .nav-link {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
}

.sticky-search-nav .nav-link:hover {
    color: #111827;
}

.sticky-search-nav .nav-link.active {
    color: #111827;
    border-bottom-color: #111827;
}

.sticky-search-form {
    max-width: 100%;
}

.sticky-search-box {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
    min-height: 90px; /* ✅ زيادة الارتفاع */
}

.sticky-search-box:focus-within {
    border-color: #1e7b8f;
    box-shadow: 0 0 0 3px rgba(30, 123, 143, 0.1);
}

.sticky-search-input {
    flex: 1;
    padding: 14px 16px;
    font-size: 16px;
    border: none;
    outline: none;
    color: #111827;
    background: transparent;
}

.sticky-search-input::placeholder {
    color: #9ca3af;
}

.sticky-search-btn {
    padding: 14px 20px;
    background: #1e7b8f;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
     min-width: 90px; /* ✅ زيادة الارتفاع */
}

.sticky-search-btn:hover {
    background: #176574;
}

.sticky-search-btn svg {
    display: block;
}

/* Hero Section */
.hero-section {
    background: #f3f4f6;
    padding: 40px 0 60px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #e5e7eb;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: #374151;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-feature {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 8px;
}

.hero-ai {
    font-size: 16px;
    color: #6b7280;
}

/* Hero Right - Promo */
.hero-right {
    position: relative;
}

.promo-visual {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.promo-mockup {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.promo-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

.promo-offer h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 12px;
}

.promo-note {
    font-size: 13px;
    color: #6b7280;
}

/* Info Section - Two Column */
.info-section {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #e5e7eb;
}

.info-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-card {
    padding: 30px;
    background: #f9fafb;
    border-radius: 12px;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 10px 0;
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
}

.info-list li strong {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #1e7b8f;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-right: 8px;
    font-size: 14px;
}

/* Sections */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 20px 0;
}

section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 40px;
}

/* Extensions Section */
.extensions-section {
    background: #f9fafb;
}

.extensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.ext-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ext-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.ext-logo {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ext-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.ext-logo-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    top: 20px;
    left: 20px;
}

.ext-logo-text {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: -2px;
}

.ext-name {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.ext-desc {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ext-pricing {
    margin: 16px 0;
}

.ext-starting {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 500;
}

.ext-price {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1;
}

.ext-old-price {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
}

.ext-note {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
    margin: 8px 0;
    min-height: 32px;
}

.ext-btn {
    width: 100%;
    padding: 14px 24px;
    background: #fff;
    border: 2px solid #111827;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: auto;
}

.ext-btn:hover {
    background: #111827;
    color: #fff;
    transform: scale(1.02);
}

/* Suggestions Grid */
.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.domain-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.domain-card:hover {
    border-color: #00a63f;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.domain-name {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    word-break: break-word;
}

.domain-status {
    font-size: 14px;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 16px;
}

.domain-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.domain-price {
    font-size: 16px;
    font-weight: 700;
    color: #374151;
}

.add-cart-btn {
    padding: 10px 20px;
    background: #00a63f;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.add-cart-btn:hover {
    background: #008c35;
}

/* Features Section */
.features-section {
    background: #f9fafb;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.feature-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #00a63f;
    box-shadow: 0 8px 25px rgba(0, 166, 63, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    background: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.price-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.price-card:hover {
    border-color: #00a63f;
    box-shadow: 0 8px 25px rgba(0, 166, 63, 0.1);
    transform: translateY(-2px);
}

.price-ext {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.price-amount {
    font-size: 20px;
    font-weight: 700;
    color: #00a63f;
    margin-bottom: 8px;
}

.price-desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

.price-btn {
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: 2px solid #00a63f;
    color: #00a63f;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.price-btn:hover {
    background: #00a63f;
    color: #fff;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #00a63f 0%, #008c35 100%);
    padding: 60px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-text h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 8px;
}

.cta-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    padding: 16px 40px;
    background: #fff;
    color: #00a63f;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive for Sticky Search */
@media (max-width: 1024px) {
    .sticky-search-inner {
        padding: 16px 24px;
    }
    
    .sticky-search-nav {
        overflow-x: auto;
        scrollbar-width: none;
    }
    
    .sticky-search-nav::-webkit-scrollbar {
        display: none;
    }
    
    .hero-main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sticky-search-container {
        top: 64px;
    }
    
    .sticky-search-nav .nav-link {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .sticky-search-box {
        border-radius: 6px;
    }
    
    .sticky-search-input {
        padding: 16px;
        font-size: 16px;
    }
    
    .sticky-search-btn {
        padding: 16px 24px;
    }
    
    .hero-section {
        padding: 30px 0 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .extensions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ext-card {
        padding: 28px 20px;
    }
    
    .ext-logo {
        width: 120px;
        height: 120px;
    }
    
    .ext-logo-text {
        font-size: 40px;
    }
    
    .ext-name {
        font-size: 28px;
    }
    
    .ext-price {
        font-size: 32px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .extensions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sticky-search-inner,
    .hero-container,
    .info-container {
        padding: 16px 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .promo-offer h3 {
        font-size: 20px;
    }
}