* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: #0A0A14;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A0A14 0%, #1a1a2e 50%, #0A0A14 100%);
    padding: 3rem 2rem;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.domain-name {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(0, 245, 212, 0.3);
}

.hero-tagline {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    color: #FFE156;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Bubble Container */
.bubble-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.1), transparent);
    box-shadow: inset 0 0 15px rgba(0, 245, 212, 0.15), 0 0 20px rgba(0, 245, 212, 0.1);
}

/* Bubble Animation */
@keyframes float-up {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) translateX(var(--drift));
        opacity: 0;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: inset 0 0 15px rgba(0, 245, 212, 0.15), 0 0 20px rgba(0, 245, 212, 0.1);
    }
    50% {
        box-shadow: inset 0 0 20px rgba(0, 245, 212, 0.25), 0 0 30px rgba(0, 245, 212, 0.2);
    }
}

/* Card Grid */
.card-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background-color: #0A0A14;
    max-width: 100%;
}

/* Cards */
.card {
    position: relative;
    border-radius: 1rem;
    background: rgba(20, 20, 40, 0.6);
    border: 1px solid rgba(0, 245, 212, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(0, 245, 212, 0.5);
    background: rgba(20, 20, 40, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 245, 212, 0.15);
}

.card-header {
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.card-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    margin: 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.card:hover .card-title {
    border-bottom-color: #FFE156;
    color: #FFE156;
}

.card-body {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #8A8A9A;
    padding: 0;
}

.card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #FFE156, #FF2D7B, #00F5D4);
    animation: color-shift 6s ease infinite;
}

.card:nth-child(1) .card-accent {
    background: linear-gradient(90deg, #FFE156, #FF2D7B, #00F5D4);
}

.card:nth-child(2) .card-accent {
    background: linear-gradient(90deg, #00F5D4, #FFE156, #FF2D7B);
}

.card:nth-child(3) .card-accent {
    background: linear-gradient(90deg, #FF2D7B, #00F5D4, #FFE156);
}

.card:nth-child(n+4) .card-accent {
    background: linear-gradient(90deg, #FFE156, #FF2D7B, #00F5D4);
}

@keyframes color-shift {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
        padding: 1.5rem;
    }

    .domain-name {
        font-size: clamp(2rem, 6vw, 4rem);
    }

    .hero-section {
        min-height: 40vh;
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .card {
        min-height: 200px;
        padding: 1rem;
    }

    .domain-name {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .hero-section {
        min-height: 35vh;
        padding: 1.5rem 1rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0A0A14;
}

::-webkit-scrollbar-thumb {
    background: #F0F0F5;
    border-radius: 4px;
    opacity: 0.3;
}

::-webkit-scrollbar-thumb:hover {
    opacity: 0.5;
}
