/* ===================================================
   MedFeaturePrice — Landing page
   =================================================== */

:root {
    --primary: #5B8DEF;
    --primary-dark: #4876D4;
    --dark: #2C2C2C;
    --darker: #1A1A1A;
    --text: #444;
    --text-light: #777;
    --bg: #FAFAFA;
    --white: #FFF;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,.08);
    --shadow-hover: 0 8px 40px rgba(0,0,0,.12);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

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

a { color: var(--primary-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--dark); }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================================
   Header / Navigation
   =================================================== */

header {
    background: var(--darker);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.3);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.logo img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
}

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

nav a {
    color: rgba(255,255,255,.7);
    font-size: .9rem;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all .2s;
}

nav a:hover,
nav a.active {
    color: var(--white);
    background: rgba(255,255,255,.1);
}

.lang-switch {
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(255,255,255,.2);
}

.lang-switch a {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 4px 8px;
    border-radius: 4px;
}

.lang-switch a.current {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

/* ===================================================
   Hero
   =================================================== */

.hero {
    background: linear-gradient(135deg, var(--darker) 0%, #3a3a3a 100%);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(91,141,239,.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(91,141,239,.15);
    color: var(--primary);
    font-size: .85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(91,141,239,.3);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,.7);
    max-width: 600px;
    margin: 0 auto 36px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all .25s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91,141,239,.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.3);
}

.btn-outline:hover {
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-meta {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-meta-item {
    text-align: center;
}

.hero-meta-item .value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-meta-item .label {
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ===================================================
   How it works
   =================================================== */

.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 56px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 16.67%;
    right: 16.67%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(91,141,239,.3);
}

.step h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.step p {
    font-size: .95rem;
    color: var(--text-light);
}

/* ===================================================
   Features
   =================================================== */

.features {
    padding: 80px 0;
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    transition: all .3s;
    border: 1px solid rgba(0,0,0,.04);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

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

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: .92rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================================
   Comparison section
   =================================================== */

.comparison {
    padding: 80px 0;
    background: var(--white);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.comparison-box {
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
}

.comparison-box.without {
    background: #FFF5F5;
    border: 2px solid #FED7D7;
}

.comparison-box.with {
    background: #F0FFF4;
    border: 2px solid #C6F6D5;
}

.comparison-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.comparison-box.without .comparison-icon {
    background: #FED7D7;
}

.comparison-box.with .comparison-icon {
    background: #C6F6D5;
}

.comparison-icon svg {
    width: 32px;
    height: 32px;
}

.comparison-box h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.comparison-box ul {
    list-style: none;
    text-align: left;
}

.comparison-box ul li {
    padding: 6px 0;
    font-size: .95rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.comparison-box ul li::before {
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.comparison-box.without ul li::before { content: '\2717'; color: #E53E3E; }
.comparison-box.with ul li::before { content: '\2713'; color: #38A169; }

/* ===================================================
   Tech specs
   =================================================== */

.tech-specs {
    padding: 80px 0;
    background: var(--bg);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.spec-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spec-icon svg {
    width: 20px;
    height: 20px;
}

.spec-item strong {
    display: block;
    color: var(--dark);
    font-size: .95rem;
    margin-bottom: 2px;
}

.spec-item span {
    font-size: .88rem;
    color: var(--text-light);
}

/* ===================================================
   CTA Final
   =================================================== */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--darker) 0%, #3a3a3a 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,.7);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================================
   Footer
   =================================================== */

footer {
    background: var(--darker);
    color: rgba(255,255,255,.5);
    text-align: center;
    padding: 32px 0;
    font-size: .85rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

footer a {
    color: rgba(255,255,255,.7);
}

footer a:hover {
    color: var(--white);
}

/* ===================================================
   Responsive
   =================================================== */

@media (max-width: 900px) {
    .hero h1 { font-size: 2.2rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 32px; }
    .steps::before { display: none; }
    .comparison-grid { grid-template-columns: 1fr; }
    .specs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero { padding: 60px 0 50px; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .section-title h2 { font-size: 1.7rem; }
    .features-grid { grid-template-columns: 1fr; }
    header .container { height: auto; flex-wrap: wrap; padding: 12px 24px; gap: 8px; }
    nav { width: 100%; justify-content: center; flex-wrap: wrap; }
    .hero-meta { gap: 24px; }
    .hero-cta { flex-direction: column; align-items: center; }
}
