:root {
    /* Colors */
    --primary-color: #3D5AFE;
    --secondary-color: #5C6BC0;
    --accent-color: #00E5FF;
    --dark-color: #1E293B;
    --light-color: #FFFFFF;
    --gray-color: #F1F5F9;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    
    /* Effects */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease-in-out;
    --mobile-menu-width: 320px;
    
    /* Gradients */
    --gradient: linear-gradient(135deg, #3D5AFE, #00E5FF);
    --top-bar-bg: #EAF6FF;
    --top-bar-text: #1F2937;
    
    /* Spacing */
    --container-padding: 0 20px;
    --nav-height: 80px;
    --top-bar-height: 45px;
    --radius: 12px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Text */
.hero-text {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.highlight {
    color: #ffd700;
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.6;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.icon {
    background: rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Domain Search */
.domain-search {
    display: flex;
    justify-content: center;
}

.search-box {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.search-box h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
    color: #333;
}

/* Search Form */
.input-group {
    display: flex;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.domain-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
    background: #f8f9fa;
}

.extension-select {
    padding: 16px 12px;
    border: none;
    border-left: 1px solid #e2e8f0;
    background: #f8f9fa;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    min-width: 80px;
}

.search-btn {
    padding: 16px 24px;
    background: #667eea;
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #5a67d8;
}

/* Pricing */
.pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.ext {
    font-weight: 600;
    color: #667eea;
}

.price {
    font-weight: 500;
    color: #666;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .features {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .search-box {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .extension-select {
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }
    
    .pricing {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .search-box {
        padding: 24px 16px;
    }
    
    .domain-input,
    .extension-select,
    .search-btn {
        padding: 14px 16px;
    }
}

/* Focus States */
.domain-input:focus,
.extension-select:focus {
    background: white;
}

.input-group:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Animation */
.hero-text,
.search-box {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-box {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 100px;
}

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
}

.feature-description {
    font-size: 1rem;
    color: #718096;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #667eea;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #718096;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 80px;
    }
    
    .feature-card {
        padding: 32px 24px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .stats-section {
        padding: 40px 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 28px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Animation on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Focus states for accessibility */
.feature-card:focus {
    outline: 2px solid #667eea;
    outline-offset: 4px;
}

/* Loading animation for stats */
.stat-number {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for better interaction */
.stat-item:hover .stat-number {
    color: #764ba2;
    transform: scale(1.05);
    transition: all 0.3s ease;
}


/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: white;
}

/* Extensions Grid */
.extensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.extension-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.extension-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.extension-card.popular {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: scale(1.05);
}

.extension-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #1a202c;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.extension-header {
    margin-bottom: 24px;
}

.extension-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.extension-card.popular .extension-name {
    color: white;
}

.extension-desc {
    font-size: 1rem;
    color: #718096;
    font-weight: 500;
}

.extension-card.popular .extension-desc {
    color: rgba(255, 255, 255, 0.8);
}

.extension-price {
    margin-bottom: 32px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #667eea;
}

.extension-card.popular .price {
    color: white;
}

.period {
    font-size: 1rem;
    color: #718096;
    font-weight: 500;
}

.extension-card.popular .period {
    color: rgba(255, 255, 255, 0.8);
}

.extension-features {
    margin-bottom: 32px;
    text-align: left;
}

.feature {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #4a5568;
    display: flex;
    align-items: center;
}

.extension-card.popular .feature {
    color: rgba(255, 255, 255, 0.9);
}

.feature::before {
    content: '✓';
    color: #48bb78;
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.1rem;
}

.extension-card.popular .feature::before {
    color: #ffd700;
}

.register-btn {
    width: 100%;
    padding: 16px 24px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.extension-card.popular .register-btn {
    background: white;
    color: #667eea;
}

.extension-card.popular .register-btn:hover {
    background: #f7fafc;
    color: #5a67d8;
}

/* More Extensions */
.more-extensions {
    text-align: center;
    padding: 60px 40px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.more-extensions h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 32px;
}

.extensions-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.ext-item {
    background: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    color: #667eea;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.ext-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.view-all-btn {
    padding: 16px 32px;
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-section {
        padding: 80px 0;
    }
    
    .extensions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .extension-card {
        padding: 28px 20px;
    }
    
    .extension-card.popular {
        transform: none;
    }
    
    .extension-card.popular:hover {
        transform: translateY(-8px);
    }
    
    .extension-name {
        font-size: 2rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .more-extensions {
        padding: 40px 24px;
    }
    
    .more-extensions h3 {
        font-size: 1.5rem;
    }
    
    .extensions-list {
        gap: 12px;
    }
    
    .ext-item {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .extension-card {
        padding: 24px 16px;
    }
    
    .extension-name {
        font-size: 1.8rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .register-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .more-extensions {
        padding: 32px 20px;
    }
    
    .view-all-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

/* Animation */
.extension-card {
    animation: fadeInUp 0.6s ease-out;
}

.extension-card:nth-child(1) { animation-delay: 0.1s; }
.extension-card:nth-child(2) { animation-delay: 0.2s; }
.extension-card:nth-child(3) { animation-delay: 0.3s; }
.extension-card:nth-child(4) { animation-delay: 0.4s; }
.extension-card:nth-child(5) { animation-delay: 0.5s; }
.extension-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus states */
.register-btn:focus,
.view-all-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.ext-item:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}
