/* Sari Negar Medical Landing Widget */
:root {
    --sn-primary: #0e7490;
    --sn-secondary: #059669;
    --sn-dark: #0f172a;
}

.sn-medical-landing {
    font-family: 'Vazirmatn', 'IRANSans', 'Tahoma', sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.8;
    color: #334155;
}

.sn-medical-landing * {
    box-sizing: border-box;
}

.sn-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sn-narrow {
    max-width: 800px;
}

.sn-section {
    padding: 80px 0;
}

.sn-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.sn-section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(14, 116, 144, 0.1);
    color: var(--sn-primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.sn-badge-dark {
    background: rgba(255, 255, 255, 0.1);
    color: #67e8f9;
}

.sn-badge-white {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.sn-heading {
    font-weight: 900;
    color: var(--sn-dark);
    margin: 0 0 16px;
}

.sn-section-header .sn-heading {
    font-size: 32px;
}

.sn-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to left, var(--sn-primary), var(--sn-secondary));
    border-radius: 4px;
    margin: 24px auto 0;
}

.sn-body-text {
    color: #64748b;
    line-height: 2;
    font-size: 16px;
}

.sn-center { text-align: center; }

.sn-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.sn-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sn-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
}

.sn-hero-overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(to left, rgba(15, 23, 42, 0.9), rgba(14, 116, 144, 0.8));
}

.sn-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.sn-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.sn-hero-title {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 24px;
}

.sn-gradient-text {
    background: linear-gradient(to left, #67e8f9, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sn-hero-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
}

.sn-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.sn-btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(to left, var(--sn-primary), var(--sn-secondary));
    color: #fff;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.sn-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(14, 116, 144, 0.3);
}

.sn-btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.sn-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sn-full-width {
    width: 100%;
    text-align: center;
}

.sn-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sn-stat { text-align: center; }

.sn-stat-number {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
}

.sn-stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 4px;
}

.sn-intro-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.sn-intro-content .sn-body-text {
    margin-bottom: 16px;
}

.sn-warning-box {
    background: linear-gradient(to left, #fffbeb, #fff7ed);
    border-right: 4px solid #f59e0b;
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

.sn-warning-box .sn-body-text {
    color: #374151;
    margin: 0;
}

.sn-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.sn-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 16px;
}

.sn-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.sn-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

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

.sn-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--sn-primary), var(--sn-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    margin-bottom: 24px;
}

.sn-feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.sn-rounded-img {
    width: 100%;
    border-radius: 16px;
    opacity: 0.9;
}

.sn-seo-factors {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sn-seo-factor {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    color: #fff;
    font-weight: 500;
    transition: background 0.3s;
}

.sn-seo-factor:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sn-factor-num {
    color: #67e8f9;
    font-family: monospace;
    font-size: 14px;
}

.sn-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sn-faq-item {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s;
}

.sn-faq-item.active {
    border-color: var(--sn-primary);
    box-shadow: 0 10px 30px rgba(14, 116, 144, 0.1);
}

.sn-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--sn-dark);
    text-align: right;
    font-family: inherit;
}

.sn-faq-toggle {
    font-size: 24px;
    color: var(--sn-primary);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-right: 12px;
}

.sn-faq-item.active .sn-faq-toggle {
    transform: rotate(45deg);
}

.sn-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sn-faq-item.active .sn-faq-answer {
    max-height: 200px;
}

.sn-faq-answer p {
    padding: 0 24px 20px;
}

.sn-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sn-contact-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    color: #fff;
    font-size: 15px;
}

.sn-contact-form-wrap {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.sn-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sn-input {
    width: 100%;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.3s;
}

.sn-input:focus {
    outline: none;
    border-color: var(--sn-primary);
    box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.1);
}

.sn-textarea { resize: none; }

.sn-conclusion-box {
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.05), rgba(5, 150, 105, 0.05));
    border-radius: 24px;
    padding: 48px;
}

.sn-conclusion-box .sn-body-text {
    font-size: 17px;
    margin-bottom: 24px;
}

.sn-highlight {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(14, 116, 144, 0.2);
    color: var(--sn-primary) !important;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 1024px) {
    .sn-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .sn-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sn-grid-2,
    .sn-grid-3,
    .sn-grid-4 { grid-template-columns: 1fr; }
    .sn-hero-title { font-size: 32px; }
    .sn-section-header .sn-heading { font-size: 24px; }
    .sn-section { padding: 60px 0; }
    .sn-hero { min-height: auto; padding: 100px 0 60px; }
    .sn-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .sn-stat-number { font-size: 22px; }
    .sn-conclusion-box { padding: 24px; }
}