/* Global CSS Variables for Premium Minimalist Aesthetic */
:root {
    --bg-color: #fafbfc;
    --card-bg: rgba(255, 255, 255, 0.75);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --accent-color: #857874; /* Taupe brand color */
    --accent-light: rgba(133, 120, 116, 0.08);
    --border-color: rgba(226, 232, 240, 0.8);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 20px 40px -15px rgba(133, 120, 116, 0.12), 0 1px 5px rgba(133, 120, 116, 0.04);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Premium radial gradient background glow */
body::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    background: radial-gradient(circle at 80% 20%, rgba(133, 120, 116, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(133, 120, 116, 0.03) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    animation: fadeIn 1s ease-out;
}

.brand-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-badge {
    font-size: 0.65rem;
    font-weight: 700;
    background: var(--accent-light);
    color: var(--accent-color);
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(133, 120, 116, 0.15);
}

/* Hero Section */
.hero {
    text-align: center;
    margin: 5rem 0 4rem 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.75rem;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Brand Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card {
    background-color: var(--card-bg);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(133, 120, 116, 0.25);
}

/* Logo Wrapper */
.logo-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s ease;
}

.brand-card:hover .logo-container {
    transform: scale(1.05);
}

.logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Placeholder Logo for Coming Soon */
.logo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    border: 2px dashed var(--border-color);
}

.brand-card:hover .logo-placeholder {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    letter-spacing: -0.3px;
}

.brand-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.card-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-active {
    background-color: rgba(65, 184, 131, 0.08);
    color: #3b8e6b;
    border: 1px solid rgba(65, 184, 131, 0.2);
}

.badge-coming {
    background-color: #f1f5f9;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* About / Footer Info Section */
.footer-info {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    border-top: 1px dashed var(--border-color);
    padding-top: 3rem;
    animation: fadeIn 1.2s ease-out;
}

.footer-info h3 {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer Links & ICP compliance */
footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeIn 1.5s ease-out;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.beian-link {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s ease;
    font-weight: 500;
}

.beian-link:hover {
    color: var(--accent-color);
}

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive adjustments */
@media (max-width: 860px) {
    .brand-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto 4rem auto;
    }
    
    .hero {
        margin: 3.5rem 0 3rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    
    .hero p {
        font-size: 1rem;
    }
}
