@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.15);
    --bg-dark: #090d16;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --font-outfit: 'Outfit', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-inter);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Decorative Background Glows */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Header styling */
header {
    padding: 2.5rem 0;
    position: relative;
    z-index: 10;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-outfit);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0 3rem 0;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 99px;
    font-family: var(--font-outfit);
    font-size: 0.875rem;
    font-weight: 600;
    color: #818cf8;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-family: var(--font-outfit);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1.25rem;
}

.hero h1 span {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
    line-height: 1.6;
}

/* Subdomain Grid */
.subdomain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.subdomain-card {
    height: 420px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.25rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.3);
}

.subdomain-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

/* Background images for cards */
.card-restaurant::before {
    background-image: linear-gradient(to bottom, rgba(9, 13, 22, 0.1) 0%, rgba(9, 13, 22, 0.95) 85%), 
                      url('https://images.unsplash.com/photo-1552566626-52f8b828add9?auto=format&fit=crop&q=80&w=800');
}

.card-operations::before {
    background-image: linear-gradient(to bottom, rgba(9, 13, 22, 0.1) 0%, rgba(9, 13, 22, 0.95) 85%), 
                      url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&q=80&w=800');
}

.card-business::before {
    background-image: linear-gradient(to bottom, rgba(9, 13, 22, 0.1) 0%, rgba(9, 13, 22, 0.95) 85%), 
                      url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&q=80&w=800');
}

.card-others::before {
    background-image: linear-gradient(to bottom, rgba(9, 13, 22, 0.1) 0%, rgba(9, 13, 22, 0.95) 85%), 
                      url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=800');
}

/* Card details container */
.card-content {
    position: relative;
    z-index: 2;
    transform: translateY(15px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
    font-family: var(--font-outfit);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.tag-active {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.tag-upcoming {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

.subdomain-card h2 {
    font-family: var(--font-outfit);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.subdomain-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 1.25rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-outfit);
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    transition: gap 0.3s ease;
}

.card-action svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Card Hover States */
.subdomain-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.25);
}

.subdomain-card:hover::before {
    transform: scale(1.06);
}

.subdomain-card:hover .card-content {
    transform: translateY(0);
}

.subdomain-card:hover p {
    opacity: 1;
}

.subdomain-card:hover .card-action {
    gap: 0.75rem;
    color: #a5b4fc;
}

/* Coming Soon Modal styling */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    width: 90%;
    max-width: 480px;
    padding: 3rem 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.modal-header h3 {
    font-family: var(--font-outfit);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-family: var(--font-outfit);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    color: white;
    font-size: 1rem;
    font-family: var(--font-inter);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.submit-btn {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: white;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 20px -10px rgba(99, 102, 241, 0.5);
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 25px -10px rgba(99, 102, 241, 0.6);
}

/* Toast styling */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #10b981;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: var(--font-outfit);
    font-weight: 600;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
    z-index: 2000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Footer styling */
footer {
    margin-top: auto;
    padding: 3rem 0;
    border-top: 1px solid var(--border-glass);
    background: rgba(9, 13, 22, 0.5);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-inner p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-inner a {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-inner a:hover {
    color: #818cf8;
}

@media (max-width: 640px) {
    .subdomain-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 3rem 0 2rem 0;
    }
    
    .modal {
        padding: 2.5rem 1.5rem;
    }
}
