/* General styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

/* Enable scrolling only on mobile devices */
@media only screen and (max-width: 768px) {
    body, html {
        overflow-y: auto;
    }
}

/* Header styles */
.header {
    background-color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.header-logo {
    max-height: 40px;
    max-width: 160px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-link {
    color: #4b5563;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-link:hover {
    color: #0065E1;
}

.signup-button {
    background-color: #0065E1;
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 101, 225, 0.25);
}

.signup-button:hover {
    background-color: #0056c8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 101, 225, 0.3);
}

/* Full-screen layout */
.container {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Wave background removed as requested */

/* Top section with gradient background */
.top-section {
    background: linear-gradient(135deg, #0065E1 0%, #1433D6 50%, #000C79 100%);
    min-height: 0;
    height: 25vh;
    padding: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animated background elements */
.bg-element {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    opacity: 0.8;
    animation: float 10s ease-in-out infinite;
}

.bg-element:nth-child(1) {
    top: 15%;
    left: 10%;
    width: 380px;
    height: 380px;
    opacity: 0.3;
    background: radial-gradient(circle at center, rgba(0, 101, 225, 0.4), rgba(0, 12, 121, 0));
    animation-delay: 0s;
}

.bg-element:nth-child(2) {
    bottom: 30%;
    right: 10%;
    width: 250px;
    height: 250px;
    animation-delay: 2s;
    background: radial-gradient(circle at center, rgba(20, 51, 214, 0.3), rgba(0, 12, 121, 0));
}

.bg-element:nth-child(3) {
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    animation-delay: 4s;
    transform: translateX(-50%) translateY(-50%);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
}

/* Content container */
.content-container {
    flex: 0 1 auto;
    background: white;
    border-radius: 15px 15px 0 0;
    margin-top: -15px;
    padding: 10px 0 15px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    z-index: 10;
    display: flex;
    flex-direction: column;
    min-height: 15vh;
    max-height: 70vh;
    overflow-y: auto;
    margin-bottom: 0;
}

/* Adjust content container for mobile to prevent double scrolling */
@media only screen and (max-width: 768px) {
    .content-container {
        max-height: none;
        overflow-y: visible;
    }
}

/* Content sections */
.top-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottom-content {
    padding: 5px 15px 10px;
    background-color: transparent;
}

/* Hero content */
.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-headline {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

/* Domain display */
.domain-display {
    margin: 15px 0;
    text-align: center;
}

.domain-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #4b5563;
    font-weight: 600;
}

.domain-name {
    font-size: 2rem;
    font-weight: 700;
    color: #0065E1;
    padding: 8px 20px;
    background-color: #f3f4f6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 101, 225, 0.1);
    border: 1px solid rgba(0, 101, 225, 0.1);
    letter-spacing: -0.5px;
}

.status-badge {
    display: inline-block;
    background-color: #e6f2ff;
    color: #0065E1;
    padding: 6px 12px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    border: 1px solid rgba(0, 101, 225, 0.2);
}

.status-badge i {
    margin-right: 10px;
    font-size: 18px;
}

/* Typography */
h1, h2, h3, p {
    margin: 0;
}

p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #374151;
    font-weight: 400;
}

/* Footer */
.footer {
    padding: 10px 5px;
    text-align: center;
    border-top: none;
    width: 100%;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

/* Owner CTA styles */
.owner-cta {
    margin: 30px auto 10px;
    padding: 20px 20px;
    background-color: rgba(0, 101, 225, 0.05);
    border-radius: 8px;
    border-left: 4px solid #0065E1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 400px;
    width: 80%;
    text-align: center;
}

.owner-cta h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.owner-cta p {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 8px;
}

.owner-link {
    display: inline-flex;
    align-items: center;
    color: #0065E1;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
    justify-content: center;
}

.owner-link i {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.owner-link:hover {
    color: #0056c8;
}

.owner-link:hover i {
    transform: translateX(3px);
}

/* Responsive styles */
@media only screen and (min-width: 1024px) {
    .container {
        height: 100vh;
        overflow: hidden;
    }
    
    .top-section {
        height: 28vh;
        min-height: 0;
        padding: 10px;
    }
    
    .content-container {
        flex: 0 1 auto;
        padding: 12px 0;
        overflow-y: auto;
        max-height: calc(55vh - 40px);
        margin-bottom: 0;
    }
    
    .top-content {
        padding: 8px;
    }
    
    .bottom-content {
        padding: 8px;
    }
}
    
@media only screen and (max-width: 768px) {
    .top-section {
        height: 40vh;
    }
    
    .domain-name {
        font-size: 1.8rem;
        padding: 8px 20px;
    }
    
    .status-badge {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px) {
    .top-section {
        height: 45vh;
    }
    
    .domain-name {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromBottom {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-in {
    animation: slideInFromBottom 1s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.animate-pulse {
    animation: pulse 2s infinite;
}
