/* Design System - shadcn/ui inspired */
:root {
    /* Colors */
    --background: 220 25% 25%;
    --background-end: 215 30% 35%;
    --foreground: 210 40% 98%;
    --muted: 217 19% 35%;
    --muted-foreground: 215 20% 65%;
    --accent: 199 89% 48%;
    --accent-hover: 199 89% 55%;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 3rem;
    --font-size-4xl: 4rem;
    
    /* Effects */
    --radius: 0.5rem;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: hsl(var(--foreground));
    background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--background-end)) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Pattern */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    pointer-events: none;
    background-image: 
        linear-gradient(45deg, hsl(var(--muted)) 1px, transparent 1px),
        linear-gradient(-45deg, hsl(var(--muted)) 1px, transparent 1px);
    background-size: 100px 100px;
    background-position: 0 0, 50px 50px;
    z-index: 0;
}

.background-pattern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, hsl(var(--accent) / 0.1) 0%, transparent 50%);
}

/* Layout */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.content {
    max-width: 800px;
    width: 100%;
}

/* Typography */
.name {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: hsl(var(--accent));
    margin-bottom: var(--spacing-2xl);
    letter-spacing: 0.05em;
}

.title {
    font-size: var(--font-size-4xl);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: var(--spacing-2xl);
}

/* Button */
.button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    font-size: var(--font-size-base);
    font-weight: 500;
    color: hsl(var(--foreground));
    background: hsl(var(--accent));
    border: none;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.button:hover {
    background: hsl(var(--accent-hover));
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.button:active {
    transform: translateY(0);
}

.button .icon {
    width: 20px;
    height: 20px;
}

/* Social Links */
.social {
    margin-top: var(--spacing-2xl);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: hsl(var(--muted-foreground));
    transition: var(--transition);
    border-radius: var(--radius);
}

.social-link:hover {
    color: hsl(var(--foreground));
    background: hsl(var(--muted) / 0.3);
}

.social-link .icon {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --font-size-4xl: 2.5rem;
        --font-size-3xl: 2rem;
        --spacing-2xl: 2.5rem;
    }
    
    .container {
        padding: var(--spacing-md);
    }
    
    .title {
        font-size: var(--font-size-3xl);
    }
    
    .subtitle {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
        --spacing-xl: 2rem;
        --spacing-2xl: 2rem;
    }
    
    .name {
        margin-bottom: var(--spacing-xl);
    }
    
    .button {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-sm);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid hsl(var(--accent));
    outline-offset: 4px;
}
