/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, Roboto, sans-serif;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: white;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

.left-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 1rem;
}

/* Authentication Buttons */
.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.login-btn {
    color: #555;
    text-decoration: none;
}

.signup-btn {
    background-color: #1a1a1a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    padding: 4rem 2rem;
}

.sell-link {
    display: inline-flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.arrow {
    margin-left: 0.5rem;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero-description {
    font-size: 1.25rem;
    color: #333;
    max-width: 750px;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.get-started-btn {
    background-color: #1a1a1a;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

/* Filter Section */
.filter-section {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 2rem;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
}

.filter-button {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-button.active {
    background-color: #f1f1f1;
    color: #000;
    font-weight: 500;
}

.filter-button.inactive {
    background-color: transparent;
    color: #666;
}

.filter-button:hover {
    background-color: #f1f1f1;
}

/* Main Content Layout */
.main-content {
    display: flex;
    min-height: calc(100vh - 600px);
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    padding: 2rem;
    border-right: 1px solid #f0f0f0;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.categories-list {
    list-style: none;
    padding-bottom: 2rem;
}

.category-item {
    padding: 0.5rem 0.75rem;
    margin: 0.25rem -0.75rem;
    border-radius: 6px;
    cursor: pointer;
    color: #333;
    font-size: 0.9rem;
}

.category-item:hover {
    background-color: #f5f5f5;
}

.category-item.active {
    background-color: #f1f1f1;
    font-weight: 500;
}

/* Domain Grid Layout */
.domains-grid {
    flex: 1;
    padding: 1rem 1rem 0.5rem 1rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: min-content;
    row-gap: 0;
    column-gap: 1rem;
    align-items: start;
    margin-bottom: 50px;
}

/* Domain Card Styles */
.domain-card-wrapper {
    margin-bottom: 0.75rem;
    line-height: 0;
}

.domain-card {
    padding: 0.75rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: white;
    height: 4rem;
    margin: 0;
    line-height: normal;
    transition: all 0.3s ease;
}

.domain-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.domain-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.domain-info {
    flex: 1;
}

.domain-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem;
}

.domain-price {
    color: #666;
    font-size: 0.8rem;
}

.domain-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Domain Table Styles */
.domain-table-container {
    flex: 1;
    padding: 1rem;
    margin: 0;
    background-color: white;
}

.domain-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.domain-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.domain-table-header {
    padding: 16px 24px;
    text-align: left;
    font-weight: 500;
    color: #666;
    border-bottom: 1px solid #e5e5e5;
    white-space: nowrap;
    background-color: #fff;
}

.domain-table-row {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.domain-table-row:hover {
    background-color: #f9f9f9;
}

.domain-table-cell {
    padding: 16px 24px;
    color: #333;
    white-space: nowrap;
}

.domain-table-link-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    margin: 0;
    border: none;
}

.domain-table-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Footer Styles */
.footer {
    background-color: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 4rem;
}

.footer-links-wrapper {
    grid-column: 2 / 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.footer-description {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 0.5rem;
}

.company-social-links a {
    text-decoration: none;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #1a1a1a;
}

/* Newsletter Styles */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 0.9rem;
}

.newsletter-button {
    background-color: #1a1a1a;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.privacy-notice {
    font-size: 0.8rem;
    color: #666;
}

.privacy-notice a {
    color: #1a1a1a;
    text-decoration: none;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.footer-info {
    display: flex;
    gap: 2rem;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Menu Styles */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1000;
}

.burger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 999;
    padding-top: 80px;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.mobile-nav a {
    padding: 1rem 0;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    border-bottom: 1px solid #f0f0f0;
}

.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

.mobile-categories-button {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-left: auto;
}

.mobile-categories-button img {
    width: 20px;
    height: auto;
}

/* Media Queries */
@media (max-width: 1200px) {
    .domains-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .domains-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }
    
    .nav-links,
    .left-section {
        display: none;
    }
    
    .logo-container {
        display: block;
    }
    
    .auth-buttons .login-btn {
        display: none;
    }
    
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .header {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-section {
        padding: 4rem 1rem;
    }

    .filter-section {
        padding: 1rem 1rem;
    }
    
    .sidebar {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 60%;
        height: 100%;
        background: white;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .sidebar.active {
        display: block;
    }

    /* Mobile Table Styles */
    .domain-table-container {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .domain-table {
        width: 100%;
    }

    .domain-table-wrapper {
        overflow-x: hidden;
    }
    
        /* Hide unwanted columns on mobile */
        .domain-table-header[data-column="tld"],
        .domain-table-header[data-column="registrar"],
        .domain-table-header[data-column="x"],
        .domain-table-header[data-column="date"],
        .domain-table-cell[data-column="tld"],
        .domain-table-cell[data-column="registrar"],
        .domain-table-cell[data-column="x"],
        .domain-table-cell[data-column="date"] {
            display: none;
        }

    .domain-table-cell {
        padding: 12px 16px;
        font-size: 0.9rem;
    }


    .domain-table-header {
        padding: 12px 8px;
        font-size: 0.9rem;
    }

    /* Set width for domain and price columns */
    .domain-table-cell[data-column="domain"],
    .domain-table-header[data-column="domain"] {
        width: 70%;
    }

    .domain-table-cell[data-column="price"],
    .domain-table-header[data-column="price"] {
        width: 30%;
    }

    .domain-table-container {
        padding: 0;
    }

    .domain-table-link {
        padding: 12px 16px;
        margin: -12px -16px;
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links-wrapper {
        display: flex;
        gap: 2rem;
    }
    
    .footer-links-wrapper .footer-section {
        flex: 1;
    }
    
    .mobile-categories-button {
        display: inline-flex;
        margin-right: 5px;
    }
}

@media (max-width: 600px) {
    .domains-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-button {
        width: 100%;
    }

    /* Additional mobile table styles */
    .domain-table-cell {
        padding: 10px 6px;
    }

    .domain-table-header {
        padding: 10px 6px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }
}

.hide-on-desktop {
    display: none;
}

.domain-table-cell,
.domain-table-header {
    padding: 12px 10px;
}

@media (min-width: 769px) {
    .footer-links-container {
        display: block;
    }
    
    .footer-links-container .footer-section {
        flex: none;
    }
}

@media (max-width: 768px) {
    .footer-links-container {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }
    
    .footer-links-container .footer-section {
        flex: 1;
    }
}


/* Pricing Section Styles */
.pricing-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pricing-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 5rem;
}

.pricing-card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    position: relative;
    background: white;
}

.pricing-card.featured {
    border: 2px solid #000;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: #000;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.pricing-tier {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.pricing-cost {
    margin-bottom: 1.5rem;
}

.pricing-cost .amount {
    font-size: 2.5rem;
    font-weight: bold;
}

.pricing-cost .period {
    color: #666;
    margin-left: 0.5rem;
}

.pricing-button {
    width: 100%;
    padding: 0.8rem;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 2rem;
}

.pricing-button.light {
    background: #f5f5f5;
    color: #000;
}

.pricing-button.dark {
    background: #000;
    color: white;
}

.pricing-features h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.4;
}

.pricing-features .check-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
    margin-top: 2px;
}

.pricing-features .info-icon {
    margin-left: 0.5rem;
    color: #666;
    cursor: pointer;
}

@media (max-width: 900px) {
    .pricing-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .pricing-section {
        padding: 2rem 1rem;
    }
    
    .pricing-title {
        font-size: 1.75rem;
    }
}

/* Why Sell Section Styles */
.why-sell-section {
    padding: 4rem 2rem 8rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.why-sell-title {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.why-sell-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
}

.icon-container {
    width: 56px;
    height: 56px;
    background-color: white;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    width: 30px;
    height: 30px;
    filter: brightness(0);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.feature-description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-sell-section {
        padding: 4rem 1rem;
    }
    
    .why-sell-title {
        font-size: 2rem;
    }
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 4rem 2rem 8rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-title {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.testimonials-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.testimonial-text {
    color: #333;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.author-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem;
}

.author-title {
    color: #666;
    font-size: 0.9rem;
}

/* Add these media queries to your existing ones */
@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-section {
        padding: 4rem 1rem;
    }
}