/* ClearOB Landing Page Styles - Mobile First Design */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Mobile Styles (320px+) - No Container */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background: white;
    font-weight: 400;
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

.container {
    /* Remove all container styling on mobile */
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    display: block;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding: 20px 16px 0;
    position: relative;
}

.logo-brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    margin-top: 30px;
}

.logo-container::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #64B8CE, transparent);
    border-radius: 1px;
}

.logo-image {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: #64B8CE;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
    padding: 0;
    text-shadow: 0 2px 4px rgba(100, 184, 206, 0.1);
}

.hero-section {
    margin-bottom: 25px;
    padding: 0 16px;
    margin-top: 0;
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #374151;
    margin-bottom: 0;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
    padding: 0 10px;
}

.team-section {
    margin: 35px 0;
    padding: 0 16px;
}

.team-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.7rem;
    color: #64B8CE;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.team-member {
    background: #f8fafc;
    padding: 25px 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-member:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid #C7E0E7;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #C7E0E7, #64B8CE);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #64B8CE;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.2s ease;
    margin: 0 auto;
}

.linkedin-btn:hover {
    background: #C3643D;
    transform: translateY(-1px);
}

.linkedin-btn:focus {
    outline: 2px solid #64B8CE;
    outline-offset: 2px;
}

.linkedin-icon {
    width: 22px;
    height: 22px;
}

.contact-section {
    padding: 35px 16px 45px;
    background: linear-gradient(135deg, #C7E0E7, #64B8CE);
    margin: 35px 0 0;
    text-align: center;
}

.contact-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1f2937;
}

.contact-section p {
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.email-link {
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 14px 28px;
    border: 2px solid #1f2937;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.2s ease;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.email-link:hover {
    background: #1f2937;
    color: white;
    transform: translateY(-1px);
}

.email-link:focus {
    outline: 2px solid #64B8CE;
    outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Tablet Styles (768px+) */
@media (min-width: 768px) {
    body {
        background: #f8fafc;
        padding: 20px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }

    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 25px 30px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        width: 95%;
        display: flex;
        flex-direction: column;
    }

    .logo-container {
        flex-direction: row;
        gap: 20px;
        margin-bottom: 15px;
        justify-content: center;
        padding: 0;
    }

    .logo-brand-row {
        gap: 24px;
        margin-bottom: 12px;
        margin-top: 28px;
    }

    .logo-container::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 2px;
        background: linear-gradient(90deg, transparent, #64B8CE, transparent);
        border-radius: 1px;
    }

    .hero-section {
        padding: 0;
    }

    .team-section {
        padding: 0;
    }

    .logo {
        font-size: 3.5rem;
    }

    .logo-image {
        width: 80px;
        height: 80px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .tagline {
        font-size: 1.5rem;
        margin-bottom: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }

    .team-section {
        margin: 30px 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .team-title {
        font-size: 2rem;
        margin-bottom: 25px;
        color: #1f2937;
    }

    .team-grid {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        flex-wrap: wrap;
    }

    .team-member {
        background: white;
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        border: 1px solid #e5e7eb;
        flex: 1;
        min-width: 280px;
        max-width: 350px;
    }

    .team-member:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

    .member-photo {
        width: 100px;
        height: 100px;
    }

    .contact-section {
        padding: 25px;
        border-radius: 15px;
        margin: 0;
    }
}

/* Large Desktop Styles (1024px+) */
@media (min-width: 1024px) {
    .team-grid {
        gap: 40px;
    }

    .team-member {
        min-width: 300px;
        max-width: 380px;
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .team-member {
        border: 2px solid #333;
    }

    .linkedin-btn {
        border: 2px solid white;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px 0;
        min-height: 100vh;
        height: auto;
        align-items: flex-start;
        background: white;
    }

    .logo {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .logo-container {
        gap: 15px;
        margin-bottom: 10px;
    }

    .logo-image {
        width: 50px;
        height: 50px;
    }

    .tagline {
        font-size: 1.2rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .hero-section {
        margin-bottom: 15px;
    }

    .team-section {
        margin: 20px 0 15px 0;
    }

    .team-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .team-grid {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
        overflow: visible;
        padding: 0;
    }

    .team-member {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        padding: 20px 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .member-photo {
        width: 80px;
        height: 80px;
        margin: 0 auto 10px;
    }

    .member-name {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .linkedin-btn {
        width: 35px;
        height: 35px;
    }

    .linkedin-icon {
        width: 18px;
        height: 18px;
    }

    .contact-section {
        padding: 20px 15px;
    }

    .contact-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .contact-section p {
        margin-bottom: 12px;
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .email-link {
        font-size: 1.1rem;
        padding: 12px 25px;
    }

    .container {
        margin: 0;
        padding: 15px 12px;
        width: 100%;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .logo {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1.1rem;
        padding: 0 5px;
    }

    .team-member {
        padding: 15px 10px;
    }

    .member-photo {
        width: 70px;
        height: 70px;
    }

    .member-name {
        font-size: 1rem;
    }

    .contact-section {
        padding: 15px 10px;
    }

    .contact-title {
        font-size: 1.3rem;
    }

    .email-link {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .container {
        margin: 0;
        padding: 12px 8px;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        width: 100%;
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .team-member {
        border: 2px solid #333;
    }

    .linkedin-btn {
        border: 2px solid white;
    }
}
