/* =========================================
   SECTION A: HERO & DOMAIN SEARCH STYLES
   ========================================= */

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #7c3aed;
    --accent: #10b981;
    --accent-red: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    /* Animated Gradient Background Variables */
    --gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Animations Keyframes */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    /* প্যাডিং বাড়ানো হয়েছে যাতে হেডারের নিচে টেক্সট না ঢোকে */
    padding: 180px 0 200px; 
    text-align: center;
    position: relative;
    overflow: visible;
    font-family: 'Hind Siliguri', sans-serif;
    z-index: 1;
}

/* Floating Shapes for Glass Effect Background */
.anim-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(to right, #ffffff, #a78bfa);
    top: -50px;
    left: -50px;
    filter: blur(50px);
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(to right, #6366f1, #ffffff);
    bottom: 50px;
    right: -50px;
    filter: blur(60px);
    animation-delay: 1s;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.5;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Text Animations */
.animate-text {
    opacity: 0;
    animation: fadeInDown 1s ease forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.hero h1 span {
    color: #e0e7ff; /* Lighter shade */
    display: inline-block;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-btn {
    background: white;
    color: var(--primary);
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: pulse-glow 2s infinite;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
}
.hero-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
}

/* Wave Shape */
.wave-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}
.wave-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}
.wave-shape .shape-fill {
    fill: #f1f5f9;
}

/* GLASSY EFFECT CONTAINER 
   Wrapper pulls the glass box slightly up into the hero section
*/
.hero-main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    margin-top: -100px; /* Pull up overlap */
    z-index: 10;
    font-family: 'Hind Siliguri', Arial, sans-serif;
}

/* GLASS EFFECT CLASS */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Domain Search Section with Glassy Look */
.domain-search-section {
    border-radius: 24px;
    padding: 50px 40px;
    margin-bottom: 40px;
    text-align: center;
    transition: transform 0.3s ease;
}

.domain-search-title {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}
.domain-search-subtitle {
    color: var(--gray);
    margin-bottom: 35px;
    font-size: 1.15rem;
}

/* Modern Input Form */
.domain-search-form {
    display: flex;
    max-width: 700px;
    margin: 0 auto 35px;
    gap: 12px;
    background: white;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.domain-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: 0.3s;
    background: transparent;
    color: var(--dark);
}
.domain-input:focus {
    outline: none;
}

.domain-search-btn {
    background: var(--primary);
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.domain-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

/* Popular TLDs */
.popular-tlds {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}
.tld-badge {
    background: rgba(255, 255, 255, 0.6);
    color: var(--primary);
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 70, 229, 0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.tld-badge:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.2);
    border-color: var(--primary);
}

/* Domain Result Card */
.domain-result {
    margin-top: 35px;
    padding: 30px;
    border-radius: 16px;
    background: white;
    border: 1px solid #e2e8f0;
    text-align: left;
    animation: fadeInUp 0.6s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.domain-result.available {
    border-left: 5px solid var(--accent);
}
.domain-result.unavailable {
    border-left: 5px solid var(--accent-red);
}

.domain-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.domain-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}
.availability-badge {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}
.available-badge {
    background: #ecfdf5;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.unavailable-badge {
    background: #fef2f2;
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
}

.domain-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}
.register-btn {
    background: var(--accent);
    color: white;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
.register-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}
.view-options-btn {
    background: #eff6ff;
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.view-options-btn:hover {
    background: #dbeafe;
    color: var(--primary-dark);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    
    .hero-main-wrapper { margin-top: -60px; }
    
    .domain-search-form { 
        flex-direction: column; 
        padding: 15px;
        background: transparent;
        box-shadow: none;
        border: none;
    }
    .domain-input {
        background: white;
        margin-bottom: 10px;
        border: 1px solid #e2e8f0;
    }
    .domain-search-btn {
        justify-content: center;
        width: 100%;
    }
    
    .domain-actions { flex-direction: column; }
    .domain-result { padding: 20px; }
    .domain-status { flex-direction: column; align-items: flex-start; gap: 10px; }
}