/* Medignify Website Styles - Based on Design System */

/* Import Outfit Font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* CSS Variables - Color Palette */
:root {
    /* Primary Colors */
    --primary: #FE4F18;
    --secondary: #161A25;
    --tertiary-start: #FFC934;
    --tertiary-end: #FE4F18;
    --accent: #E39DFB;
    
    /* Text Colors */
    --on-primary: #FFFFFF;
    --on-secondary: #FFFFFF;
    --on-tertiary: #FFFFFF;
    
    /* Container Colors */
    --primary-container: #FFECE7;
    --secondary-container: #7B8194;
    --tertiary-container: #7B8194;
    
    /* Container Text Colors */
    --on-primary-container: #CA3600;
    --on-secondary-container: #161A25;
    --on-tertiary-container: #161A25;
    
    /* Additional Text Colors */
    --text-secondary: #7B8194;
    --text-tertiary: rgba(123, 129, 148, 0.7);
    
    /* Surface Colors */
    --surface: #FFFFFF;
    --surface-variant: #F5F5F5;
    --outline: #E0E0E0;
}

/* Typography System - Based on Design Screenshots */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    color: var(--secondary);
    background: linear-gradient(135deg, var(--tertiary-start) 0%, var(--tertiary-end) 50%, var(--accent) 100%);
    min-height: 100vh;
}

/* Typography Classes Based on Design System */

/* HEADLINE STYLES */
.headline-large {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0px;
}

.headline-medium {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 0px;
}

.headline-small {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0px;
}

.headline-small-emphasized {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 0px;
}

/* TITLE STYLES */
.title-large {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0px;
}

.title-large-emphasized {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0px;
}

.title-medium {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
}

.title-small {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
}

/* LABEL STYLES */
.label-large {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
}

.label-medium {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
}

.label-small {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.01em;
}

.label-small-emphasized {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* BODY STYLES */
.body-large {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
}

.body-large-emphasized {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
}

.body-medium {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
}

.body-medium-emphasized {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
}

.body-small {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.01em;
}

.body-small-emphasized {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.01em;
}

/* LAYOUT STYLES */
.home-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.page-layout {
    padding: 40px 20px;
}

/* CONTAINER STYLES */
.container {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(22, 26, 37, 0.1);
    width: 100%;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.home-container {
    max-width: 600px;
    text-align: center;
}

.page-container {
    max-width: 800px;
    margin: 0 auto;
}


/* HEADER STYLES */
.header {
    text-align: center;
    margin-bottom: 40px;
}

/* LOGO AND BRANDING */
.logo {
    color: var(--primary);
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--primary), var(--tertiary-start));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-subtitle, .tagline {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.tagline {
    margin-bottom: 20px;
    font-style: italic;
}

.page-title {
    color: var(--secondary);
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-secondary);
}

/* CONTENT STYLES */
.content {
    color: var(--secondary);
}

.content h2 {
    color: var(--primary);
    margin: 30px 0 15px 0;
}

.content h3 {
    color: var(--on-primary-container);
    margin: 25px 0 10px 0;
}

.content p {
    margin-bottom: 15px;
}

.content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.content li {
    margin-bottom: 8px;
}

/* BADGE AND MESSAGES */
.construction-badge {
    display: inline-block;
    background: var(--primary-container);
    color: var(--on-primary-container);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
}

.main-message {
    color: var(--secondary);
    margin-bottom: 20px;
}

/* BOXES AND CONTAINERS */
.contact-info, .contact-section {
    background: var(--primary-container);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

.highlight-box {
    background: var(--primary-container);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
}

.mission-box {
    background: linear-gradient(135deg, var(--primary-container) 0%, rgba(255, 201, 52, 0.1) 100%);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: center;
    border: 2px solid var(--primary);
}

.mission-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.mission-box p {
    color: var(--secondary);
}

/* VALUES GRID */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.value-card {
    background: var(--primary-container);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.value-card h4 {
    color: var(--on-primary-container);
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-secondary);
}

/* INFO SECTIONS */
.contact-info h3, .contact-section h3 {
    color: var(--on-primary-container);
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-secondary);
    margin: 8px 0;
}

.contact-info a, .contact-section a {
    color: var(--primary);
    text-decoration: none;
}

.contact-info a:hover, .contact-section a:hover {
    text-decoration: underline;
}

/* NAVIGATION LINKS */
.links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.link, .back-link {
    color: var(--primary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.back-link {
    display: inline-block;
    border: 2px solid var(--primary);
    padding: 12px 24px;
    margin-top: 30px;
}

.link:hover, .back-link:hover {
    background: var(--primary);
    color: var(--on-primary);
    transform: translateY(-2px);
}

/* FOOTER */
.footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--outline);
    color: var(--text-secondary);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .container {
        padding: 40px 25px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
    
    /* Adjust typography for mobile */
    .headline-large {
        font-size: 28px;
        line-height: 36px;
    }
    
    .headline-medium {
        font-size: 24px;
        line-height: 32px;
    }
    
    .headline-small {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (max-width: 480px) {
    .links {
        flex-direction: column;
        align-items: center;
    }
    
    .headline-large {
        font-size: 24px;
        line-height: 32px;
    }
    
    .headline-medium {
        font-size: 20px;
        line-height: 28px;
    }
}
