/* ===== HERO ===== */
.sw-hero {
    background: linear-gradient(135deg, #530966 0%, #7a1fa3 100%);
    margin-top: 79px;
    min-height: 560px;
    display: flex; align-items: center;
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 8vw, 100px) 0;
}
.sw-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 10% 60%, rgba(198,168,119,0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(255,255,255,0.05) 0%, transparent 45%);
    pointer-events: none;
}
.sw-hero-inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.sw-hero-text h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; margin-bottom: 1rem;
    line-height: 1.15; letter-spacing: -0.02em;
}
.sw-hero-text p {
    color: rgba(255,255,255,0.82);
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
    line-height: 1.7; margin-bottom: 0.5rem;
}
.sw-hero-note {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem; margin-bottom: 2rem; display: block;
}
.sw-hero-btns {
    display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem;
}
.sw-hero-img-wrap {
    position: relative;
}
.sw-hero-img-wrap::before {
    content: '';
    position: absolute; inset: -20px;
    background: radial-gradient(circle, rgba(198,168,119,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.sw-hero-img {
    width: 100%; display: block;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    position: relative; z-index: 1;
}

/* ===== SHARED SECTION ===== */
.sw-section {
    padding: clamp(56px, 7vh, 88px) 0;
}
.sw-section--soft { background: var(--gl-bg-soft); }
.sw-section--white { background: #fff; }
.sw-section--purple {
    background: linear-gradient(135deg, #530966 0%, #7a1fa3 100%);
}

/* ===== FEATURE ROW ===== */
.sw-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.sw-feature--reverse { direction: rtl; }
.sw-feature--reverse > * { direction: ltr; }
.sw-feature-text h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700; color: var(--gl-purple); margin-bottom: 1rem;
}
.sw-feature-text p {
    font-size: 0.98rem; color: var(--gl-ink-soft);
    line-height: 1.75; margin: 0;
}
.sw-feature-text--light h2 { color: #fff; }
.sw-feature-text--light p  { color: rgba(255,255,255,0.8); }
.sw-feature-img {
    width: 100%; border-radius: 16px;
    box-shadow: 0 8px 32px rgba(83,9,102,0.12);
    display: block;
}

/* ===== BUTTONS ===== */
.sw-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 28px; border-radius: 12px;
    font-weight: 600; font-size: 15px;
    text-decoration: none; cursor: pointer;
    font-family: 'Poppins', sans-serif; border: none;
    transition: all 0.3s;
}
.sw-btn--gold {
    background: var(--gl-gold); color: #fff;
    box-shadow: 0 6px 20px rgba(198,168,119,0.4);
}
.sw-btn--gold:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(198,168,119,0.5); color: #fff; }
.sw-btn--outline-white {
    background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,0.45);
}
.sw-btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; transform: translateY(-3px); }
.sw-btn--purple {
    background: var(--gl-purple); color: #fff;
    box-shadow: 0 6px 20px rgba(83,9,102,0.3);
}
.sw-btn--purple:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(83,9,102,0.4); color: #fff; }

/* ===== SECTION HEADER ===== */
.sw-section-header { text-align: center; margin-bottom: 48px; }
.sw-section-header h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700; color: var(--gl-purple); margin-bottom: 10px;
}
.sw-section-header p {
    font-size: 0.98rem; color: var(--gl-ink-soft);
    max-width: 520px; margin: 0 auto;
}
.sw-section-header--light h2 { color: #fff; }
.sw-section-header--light p  { color: rgba(255,255,255,0.75); }

/* ===== VERSION CARD ===== */
.sw-version-card {
    max-width: 700px; margin: 0 auto;
    background: #fff; border: 1.5px solid var(--gl-line);
    border-radius: 20px; padding: 36px;
    box-shadow: 0 4px 20px rgba(83,9,102,0.06);
}
.sw-version-card h2 {
    font-size: 1.2rem; font-weight: 700; color: var(--gl-purple);
    padding-bottom: 18px; margin-bottom: 24px;
    border-bottom: 2px solid var(--gl-line);
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.sw-version-badge {
    font-size: 12px; font-weight: 600; color: #27a93e;
    background: rgba(39,169,62,0.1); padding: 4px 14px; border-radius: 100px;
}
.sw-version-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 14px 32px;
}
.sw-version-row { display: flex; flex-direction: column; gap: 2px; }
.sw-version-row span:first-child {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--gl-ink-soft);
}
.sw-version-row span:last-child { font-size: 0.95rem; color: var(--gl-ink); font-weight: 500; }

/* ===== STEPS ===== */
.sw-steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; margin-top: 48px;
}
.sw-step {
    background: #fff; border: 1.5px solid var(--gl-line);
    border-radius: 16px; padding: 28px 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(83,9,102,0.05);
}
.sw-step img { width: 100%; border-radius: 10px; margin-bottom: 18px; }
.sw-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gl-purple), var(--gl-purple-light));
    color: #fff; font-size: 0.85rem; font-weight: 700;
    margin: 0 auto 12px;
    box-shadow: 0 3px 10px rgba(83,9,102,0.25);
}
.sw-step h4 {
    font-size: 1rem; font-weight: 700; color: var(--gl-purple); margin-bottom: 8px;
}
.sw-step p { font-size: 0.88rem; color: var(--gl-ink-soft); line-height: 1.6; margin: 0; }

/* ===== DOCUMENTS TABLE ===== */
.sw-docs-wrap {
    max-width: 720px; margin: 0 auto;
    background: #fff; border-radius: 16px;
    border: 1.5px solid var(--gl-line); overflow: hidden;
}
.sw-docs-wrap table { width: 100%; border-collapse: collapse; }
.sw-docs-wrap th {
    background: var(--gl-bg-soft); padding: 14px 20px;
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--gl-ink-soft);
    text-align: left; border-bottom: 2px solid var(--gl-line);
}
.sw-docs-wrap td {
    padding: 14px 20px; font-size: 0.9rem; color: var(--gl-ink);
    border-bottom: 1px solid var(--gl-bg-soft);
}
.sw-docs-wrap tr:last-child td { border-bottom: none; }
.sw-docs-wrap a {
    color: var(--gl-purple); font-weight: 600;
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.sw-docs-wrap a:hover { color: var(--gl-purple-light); }

/* ===== EULA CTA ===== */
.sw-eula {
    max-width: 860px; margin: 0 auto;
    background: var(--gl-bg-soft);
    border: 1.5px solid var(--gl-line);
    border-radius: 20px; padding: clamp(36px, 5vh, 56px) clamp(28px, 4vw, 48px);
    text-align: center;
}
.sw-eula h2 { font-size: 1.4rem; font-weight: 700; color: var(--gl-purple); margin-bottom: 10px; }
.sw-eula p { font-size: 0.95rem; color: var(--gl-ink-soft); max-width: 500px; margin: 0 auto 24px; line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .sw-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .sw-hero { padding: 60px 0 48px; min-height: unset; }
    .sw-hero-inner { grid-template-columns: 1fr; text-align: center; }
    .sw-hero-btns { justify-content: center; }
    .sw-hero-img-wrap { max-width: 400px; margin: 0 auto; }
}
@media (max-width: 700px) {
    .sw-feature, .sw-feature--reverse { grid-template-columns: 1fr; direction: ltr; }
    .sw-feature--reverse > * { direction: ltr; }
    .sw-version-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .sw-steps { grid-template-columns: 1fr; }
}
