/* PracticePeak Professional CSS Styles
 * Features modern typography, professional color scheme, and responsive design
 */

:root {
    /* Color Palette */
    --blue-50: #f0f5ff;
    --blue-100: #e5edff;
    --blue-200: #cddbfe;
    --blue-500: #3b82f6;
    --blue-600: #1e40af;
    --blue-700: #1e3a8a;  /* Primary: Deep Blue */
    --blue-800: #1e3a8a;
    --blue-900: #1e3597;

    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-500: #14b8a6;  /* Secondary: Teal */
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --orange-400: #fb923c;
    --orange-500: #f97316; /* Accent: Orange */
    --orange-600: #ea580c;

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-secondary: 'DM Sans', 'Arial', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* Base Styles */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #1a1a1a;
    background-color: var(--blue-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--blue-900);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--space-md);
    color: #4a5568;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Navigation */
.nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-700);
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--teal-600);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
    color: white;
    box-shadow: 0 4px 6px rgba(30, 58, 138, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30, 58, 138, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
    color: white;
}

.btn-accent {
    background-color: var(--orange-500);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
    color: white;
    padding: var(--space-2xl) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: white;
    border-radius: 1rem;
    padding: var(--space-xl);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: var(--space-2xl) 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

/* Development Banner */
.dev-banner {
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
    color: white;
    text-align: center;
    padding: var(--space-sm);
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Forms */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--blue-900);
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: var(--transition-fast);
    font-size: 1rem;
}

.form-input:focus {
    border-color: var(--teal-500);
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* Footer */
.footer {
    background-color: var(--blue-900);
    color: white;
    padding: var(--space-2xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.footer-heading {
    color: white;
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
}

.footer-link {
    color: #cbd5e0;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: var(--space-xl) 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--teal-500), var(--blue-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shadow-hover {
    transition: var(--transition-normal);
}

.shadow-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.text-balance {
    text-wrap: balance;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
