/* ============================================
   FONTS
   ============================================ */

@font-face {
    font-family: 'Uncut Sans';
    src: url('../fonts/UncutSans-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   VARIABLES & RESET
   ============================================ */

:root {
    --black: #1A1A1A;
    --background: #F9F9F9;
    --green-gradient: linear-gradient(90deg, #2F4F39 0%, #437051 100%);
    --max-width: 1440px;
    --padding-horizontal: 50px;
    --gutter: 30px;
    --font-primary: 'Uncut Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --badge-bg: #E8E8E8;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--background);
    color: var(--black);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}

/* ============================================
   CONTAINER & GRID SYSTEM
   ============================================ */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding-horizontal);
}

/* 12-column grid system */
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gutter);
}

/* ============================================
   TOP BAR
   ============================================ */

.top-bar {
    width: 100%;
    height: 6px;
    background: var(--green-gradient);
    position: relative;
    z-index: 3;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    padding: 44px 0 144px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    height: auto;
    width: auto;
    max-height: 50px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 0 0 144px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    width: 100%;
    height: 950px;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shapes-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    opacity: 0.5;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--badge-bg);
    border-radius: 20px;
    font-size: 13px;
    color: var(--black);
    margin-bottom: 32px;
    font-weight: 400;
}

.badge-icon-img {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.hero-title {
    color: var(--black);
    text-align: center;
    font-family: var(--font-primary);
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin-bottom: 24px;
    max-width: 655px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--black);
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 475px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    font-weight: 400;
}

.hero .btn-primary {
    margin-bottom: 0;
}

.hero-image {
    margin-top: 144px;
    width: 100%;
    max-width: 1340px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: rgba(26, 26, 26, 0.05);
    transform: scale(0.80);
    will-change: transform;
    border-radius: 12px;
}

.hero-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--green-gradient);
    color: white;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #437051 0%, #2F4F39 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47, 79, 57, 0.3);
}

.btn-large {
    padding: 12px 24px;
    font-size: 16px;
}

.btn-icon-img {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.btn-arrow-img {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: 0;
}

.section-header {
    text-align: left;
    margin-bottom: 80px;
}

.section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--black);
    margin-bottom: 20px;
    font-weight: 400;
}

.section-title {
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    color: var(--black);
    max-width: 525px;
}

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

.feature-card {
    background: #FFF;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(26, 26, 26, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.feature-card.animate-in:hover {
    transform: translateY(-4px);
}

.feature-title {
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin-bottom: 24px;
    color: var(--black);
    text-align: left;
}

.feature-image {
    margin-bottom: 24px;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: rgba(26, 26, 26, 0.05);
}

.feature-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-description {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
    opacity: 0.8;
    margin-bottom: 24px;
    flex-grow: 1;
    text-align: left;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tag {
    padding: 8px 14px;
    background: rgba(26, 26, 26, 0.06);
    border-radius: 20px;
    border: none;
    font-size: 14px;
    color: var(--black);
    font-weight: 400;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 144px 0;
}

.about-grid {
    display: flex;
    gap: 80px;
    align-items: start;
    justify-content: space-between;
    position: relative;
}

.about-content {
    padding-top: 0;
    position: sticky;
    top: 72px;
}

.about-title {
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    color: var(--black);
    max-width: 625px;
}

.offer-card {
    background: #FFF;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    max-width: 542px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(26, 26, 26, 0.05);
}

.offer-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: end;
    margin-bottom: 32px;
    border-bottom: 1px solid #E8E8E8;
    padding-bottom: 32px;
}

.offer-header-left {
    display: flex;
    flex-direction: column;
}

.offer-title {
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin-bottom: 16px;
    color: var(--black);
    text-align: left;
}

