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

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --gr-bg-deep: #0B0F19;
    --gr-bg-surface: #151B2B;
    --gr-bg-surface-hover: #1E293B;
    
    --gr-color-pink: #ec4899;
    --gr-color-purple: #8b5cf6;
    
    --gr-primary: linear-gradient(135deg, var(--gr-color-pink) 0%, var(--gr-color-purple) 100%);
    --gr-primary-hover: linear-gradient(135deg, #f472b6 0%, #a78bfa 100%);
    
    /* Text colors */
    --gr-text-main: #F8FAFC;
    --gr-text-muted: #94A3B8;
    
    --gr-font-heading: 'Outfit', sans-serif;
    --gr-font-body: 'Inter', sans-serif;
    
    /* Glows & Shadows */
    --gr-glow-primary: 0 10px 25px -5px rgba(236, 72, 153, 0.4);
    --gr-glow-purple: 0 10px 25px -5px rgba(139, 92, 246, 0.4);
    --gr-shadow-surface: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    
    /* Borders */
    --gr-border-color: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    font-family: var(--gr-font-body);
    color: var(--gr-text-main);
    background-color: var(--gr-bg-deep);
    -webkit-font-smoothing: antialiased;
}

/* Gradient Utilities */
.gr-text {
    background: var(--gr-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gr-bg {
    background: var(--gr-primary);
}

.gr-surface {
    background: var(--gr-bg-surface);
    border: 1px solid var(--gr-border-color);
    box-shadow: var(--gr-shadow-surface);
    border-radius: 16px;
}

/* Global Buttons */
.gr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--gr-font-body);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 0.5rem;
}

.gr-btn-primary {
    background: var(--gr-primary);
    color: white;
    box-shadow: var(--gr-glow-primary);
}

.gr-btn-primary:hover {
    background: var(--gr-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(236, 72, 153, 0.5);
}

/* Gradient Border Button Trick */
.gr-btn-outline {
    background: var(--gr-bg-deep);
    color: var(--gr-text-main);
    position: relative;
    z-index: 1;
    border: 1px solid transparent;
}

.gr-btn-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px; /* Border thickness */
    background: var(--gr-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.gr-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--gr-glow-purple);
}

.gr-btn-ghost {
    background: transparent;
    color: var(--gr-text-muted);
}

.gr-btn-ghost:hover {
    color: var(--gr-text-main);
    background: rgba(255, 255, 255, 0.05);
}

.gr-btn-circle {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gr-btn-block {
    width: 100%;
}

/* Global Form Inputs */
.gr-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-family: var(--gr-font-body);
    font-size: 0.95rem;
    color: var(--gr-text-main);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--gr-border-color);
    outline: none;
    transition: all 0.3s ease;
}

.gr-input::placeholder {
    color: var(--gr-text-muted);
    opacity: 0.6;
}

.gr-input:focus {
    border-color: var(--gr-color-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

.gr-label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gr-text-muted);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--gr-font-heading);
    margin: 0;
    color: #FFFFFF;
}

p {
    line-height: 1.6;
    margin: 0;
    color: var(--gr-text-muted);
}
