/* Avalu App - Emerald Horizon Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --bg-primary: #0F172A;
    /* Obsidian */
    --bg-secondary: #020617;
    --accent-primary: #10B981;
    /* Emerald Green */
    --accent-secondary: #F59E0B;
    /* Amber Gold */
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --border-light: rgba(16, 185, 129, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --glow: 0 0 30px rgba(16, 185, 129, 0.15);
    --gradient-hero: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --gradient-surface: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    margin: 0;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Backgrounds */
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 0%, #1e293b 0%, var(--bg-primary) 50%);
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 25%);
    z-index: -1;
    pointer-events: none;
}

/* Typography & Branding */
.brand-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo span {
    background: var(--gradient-hero);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-container {
    padding: 2.5rem 0;
    text-align: left;
    position: relative;
    z-index: 10;
}

/* Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Left Side: Content */
.content-side {
    padding: 4rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 5;
    background: var(--bg-primary);
}

.content-side::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Right Side: Visual */
.visual-side {
    position: relative;
    background: var(--bg-secondary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-image-split {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1542332213-31f87348057f?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    filter: brightness(0.6) contrast(1.2) saturate(0.8);
    transition: transform 8s ease;
}

.visual-side:hover .bg-image-split {
    transform: scale(1.05);
}

/* Overlay gradient on image */
.visual-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-primary) 0%, rgba(15, 23, 42, 0.4) 30%, rgba(16, 185, 129, 0.1) 100%);
    z-index: 2;
}

/* Typography styles */
.display-super {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.display-super span {
    background: var(--gradient-hero);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.display-medium {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 700;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 2.5rem;
    align-self: flex-start;
}

.description-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 4rem;
}

/* Email/Footer Area */
.email-minimal-wrapper {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.email-label-sm {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.email-link-lg {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link-lg:hover {
    color: var(--accent-primary);
}

/* Form Styling */
.contact-form-container {
    padding: 2rem;
    background: var(--gradient-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.form-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    padding: 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.2s ease;
    width: 100%;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.submit-btn {
    background: var(--gradient-hero);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4), 0 0 15px rgba(245, 158, 11, 0.2);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-message .success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-hero);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reset-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    border-radius: 6px;
    transition: all 0.3s;
    margin-top: 1.5rem;
    cursor: pointer;
}

.reset-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

    .visual-side {
        height: 300px;
        order: -1;
    }

    .content-side {
        padding: 3rem 1.5rem;
    }

    .content-side::after {
        display: none;
    }
}