.offer-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.offer-price {
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
    background: var(--green-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.offer-price-period {
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
}

.offer-description {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
    opacity: 0.8;
    text-align: left;
    margin: 0;
}

.offer-benefits {
    list-style: none;
    margin-bottom: 32px;
}

.offer-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
    text-align: left;
}

.offer-card .btn-primary {
    align-self: flex-start;
    margin-top: auto;
}

.check-icon-img {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: block;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   COMPATIBILITY SECTION
   ============================================ */

.compatibility {
    padding: 0;
}

.compatibility .container::before {
    content: '';
    display: block;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.compatibility-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 48px 0 0 0;
    gap: 40px;
}

.compatibility-text {
    font-size: 16px;
    color: var(--black);
    font-weight: 400;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.compatibility-icon {
    width: 8px;
    height: 8px;
    display: block;
    flex-shrink: 0;
}

.os-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.os-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(26, 26, 26, 0.06);
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 400;
    color: var(--black);
    font-family: var(--font-primary);
}


.os-tag-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.final-cta {
    padding: 196px 0 492px 0;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    color: var(--black);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.cta-note {
    margin-top: 24px;
    font-size: 14px;
    color: var(--black);
    opacity: 0.6;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 0;
    position: relative;
}

.footer-logo {
    opacity: 1;
    transform: translateY(300px);
    position: absolute;
    bottom: calc(100% + 195px);
    left: 0;
    right: 0;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--padding-horizontal);
    box-sizing: border-box;
}

.footer-logo-img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
    background: var(--background);
    position: relative;
    z-index: 10;
    margin-top: 0;
}

.footer-copyright {
    font-size: 14px;
    color: var(--black);
    text-align: center;
}

.footer-link {
    font-size: 14px;
    color: var(--black);
    text-decoration: none;
    text-decoration: underline;
}

.footer-link:hover {
    opacity: 1;
}

.footer-author-link {
    color: var(--black);
    text-decoration: underline;
}

/* ============================================
   MENTIONS LÉGALES MODAL
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    max-width: 800px;
    height: 100vh;
    border-radius: 16px 0 0 16px;
    background: #FFF;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-panel {
    transform: translateX(0);
}

.modal-header {
    position: sticky;
    top: 0;
    background: #FFF;
    z-index: 1002;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-logo {
    display: flex;
    align-items: center;
}

.modal-logo-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    color: var(--black);
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(26, 26, 26, 0.1);
}

#mentions-modal .modal-header {
    justify-content: flex-end;
}

.modal-content {
    padding: 20px 40px 40px 40px;
    max-width: 100%;
    flex: 1;
}

.modal-content h2 {
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    color: var(--black);
    margin-bottom: 12px;
    margin-top: 20px;
}

.modal-content h3 {
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    color: var(--black);
    margin-top: 32px;
    margin-bottom: 16px;
}

.modal-content p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
    margin-bottom: 20px;
}

.modal-content p.form-error {
    font-size: 12px !important;
    color: #d32f2f !important;
    margin-bottom: 0;
}

.modal-content strong {
    font-weight: 500;
}

.modal-content .tag {
    display: inline-block;
    margin-bottom: 32px;
}

.modal-content .tag:first-of-type {
    border-radius: 20px;
}

.modal-content .tag:first-of-type + .tag {
    border-radius: 20px;
    margin-left: 0;
}

/* Download Modal Specific Styles */
.download-email-form {
    margin-top: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: var(--font-primary);
    line-height: 1.5;
    color: var(--black);
    background: #FFF;
    border: 1px solid rgba(26, 26, 26, 0.2);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--black);
}

.form-input.error {
    border-color: #d32f2f;
}

.form-input.error:focus {
    border-color: #d32f2f;
}

.form-input::placeholder {
    color: rgba(26, 26, 26, 0.4);
}

.form-error {
    font-size: 14px;
    color: #d32f2f !important;
    margin-top: 6px;
    display: none;
    line-height: 1.4;
}

.form-error.show {
    display: block;
    color: #d32f2f !important;
}

.download-email-form .btn {
    width: 100%;
    justify-content: center;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.download-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid rgba(26, 26, 26, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--black);
    transition: all 0.2s ease;
    background: #FFF;
}

.download-option:hover {
    border-color: rgba(26, 26, 26, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.download-option-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-option-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.download-option-content {
    flex: 1;
}

.download-option-content h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 120%;
    color: var(--black);
    margin: 0 0 4px 0;
}

.download-option-content p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--black);
    opacity: 0.7;
    margin: 0;
}

.download-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.download-option:hover .download-arrow {
    opacity: 1;
}

/* Download Success Step */
#download-success-step {
    text-align: center;
}

.success-animation {
    margin: 40px 0 32px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-icon {
    animation: successScale 0.6s ease-out;
}

@keyframes successScale {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon svg circle {
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

#download-success-step h2 {
    margin-bottom: 16px;
}

.success-note {
    font-size: 14px !important;
    font-weight: 400 !important;
    opacity: 0.7;
    margin-bottom: 32px !important;
}

.download-info-note {
    font-size: 14px;
    line-height: 1.6;
    color: var(--black);
    opacity: 0.75;
    margin-bottom: 24px;
    padding: 16px;
    background-color: rgba(47, 79, 57, 0.04);
    border-radius: 8px;
}

.success-link {
    color: var(--black);
    text-decoration: underline;
    font-weight: 500;
}

.success-link:hover {
    opacity: 0.8;
}

.windows-info-card {
    margin: 32px 0 24px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(47, 79, 57, 0.08) 0%, rgba(67, 112, 81, 0.04) 100%);
    border-radius: 16px;
    border: 1px solid rgba(47, 79, 57, 0.12);
}

.windows-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.windows-info-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(47, 79, 57, 0.15) 0%, rgba(67, 112, 81, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.windows-info-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin: 0;
    line-height: 1.3;
}

.windows-info-intro {
    font-size: 15px;
    line-height: 1.6;
    color: var(--black);
    opacity: 0.85;
    margin: 0 0 20px 0;
}

.windows-info-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.windows-info-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
}

