:root {
    --primary-blue: #2a77e4;
    --dark-blue: #1A317A;
    --light-blue: #81d7ff;
    --teal: #2dd5cd;
    --navy: #1d3f59;
    --text-dark: #1d3f59;
    --text-medium: #6B7280;
    --text-light: #9CA3AF;
    --bg-light-blue: #F0F7FF;
    --bg-light-gray: #F8F9FA;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

main {
    overflow-x: hidden;
    width: 100%;
}

section {
    overflow: hidden;
    width: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0 2rem;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #1A317A;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-cta {
    background: #2a77e4;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 999px;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #1A317A;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #1d5fc7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 119, 228, 0.3);
}

.hero {
    background: radial-gradient(184.29% 141.42% at 100% 0%, rgba(45, 213, 205, 0.25) 30.82%, rgba(45, 65, 229, 0.25) 100%);
    border: 1px solid rgba(255, 255, 255, 0.33);
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100vw;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: normal;
    color: #2a77e4;
}

.hero-text p {
    font-family: 'Manrope', sans-serif;
    font-size: 21px;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 500px;
    color: #1d3f59;
}

.hero-badges {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-icon {
    width: 32px;
    height: 32px;
    background: rgba(42, 119, 228, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 16px;
    height: 16px;
}

.badge-text {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #1d3f59;
    font-weight: 400;
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: #2a77e4;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: #1d5fc7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 119, 228, 0.3);
}

.btn-primary.large {
    padding: 20px 32px;
    font-size: 18px;
}

.btn-secondary, button.btn-secondary {
    background: rgba(26, 49, 122, 0.05);
    color: #1a317a;
    border: 1px solid #1a317a;
    padding: 16px 24px;
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-secondary:hover, button.btn-secondary:hover {
    background: #1a317a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 49, 122, 0.3);
}

.hero-image {
    text-align: center;
}

.hero-photo {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.partners-section {
    background: white;
    padding: 3rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.partner-logo:hover {
    color: var(--text-medium);
}

.features {
    padding: 6rem 2rem;
    background: white;
    position: relative;
    overflow: hidden;
}

.features-container {
    position: relative;
    max-width: 1344px;
    margin: 0 auto;
}

.features-phones {
    position: absolute;
    left: -150px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    display: flex;
    gap: -30px;
}

.feature-phone-1,
.feature-phone-2 {
    width: 260px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.feature-phone-1 {
    z-index: 2;
    transform: rotate(-5deg);
}

.feature-phone-2 {
    z-index: 1;
    margin-left: -80px;
    transform: rotate(5deg);
}

.feature-cards {
    display: flex;
    gap: 16px;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.feature-card {
    flex: 1;
    width: 324px;
    padding: 33px;
    text-align: left;
    background: linear-gradient(135deg, rgba(42, 119, 228, 0.05) 0%, rgba(45, 213, 205, 0.05) 100%);
    border: 1px solid rgba(42, 119, 228, 0.10);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(to bottom, #2a77e4, #2364c0);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #1d3f59;
    line-height: 24px;
    letter-spacing: -0.3125px;
}

.feature-card p {
    font-family: 'Manrope', sans-serif;
    color: rgba(29, 63, 89, 0.6);
    line-height: 21px;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

.app-section,
.medication-section,
.health-section,
.app-showcase {
    padding: 6rem 2rem;
}

.app-section {
    background: #F7FAFC;
    position: relative;
}

.app-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background: radial-gradient(295.24% 132.49% at 100% 100%, rgba(42, 119, 228, 0.10) 0%, #2A77E4 100%);
    pointer-events: none;
    z-index: 0;
}

.medication-section {
    background: #FFFFFF;
}

.health-section {
    background: #F7FAFC;
    position: relative;
}

.health-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background: radial-gradient(295.24% 132.49% at 100% 100%, rgba(42, 119, 228, 0.10) 0%, #2A77E4 100%);
    pointer-events: none;
    z-index: 0;
}

.app-showcase {
    background: #FFFFFF;
}

.app-content,
.medication-content,
.health-content,
.app-showcase-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.medication-content {
    grid-template-columns: 1fr 1fr;
}

.app-text h2,
.medication-text h2,
.health-text h2,
.app-showcase-text h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2a77e4;
}

.subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 21px;
    font-weight: 400;
    color: #1d3f59;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    padding: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1d3f59;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 24px;
}

.feature-list-icon {
    width: 24px;
    height: 24px;
    background: #2a77e4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-list-icon svg {
    width: 16px;
    height: 16px;
}

.mockup-device {
    width: 280px;
    height: 560px;
    background: var(--text-dark);
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.mockup-screen-image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.app-screenshot {
    width: 100%;
    max-width: min(584px, 100%);
    height: auto;
    max-height: 584px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.app-screenshot-styled {
    width: 100%;
    max-width: min(584px, 100%);
    height: auto;
    max-height: 584px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.25);
}

.medication-mockup .app-screenshot-styled {
    object-position: left center;
}

.health-mockup .app-screenshot-styled {
    object-position: right center;
}

.app-mockup,
.medication-mockup,
.health-mockup,
.app-showcase-mockups {
    display: flex;
    align-items: center;
    /*padding: 40px;*/
}

.app-mockup {
    justify-content: flex-end;
}

.medication-mockup {
    justify-content: flex-start;
}

.health-mockup {
    justify-content: flex-end;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.mockup-screen::before {
    content: 'Medonn';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: #e5e7eb;
}

.app-showcase-mockups {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.professionals-section {
    padding: 6rem 2rem;
    background: #FFFFFF;
    text-align: center;
}

.professionals-section h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2a77e4;
}

.section-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 21px;
    font-weight: 400;
    color: #1d3f59;
    line-height: 1.2;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.professionals-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.professional-card {
    position: relative;
    background: white;
    border: 1px solid rgba(42, 119, 228, 0.1);
    border-radius: 24px;
    padding: 24px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.professional-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.professional-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(42, 119, 228, 0.8) 0%, rgba(42, 119, 228, 0) 100%);
    z-index: 1;
}

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

.professional-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.professional-icon svg {
    width: 32px;
    height: 32px;
    color: white;
    display: none;
}

.professional-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 21px;
    font-weight: 600;
    color: white;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 24px;
    letter-spacing: -0.3125px;
}

.pricing-section {
    padding: 6rem 2rem;
    background: #F7FAFC;
    text-align: center;
    position: relative;
}

.pricing-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background: radial-gradient(295.24% 132.49% at 100% 100%, rgba(42, 119, 228, 0.10) 0%, #2A77E4 100%);
    pointer-events: none;
    z-index: 0;
}

.pricing-section h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2a77e4;
    position: relative;
    z-index: 1;
}

.pricing-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
    text-align: left;
}

.pricing-card {
    background: white;
    border: 1px solid rgba(42, 119, 228, 0.1);
    border-radius: 24px;
    padding: 33px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pricing-card.pricing-basic {
    background: white;
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(230, 242, 255, 0.8) 0%, rgba(230, 255, 249, 0.8) 100%);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(42, 119, 228, 0.15);
    border: 1px solid rgba(42, 119, 228, 0.1);
}

.pricing-card.pricing-enterprise {
    background: #1d3f59;
    color: white;
    border: 1px solid rgba(42, 119, 228, 0.1);
}

.pricing-card.pricing-enterprise h3,
.pricing-card.pricing-enterprise .pricing-description,
.pricing-card.pricing-enterprise .price,
.pricing-card.pricing-enterprise .period,
.pricing-card.pricing-enterprise .pricing-note,
.pricing-card.pricing-enterprise .pricing-features li {
    color: white;
}

.pricing-card.pricing-enterprise .check-icon path {
    stroke: white;
}

.pricing-card.pricing-enterprise .pricing-badge {
    background: #2dd5cd;
    color: white;
}

.pricing-card.pricing-enterprise .pricing-divider {
    border-top-color: #2dd5cd;
    border-bottom-color: #2dd5cd;
}

.pricing-card.pricing-enterprise .pricing-cta {
    background: #2dd5cd;
    color: white;
}

.pricing-card.pricing-enterprise .pricing-cta:hover {
    background: #25b5ae;
    box-shadow: 0 4px 12px rgba(45, 213, 205, 0.3);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.pricing-badge {
    background: #2a77e4;
    color: white;
    padding: 6px 12px;
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    align-self: flex-end;
    margin: 0;
}

.pricing-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #1d3f59;
    line-height: 1.2;
}

.pricing-description {
    font-family: 'Manrope', sans-serif;
    color: #1d3f59;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
}

.pricing-divider {
    width: 100%;
    border-top: 1px solid #2a77e4;
    border-bottom: 1px solid #2a77e4;
    padding: 12px 0;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0;
    margin: 0;
}

.price {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: #1d3f59;
    line-height: 1;
}

.period {
    font-family: 'Manrope', sans-serif;
    color: #1d3f59;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
}

.pricing-note {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #1d3f59;
    font-weight: 400;
    margin: 8px 0 0 0;
    opacity: 0.66;
    text-align: center;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.pricing-features li {
    padding: 0;
    font-family: 'Manrope', sans-serif;
    color: #1d3f59;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}

.pricing-features .check-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.pricing-cta {
    width: 100%;
    background: #2a77e4;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.pricing-cta:hover {
    background: #1d5fc7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 119, 228, 0.3);
}

.app-download-section {
    background: linear-gradient(135deg, #E6F2FF 0%, #E6FFF9 100%);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.app-download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 100% 0%, 
        rgba(45, 213, 205, 0.25) 30.822%, 
        rgba(45, 176, 211, 0.25) 48.117%, 
        rgba(45, 139, 217, 0.25) 65.411%, 
        rgba(45, 102, 223, 0.25) 82.706%, 
        rgba(45, 65, 229, 0.25) 100%);
    pointer-events: none;
}

.app-download-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-download-left {
    text-align: left;
}

.medonn-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 2rem;
    object-fit: contain;
}

.app-download-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.75rem, 5vw, 56px);
    line-height: 1.2;
    color: #1d3f59;
    margin-bottom: 2rem;
    overflow-wrap: break-word;
}

.app-download-title .medonn-text {
    font-weight: 700;
    color: #2a77e4;
}

.app-download-title .download-text {
    font-weight: 400;
    color: #1d3f59;
}

.app-download-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 21px;
    color: #1d3f59;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.2;
}

.app-store-badges {
    display: flex;
    gap: 1rem;
}

.app-store-badge {
    transition: transform 0.3s ease;
}

.app-store-badge:hover {
    transform: translateY(-2px);
}

.app-download-phones {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Removed old phone frame styles */

.download-section {
    background: #0066FF;
    padding: 6rem 2rem;
    color: white;
}

.download-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.download-logo {
    flex-shrink: 0;
}

.download-text {
    flex: 1;
}

.download-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.download-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.store-button img {
    height: 60px;
    transition: transform 0.3s ease;
}

.store-button:hover img {
    transform: scale(1.05);
}

.gallery-section {
    padding: 0;
    background: #FFFFFF;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    max-width: 100%;
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

.testimonials {
    padding: 6rem 2rem;
    background: #FFFFFF;
    text-align: center;
}

.testimonials h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2a77e4;
}

.testimonial-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    border: 1px solid #e5e7eb;
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background: rgba(42, 119, 228, 0.05);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-card p {
    font-family: 'Manrope', sans-serif;
    color: #1d3f59;
    margin-bottom: 1.5rem;
    line-height: 1.625;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.1504px;
}

.testimonial-author {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    color: #1d3f59;
    font-size: 14px;
}

.cta-section {
    background: #0066FF;
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content p {
    font-family: 'Manrope', sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-contact {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-item svg {
    width: 20px;
    height: 20px;
}

.contact-item a {
    font-family: 'Manrope', sans-serif;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.contact-item a:hover {
    text-decoration: underline;
}

.footer {
    background: #1d3f59;
    color: white;
    padding: 64px 2rem 0;
    max-width: 100vw;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .footer {
        padding: 64px 168px 0;
    }
}

/* Legal Pages */
.legal-content {
    padding: 80px 2rem 4rem;
    min-height: 100vh;
    background: white;
}

.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-content h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d3f59;
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1d3f59;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d3f59;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.legal-back {
    margin-top: 3rem;
    text-align: center;
}

.legal-update {
    font-style: italic;
    color: #718096;
    margin-top: 3rem;
    text-align: right;
}

.footer-content {
    max-width: none;
    margin: 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 48px;
}

.footer-brand {
    max-width: 664px;
    width: 100%;
    flex-shrink: 0;
}

.footer-brand p {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: rgba(255, 255, 255, 1);
    max-width: 400px;
    margin-top: 16px;
}

.footer-social {
    display: none;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: #374151;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.footer-social a:hover {
    background: var(--text-medium);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.footer-section {
    flex: 1;
    min-width: 0;
}

.footer-section h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
    color: white;
    line-height: 24px;
    letter-spacing: -0.3125px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    font-family: 'Manrope', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

.footer-section a:hover {
    color: white;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-bottom {
    max-width: none;
    margin: 0;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-family: 'Manrope', sans-serif;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    margin: 0;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    color: white;
}

.footer-socials a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-socials svg {
    width: 20px;
    height: 20px;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .footer {
        padding: 3rem 2rem 0;
    }
    
    .pricing-cards {
        gap: 1.5rem;
    }
    
    .app-showcase-content,
    .app-content,
    .medication-content,
    .health-content {
        gap: 3rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    * {
        max-width: 100vw !important;
    }
    
    /* Force all text elements to reasonable sizes */
    h1, h2, h3, h4, h5, h6, p, span, div {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .header {
        padding: 1rem;
        width: 100%;
    }
    
    .nav {
        position: relative;
    }
    
    .nav-toggle {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        margin-top: 0.5rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero {
        height: 100vh;
        padding-top: 80px; /* Account for fixed header */
        padding-left: 0;
        padding-right: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
        word-break: break-word;
        hyphens: auto;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1.125rem !important;
        line-height: 1.4;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
    
    h2,
    .app-text h2,
    .medication-text h2,
    .health-text h2,
    .app-showcase-text h2,
    .professionals-section h2,
    .pricing-section h2,
    .cta-content h2,
    .download-text h2,
    .testimonials h2 {
        font-size: 1.75rem !important;
        line-height: 1.3;
        word-break: break-word;
        margin-bottom: 0.75rem;
    }
    
    h3,
    .feature-card h3,
    .professional-card h3,
    .pricing-card h3,
    .feature-content h3 {
        font-size: 1.5rem !important;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    p {
        font-size: 0.938rem;
        line-height: 1.5;
    }
    
    .section-subtitle,
    .subtitle,
    .pricing-description,
    .app-download-subtitle {
        font-size: 1rem !important;
        line-height: 1.4;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
    
    .features,
    .app-section,
    .medication-section,
    .health-section,
    .app-showcase,
    .professionals-section,
    .pricing-section,
    .cta-section {
        padding: 2.5rem 1rem;
    }
    
    /* Ensure all section headings have proper spacing */
    section > h2:first-child,
    section > div > h2:first-child {
        padding: 0 0.5rem;
        margin-top: 0;
    }
    
    /* Fix spacing after headings */
    h2 + p,
    h2 + .section-subtitle,
    h2 + .subtitle {
        margin-top: 0.5rem;
    }
    
    /* Ensure pricing note is visible */
    .pricing-note {
        font-size: 0.688rem !important;
        line-height: 1.3;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-buttons button {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.875rem;
    }
    
    .btn-primary, .btn-secondary {
        font-size: 0.875rem;
        padding: 12px 20px;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-content p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .hero-photo {
        max-width: 100%;
        border-radius: 20px;
    }
    
    .feature-cards {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .feature-card {
        width: calc(50% - 8px);
        min-width: 300px;
    }
    
    .professionals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .professional-card {
        height: 240px;
    }
    
    .download-content {
        flex-direction: column;
        text-align: center;
    }
    
    .app-download-section {
        padding: 3rem 1rem;
    }
    
    .app-download-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0;
    }
    
    .app-download-left {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .app-download-phones {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .app-download-phones img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .app-download-title {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .app-download-title .medonn-text {
        font-size: 2rem;
    }
    
    .app-download-title .download-text {
        font-size: 1rem;
        display: block;
        margin-top: 0.25rem;
    }
    
    .app-download-subtitle {
        font-size: 1.0rem;
        padding: 0 1rem;
    }
    
    .medonn-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }
    
    .phone-mockup-container {
        max-width: 100%;
        width: auto;
        height: auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-content,
    .medication-content,
    .health-content,
    .app-showcase-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .app-screenshot,
    .app-screenshot-styled {
        max-width: 100%;
        height: auto;
        max-height: 400px;
    }
    
    .medication-mockup,
    .health-mockup,
    .app-mockup {
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .medication-mockup img,
    .health-mockup img,
    .app-mockup img {
        max-width: 100%;
        height: auto;
    }
    
    .medication-content {
        grid-template-columns: 1fr;
    }
    
    .medication-content .medication-mockup {
        order: -1;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .app-store-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        max-width: 180px;
        margin: 0 auto;
    }
    
    .app-store-badge {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .app-store-badge img {
        width: 100%;
        height: auto;
        max-width: 150px;
        max-height: 45px;
        object-fit: contain;
    }
    
    .partners {
        gap: 2rem;
    }
    
    .partners img {
        height: 36px;
    }
    
    .footer {
        padding: 3rem 2rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        align-items: center;
    }
    
    .footer-brand {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
    
    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        max-width: 100%;
    }
    
    .footer-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section ul {
        text-align: center;
        padding: 0;
        width: 100%;
    }
    
    .footer-section li {
        text-align: center;
    }
    
    .footer-section a {
        display: inline-block;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
    }
    
    .footer-bottom p {
        text-align: center;
        margin: 0;
    }
    
    .footer-socials {
        justify-content: center;
        width: 100%;
    }
    
    .cta-content h2 {
        font-size: 1.75rem !important;
        padding: 0 1rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-content p {
        font-size: 1rem !important;
        padding: 0 1rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .contact-item {
        font-size: 0.813rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-section h4 {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
        text-align: center !important;
    }
    
    .footer-section ul {
        font-size: 0.75rem;
        list-style: none !important;
        padding-left: 0 !important;
        margin: 0;
        text-align: center !important;
    }
    
    .footer-section li {
        margin-bottom: 0.5rem;
        text-align: center !important;
        padding-left: 0 !important;
    }
    
    .footer-section a {
        text-align: center !important;
        display: block;
        width: 100%;
    }
    
    .professional-card h3 {
        font-size: 0.875rem;
    }
    
    .pricing-cta {
        font-size: 0.813rem;
        padding: 12px 20px;
    }
    
    /* Legal Pages Responsive */
    .legal-container {
        padding: 2rem 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
        padding: 0 0.5rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1rem;
        padding: 0 0.5rem;
        line-height: 1.4;
    }
    
    h2,
    .app-text h2,
    .medication-text h2,
    .health-text h2,
    .app-showcase-text h2,
    .professionals-section h2,
    .pricing-section h2,
    .cta-content h2,
    .download-text h2,
    .testimonials h2 {
        font-size: 1.5rem !important;
        padding: 0 0.5rem;
        line-height: 1.2;
    }
    
    h3,
    .feature-card h3,
    .professional-card h3,
    .pricing-card h3,
    .feature-content h3 {
        font-size: 1.25rem !important;
    }
    
    p {
        font-size: 0.875rem;
        line-height: 1.4;
    }
    
    .app-download-title {
        font-size: 1.5rem !important;
    }
    
    .app-download-title .medonn-text {
        font-size: 1.75rem;
    }
    
    .app-download-title .download-text {
        font-size: 0.938rem;
    }
    
    .app-download-subtitle,
    .section-subtitle,
    .subtitle,
    .pricing-description {
        font-size: 1.0rem !important;
        line-height: 1.3;
        padding: 0 0.75rem;
    }
    
    .cta-content p {
        font-size: 0.875rem !important;
    }
    
    .badge-text {
        font-size: 0.625rem;
    }
    
    /* App Download Section - Small Mobile */
    .app-download-section {
        padding: 2rem 0.5rem;
    }
    
    .app-download-phones {
        max-width: 250px;
    }
    
    .medonn-icon {
        width: 48px;
        height: 48px;
    }
    
    .app-store-badges {
        max-width: 200px;
    }
    
    .app-store-badge img {
        max-width: 160px;
    }
    
    .feature-list,
    .pricing-features {
        font-size: 0.688rem;
    }
    
    .pricing-price .price {
        font-size: 1.25rem;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 0.75rem;
        padding: 10px 16px;
    }
    
    .hero-badges {
        gap: 1rem;
    }
    
    .badge {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
    
    .badge-text {
        font-size: 0.688rem;
        line-height: 1.2;
    }
    
    .feature-list {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .feature-list li {
        margin-bottom: 0.5rem;
        padding-left: 0.5rem;
        text-align: left;
    }
    
    .pricing-features {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .pricing-features li {
        margin-bottom: 0.5rem;
    }
    
    .pricing-price .price {
        font-size: 1.5rem;
    }
    
    .pricing-price .period {
        font-size: 0.75rem;
    }
    
    .pricing-card h3 {
        font-size: 1.5rem !important;
    }
    
    .pricing-card .pricing-price {
        font-size: 1.25rem !important;
    }
    
    /* Override any large desktop sizes */
    [style*="font-size"] {
        font-size: inherit !important;
    }
    
    .pricing-badge {
        font-size: 0.625rem;
        padding: 4px 8px;
    }
    
    .nav-menu {
        font-size: 0.875rem;
    }
    
    .nav-menu a {
        padding: 0.5rem 0;
    }
    
    .feature-cards {
        flex-direction: column;
    }
    
    .feature-card {
        width: 100%;
    }
    
    .professionals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .professional-card {
        height: 200px;
    }
    
    .testimonial-cards {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}