/* ==========================================================================
   Design System & Custom Properties (Light Theme)
   ========================================================================== */
:root {
    --bg-light: #fafaf9;      /* Stone 50 */
    --bg-card: rgba(255, 255, 255, 0.75);
    --border-card: rgba(28, 25, 23, 0.06);
    --border-hover: rgba(22, 163, 74, 0.25);
    
    --primary: #16a34a;       /* Green 600 */
    --primary-glow: rgba(22, 163, 74, 0.15);
    --accent: #d97706;        /* Amber 600 (Gold accent) */
    
    --text-main: #1c1917;     /* Stone 900 */
    --text-muted: #57534e;    /* Stone 600 */
    --text-dark: #78716c;     /* Stone 500 */
    
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: var(--bg-light);
    font-family: var(--font-body);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Animated Background Elements (Soft Light Theme Blobs)
   ========================================================================== */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    background-color: var(--bg-light);
    overflow: hidden;
}

/* Float Blobs using pseudo-elements */
.bg-mesh::before, .bg-mesh::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* Blob 1: Muted Golf Green top left */
.bg-mesh::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.06) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation: floatBlobOne 28s infinite alternate ease-in-out;
}

/* Blob 2: Muted Amber Gold bottom right */
.bg-mesh::after {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.05) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation: floatBlobTwo 22s infinite alternate ease-in-out;
}

/* Grid Overlay & 3rd Blob */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-image: 
        linear-gradient(rgba(28, 25, 23, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 25, 23, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    pointer-events: none;
}

.bg-grid::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.45;
    mix-blend-mode: multiply;
    background: radial-gradient(circle, rgba(132, 204, 22, 0.05) 0%, transparent 70%);
    top: 40%;
    left: 45%;
    animation: floatBlobThree 25s infinite alternate ease-in-out;
    pointer-events: none;
}

/* ==========================================================================
   Layout & Typography
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Glassmorphism Card styling */
.card {
    position: relative;
    width: 100%;
    max-width: 580px;
    padding: 60px 40px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: 28px;
    box-shadow: 
        0 15px 35px -5px rgba(28, 25, 23, 0.04),
        0 5px 15px -5px rgba(28, 25, 23, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    animation: cardIntro 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Soft Glow Border Effect on Card Hover */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--primary), var(--accent)) border-box;
    -webkit-mask: 
      linear-gradient(#fff 0 0) padding-box, 
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.card:hover::after {
    opacity: 0.35;
}

/* ==========================================================================
   Interactive & Floating Components
   ========================================================================== */

/* Status Badge (Green Outline Style) */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(22, 163, 74, 0.05);
    border: 1px solid rgba(22, 163, 74, 0.15);
    border-radius: 100px;
    margin-bottom: 35px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.4s forwards;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 0 0 var(--primary-glow);
    animation: dotPulse 2.5s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

.badge-text {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #15803d; /* Green 700 */
}

/* Logo Image Styling */
.logo-container {
    width: 85px;
    height: 85px;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.2s forwards;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-container:hover .logo {
    transform: scale(1.08) rotate(3deg);
}

/* Text Styling */
.title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text-main);
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 440px;
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.subtitle span {
    font-weight: 600;
    color: var(--text-main);
    position: relative;
    display: inline-block;
}

.subtitle span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 4px;
    background-color: rgba(22, 163, 74, 0.15);
    z-index: -1;
    border-radius: 2px;
}

/* ==========================================================================
   Contact Area
   ========================================================================== */
.contact-box {
    width: 100%;
    max-width: 440px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.contact-desc {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Premium Button Link Styling */
.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1c1917; /* Stone 900 */
    border: 1px solid #1c1917;
    border-radius: 14px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 14px 28px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(28, 25, 23, 0.08);
    width: 100%;
    max-width: 320px;
}

.contact-button:hover {
    background: #292524; /* Stone 800 */
    border-color: #292524;
    transform: translateY(-1.5px);
    box-shadow: 0 8px 20px rgba(28, 25, 23, 0.15);
}

.contact-button:active {
    transform: translateY(0.5px);
}

.btn-icon {
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.contact-button:hover .btn-icon {
    transform: scale(1.1);
    color: var(--primary);
}

/* ==========================================================================
   Footer & Social Links
   ========================================================================== */
.footer {
    margin-top: auto;
    width: 100%;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.9s forwards;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.social-icon {
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.copyright {
    font-size: 11px;
    color: var(--text-dark);
    letter-spacing: 0.03em;
}

/* ==========================================================================
   Keyframes & Animations
   ========================================================================== */
@keyframes floatBlobOne {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(80px, 60px) scale(1.1);
    }
    100% {
        transform: translate(-40px, 120px) scale(0.95);
    }
}

@keyframes floatBlobTwo {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-100px, -80px) scale(0.9);
    }
    100% {
        transform: translate(50px, -40px) scale(1.05);
    }
}

@keyframes floatBlobThree {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(60px, -60px) scale(1.05);
    }
    100% {
        transform: translate(-60px, 40px) scale(0.9);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes dotPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(22, 163, 74, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
    }
}

/* ==========================================================================
   Responsive Settings
   ========================================================================== */
@media (max-width: 640px) {
    .card {
        padding: 45px 24px;
        border-radius: 20px;
    }
    
    .title {
        font-size: 32px;
    }
    
    .subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .logo-container {
        width: 75px;
        height: 75px;
        margin-bottom: 20px;
    }
    
    .status-badge {
        margin-bottom: 25px;
    }
    
    .contact-button {
        padding: 12px 24px;
        font-size: 13.5px;
    }
}