.windows-step-number {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--green-gradient);
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.windows-step-content {
    flex: 1;
    padding-top: 2px;
}

.windows-step-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--black);
    opacity: 0.9;
    margin: 0;
}

.windows-step-content strong {
    font-weight: 600;
    color: var(--black);
    opacity: 1;
}

#download-success-step .btn {
    width: 100%;
    justify-content: center;
}

/* ============================================
   DONATION POPUP
   ============================================ */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    backdrop-filter: blur(4px);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: #FFF;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.active .popup-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    color: var(--black);
    z-index: 10;
}

.popup-close:hover {
    background: rgba(26, 26, 26, 0.1);
}

.popup-content {
    padding: 48px 40px 40px 40px;
    text-align: center;
}

.popup-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    animation: popupIconScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.popup-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

@keyframes popupIconScale {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.popup-content h2 {
    font-size: 28px;
    font-weight: 500;
    line-height: 120%;
    color: var(--black);
    margin-bottom: 16px;
    animation: popupFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.popup-content p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
    margin-bottom: 48px;
    opacity: 0.6;
    animation: popupFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-subtitle {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 32px !important;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    animation: popupFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.donation-amount-btn {
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-primary);
    color: var(--black);
    background: #FFF;
    border: 1px solid rgba(26, 26, 26, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.donation-amount-btn:hover {
    border-color: var(--black);
    background: rgba(26, 26, 26, 0.02);
}

.donation-amount-btn.selected {
    background: linear-gradient(90deg, #2F4F39 0%, #437051 100%);
    color: #FFF;
    border-color: transparent;
}

.donation-custom {
    position: relative;
    margin-bottom: 32px;
    animation: popupFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.donation-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    font-size: 16px;
    font-family: var(--font-primary);
    line-height: 1.5;
    color: var(--black);
    background: #FFF;
    border: 1px solid rgba(26, 26, 26, 0.2);
    border-radius: 8px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.donation-input:focus {
    outline: none;
    border-color: var(--black);
}

.donation-currency {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--black);
    opacity: 0.6;
    pointer-events: none;
}

.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: popupFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both;
}

.donation-error {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(90deg, rgba(47, 79, 57, 0.08) 0%, rgba(67, 112, 81, 0.08) 100%);
    border: 1px solid rgba(47, 79, 57, 0.2);
    border-radius: 12px;
    color: var(--black);
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    animation: errorShake 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 8px;
}

.donation-error svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #2F4F39;
}

.donation-error span {
    flex: 1;
    opacity: 0.9;
}

@keyframes errorShake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-4px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(4px);
    }
}

.popup-actions .btn {
    width: 100%;
    justify-content: center;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(26, 26, 26, 0.2);
    color: var(--black);
}

.btn-secondary:hover {
    background: rgba(26, 26, 26, 0.05);
    border-color: rgba(26, 26, 26, 0.3);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --padding-horizontal: 40px;
    }

    .header {
        padding: 40px 0 100px;
    }

    .hero-title {
        font-size: 40px;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .section-title {
        font-size: 32px;
    }

    .about-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 32px;
    }

    .hero-image {
        margin-top: 100px;
    }

    .hero {
        padding: 0 0 100px;
    }

    .compatibility-content {
        padding: 50px 0;
    }

    .final-cta {
        padding: 140px 0 350px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        flex-direction: row;
        gap: 60px;
    }

    .offer-header {
        grid-template-columns: 1fr auto;
        gap: 30px;
    }

    .offer-price {
        font-size: 56px;
    }

    .offer-price {
        font-size: 56px;
    }

}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    :root {
        --padding-horizontal: 24px;
        --gutter: 20px;
    }


    .header {
        padding: 30px 0 60px;
    }

    .hero {
        padding: 0 0 60px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 5px 12px;
        margin-bottom: 24px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-image {
        aspect-ratio: 16 / 9;
        margin-top: 60px;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .features {
        padding: 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-label {
        font-size: 10px;
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about {
        padding: 64px 0;
    }

    .about-grid {
        flex-direction: column;
        gap: 40px;
    }

    .about-content {
        max-width: 100%;
        position: relative;
        top: 0;
    }

    .offer-card {
        max-width: 100%;
    }

    .offer-header {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: flex-start;
    }

    .offer-price-wrapper {
        align-items: flex-start;
    }


    .offer-card {
        padding: 32px 24px;
    }

    .offer-price {
        font-size: 48px;
    }

    .offer-price-period {
        font-size: 14px;
    }

    .compatibility-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 0;
        gap: 24px;
    }

    .os-tags {
        width: 100%;
        justify-content: flex-start;
    }

    .final-cta {
        padding: 100px 0 250px 0;
    }

    .cta-title {
        font-size: 28px;
    }

    .footer {
        padding: 0;
    }


    .footer-content {
        flex-direction: column;
        gap: 16px;
    }

    .os-tags {
        gap: 8px;
    }

    .os-tag {
        padding: 8px 12px;
        font-size: 13px;
    }

    .os-tag-icon {
        width: 18px;
        height: 18px;
    }

    .footer-logo {
        bottom: calc(100% + 158px);
    }

    .modal-panel {
        width: 85%;
    }

    .modal-content {
        padding: 0 40px 40px 40px;
    }

    .modal-header {
        padding: 20px 40px;
    }

    .modal-content h2 {
        font-size: 28px;
    }

    .modal-content h3 {
        font-size: 20px;
    }

    .download-options {
        gap: 12px;
    }

    .download-option {
        padding: 16px;
        gap: 16px;
    }

    .download-option-icon {
        width: 44px;
        height: 44px;
    }

    .download-option-icon img {
        width: 44px;
        height: 44px;
    }

    .download-option-content h3 {
        font-size: 18px;
    }

    .form-input {
        font-size: 16px;
        padding: 10px 14px;
    }

    .success-animation {
        margin: 32px 0 24px 0;
    }

    .success-icon svg {
        width: 56px;
        height: 56px;
    }

    #download-success-step h2 {
        font-size: 28px;
    }

    .popup-content {
        padding: 40px 32px 32px 32px;
    }

    .popup-content h2 {
        font-size: 24px;
    }

    .popup-icon-img {
        width: 24px;
        height: 24px;
    }

    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .donation-amount-btn {
        font-size: 15px;
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 25px 0 50px;
    }

    .logo-img {
        max-height: 40px;
    }

    .hero {
        padding: 0 0 50px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .section-title {
        font-size: 24px;
    }

    .about-title {
        font-size: 24px;
    }

    .cta-title {
        font-size: 24px;
    }

    .feature-title {
        font-size: 20px;
    }

    .offer-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .hero-badge {
        font-size: 11px;
        margin-bottom: 20px;
    }

    .hero-image {
        margin-top: 40px;
    }

    .final-cta {
        padding: 20px 0 158px 0;
    }

    .btn {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 15px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-label {
        font-size: 9px;
    }

    .section-title {
        font-size: 24px;
    }

    .about-title {
        font-size: 24px;
    }

    .about-grid {
        gap: 32px;
    }

    .offer-header {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: flex-start;
    }

    .offer-price-wrapper {
        align-items: flex-start;
    }

    .offer-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .offer-card {
        padding: 24px 20px;
    }

    .cta-title {
        font-size: 24px;
    }

    .footer-logo {
        bottom: calc(100% + 135px);
    }

    .modal-panel {
        width: 100%;
        border-radius: 0;
    }

    .modal-content {
        padding: 0 24px 40px 24px;
    }

    .modal-header {
        padding: 16px 24px 16px 24px;
    }

    .modal-logo-img {
        width: 28px;
        height: 28px;
    }

    .modal-close {
        width: 36px;
        height: 36px;
    }

    .modal-content h2 {
        font-size: 24px;
        margin-top: 16px;
    }

    .modal-content h3 {
        font-size: 18px;
    }

    .modal-content p {
        font-size: 15px;
    }

    .form-input {
        font-size: 15px;
        padding: 10px 12px;
    }

    .success-animation {
        margin: 24px 0 20px 0;
    }

    .success-icon svg {
        width: 48px;
        height: 48px;
    }

    #download-success-step h2 {
        font-size: 24px;
    }

    .download-option {
        padding: 16px;
        gap: 16px;
    }

    .download-option-icon {
        width: 40px;
        height: 40px;
    }

    .download-option-icon img {
        width: 40px;
        height: 40px;
    }

    .download-option-content h3 {
        font-size: 18px;
    }

    .download-option-content p {
        font-size: 13px;
    }

    .feature-card {
        padding: 24px;
    }
}
