/* CSS Reset і загальні стилі */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #30363A;
    background-color: #FAF8FB;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Типографія */
h1, h2, h3 {
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    color: #30363A;
}

h1 {
    font-size: 50px;
    line-height: 1.2;
}

h2 {
    font-size: 36px;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    line-height: 1.4;
}

.text-small {
    font-size: 14px;
    color: #978F9D;
}

/* Header стилі */
.header {
    height: 116px;
    background: white;
    border-bottom: 1px solid #ECE3F2;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 69px;
    height: 38px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    font-size: 17px;
    color: #30363A;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    font-size: 15px;
    color: #30363A;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav-link:hover {
    color: #9C68C7;
}

.nav-link.active {
    color: #9C68C7;
}

.app-store img {
    height: 40px;
    object-fit: contain;
}

/* Main Content */
.main-content {
    flex: 1;
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background-block {
    background-image: url('images/homeSection1Bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 30px;
    margin: 0 150px;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 80px 0px;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

.hero-title {
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    font-size: 50px;
    line-height: 1.2;
    color: #30363A;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    color: #30363A;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(1.15) translateY(50px);
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.features-container {
    margin: 0 150px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.features-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.features-image-block {
    width: 400px;
    height: 400px;
    background-image: url('images/section2bgSmall.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.features-text-overlay {
    width: 100%;
    text-align: center;
}

.features-text-overlay h2 {
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.3;
    color: #30363A;
    margin: 0;
}

.features-image-block img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    flex: 1;
    display: block;
}

.features-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
}

.feature-text h3 {
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    font-size: 24px;
    color: #30363A;
    margin-bottom: 8px;
}

.feature-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    color: #978F9D;
    margin: 0;
}

/* Privacy Page */
.privacy-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 80px 20px;
}

@media (max-width: 768px) {
    .privacy-container {
        padding: 40px 20px;
    }
}

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

.privacy-section h1 {
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    font-size: 50px;
    line-height: 1.2;
    color: #30363A;
    margin-bottom: 32px;
}

.privacy-section h2 {
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 1.3;
    color: #30363A;
    margin-bottom: 24px;
}

.privacy-section p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #30363A;
    margin-bottom: 20px;
    text-align: justify;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #ECE3F2;
}

.breadcrumbs a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #9C68C7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #7E4CB1;
}

.breadcrumb-separator {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #978F9D;
}

.breadcrumb-current {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #978F9D;
}

/* Partners Page */
.partners-container {
    margin: 0 150px;
    padding: 80px 0;
}

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

.partners-header h1 {
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    font-size: 50px;
    line-height: 1.2;
    color: #30363A;
    margin-bottom: 16px;
}

.partners-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #978F9D;
    margin: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

/* Partner Card - Exact Figma Implementation */
.partner-card {
    align-self: stretch;
    padding: 20px;
    background: white;
    border-radius: 20px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    display: inline-flex;
}

.partner-header {
    align-self: stretch;
    padding-bottom: 16px;
    border-bottom: 1px solid #F2EEF5;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    display: inline-flex;
}

.partner-icon {
    width: 60px;
    height: 60px;
    padding: 5px;
    background: rgba(126, 76, 177, 0.29);
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: flex;
}

.partner-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.partner-name {
    flex: 1 1 0;
    text-align: center;
    color: #30363A;
    font-size: 16px;
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    word-wrap: break-word;
    margin: 0;
}

.partner-details {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    display: flex;
}

.detail-row {
    align-self: stretch;
    padding: 20px;
    border-radius: 12px;
    justify-content: space-between;
    align-items: center;
    display: inline-flex;
}

.detail-row-alt {
    background: #FAF8FB;
}

.detail-row.representative {
    background: #FAF8FB;
}

.detail-label {
    width: 103px;
    color: #978F9D;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    word-wrap: break-word;
}

.detail-row.representative .detail-label {
    width: 137px;
}

.detail-value {
    color: #30363A;
    font-size: 14px;
    font-family: 'Hepta Slab', serif;
    font-weight: 500;
    word-wrap: break-word;
    text-align: right;
}

.detail-row.representative .detail-value {
    width: 242px;
    text-align: right;
}

/* Footer стилі */
.footer {
    background: #5B2D8B;
    color: white;
    height: 451px;
    display: flex;
    flex-direction: column;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    width: 69px;
    height: 38px;
    object-fit: contain;
}

.footer-logo-text {
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    font-size: 17px;
    color: white;
}

.footer-navigation {
    display: flex;
    gap: 80px;
}

.footer-column h3 {
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    font-size: 20px;
    color: white;
    margin-bottom: 16px;
}

.footer-column h3 + h3 {
    margin-top: 24px;
}

.footer-column h3 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column h3 a:hover {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 0.8;
}

.app-store-footer img {
    height: 60px;
    object-fit: contain;
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-legal p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    line-height: 1.6;
    text-align: center;
}

/* Кнопки */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 24px;
    border: none;
    border-radius: 22px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #7E4CB1;
    color: white;
}

.btn-primary:hover {
    background-color: #6B3D96;
}

.btn-secondary {
    background-color: #D8C9E2;
    color: #30363A;
}

.btn-secondary:hover {
    background-color: #C8B7D2;
}

/* Offers Page Styles */
.offers-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 60px 20px;
}

.offers-header {
    margin-bottom: 44px;
    text-align: left;
}

.offers-header h1 {
    color: #30363A;
    font-size: 36px;
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: left;
}

.offers-header p {
    color: #978F9D;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 28.8px;
    text-align: left;
    margin: 0;
}

/* Offers Grid Styles */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 364px);
    gap: 24px;
    margin-bottom: 60px;
    justify-content: center;
}

@media (max-width: 1200px) {
    .offers-grid {
        grid-template-columns: repeat(2, 364px);
    }
}

@media (max-width: 768px) {
    .offers-container {
        padding: 40px 20px;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .offers-header h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .offers-header p {
        font-size: 16px;
        line-height: 24px;
    }

    .OfferCard {
        width: 100%;
        max-width: 364px;
        margin: 0 auto;
    }
}

/* Offer Card Styles */
.OfferCard {
    background: white;
    border-radius: 20px;
    padding: 20px;
    height: 315px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

/* Animation Styles */
.OfferCard {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.OfferCard[data-property-1="top"] {
    padding-top: 12px;
    padding-bottom: 20px;
    outline: 1px solid #ADD684;
    outline-offset: -1px;
}

.Frame1597885243 {
    display: inline-flex;
    padding: 4px 16px;
    background: #ADD684;
    border-radius: 8px;
    margin-bottom: 8px;
}

/* Label Styles */
.Frame1597885243 {
    display: inline-flex;
    padding: 4px 10px;
    background: #ADD684;
    border-radius: 8px;
    margin-bottom: 8px;
    width: fit-content;
}

.NajlepszaOferta {
    color: white;
    font-size: 12px;
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
}

/* Rating Styles */
.Frame1597885251 {
    padding: 8px;
    background: #FAF8FB;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.3s ease;
}

.Frame1597885251:hover {
    background: #ECE3F2;
}

.Frame1597885251 .Icon {
    display: flex;
}

.Frame1597885251 div:last-child {
    color: #30363A;
    font-size: 16px;
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    line-height: 16px;
}

/* Icon Styles */
.Icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.Icon svg {
    width: 24px;
    height: 24px;
}

.Icon[data-property-1="star"] svg {
    width: 20px;
    height: 20px;
}

.Icon[data-property-1="term"] svg,
.Icon[data-property-1="percent"] svg {
    width: 24px;
    height: 24px;
}

.Icon[data-property-1="arrow"] svg {
    width: 25px;
    height: 24px;
}

.Button:hover .Icon[data-property-1="arrow"] {
    transform: translateX(4px);
}

/* Button Styles */
.Button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 72px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    user-select: none;
}

.Button[data-state="primary"] {
    background: #7E4CB1;
}

.Button[data-state="primary"] .Label {
    color: white;
}

.Button[data-state="primary"]:hover {
    background: #9C68C7;
}

.Button[data-state="secondary"] {
    background: #ECE3F2;
}

.Button[data-state="secondary"] .Label {
    color: #30363A;
}

.Button[data-state="secondary"]:hover {
    background: #D8C9E2;
}

.Label {
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    white-space: nowrap;
}

.Button .Icon {
    margin-left: 4px;
    flex-shrink: 0;
}

/* Frame Styles */
.Frame1597885255 {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 44px;
    display: flex;
}

.Frame1597885252 {
    width: 304px;
    justify-content: space-between;
    align-items: flex-end;
    display: inline-flex;
}

.Frame1597885246 {
    width: 169px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    display: inline-flex;
}

.Frame1597885251 {
    padding: 8px;
    background: #FAF8FB;
    border-radius: 8px;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    display: flex;
}

.Frame1597885250 {
    align-self: stretch;
    padding-bottom: 16px;
    border-bottom: 1px #F2EEF5 solid;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.Frame1597885253 {
    align-self: stretch;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    display: inline-flex;
}

/* Text Styles */
.Kwota,
.OkresPoYczki,
.Oprocentowanie {
    color: #696D73;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
}

.Kwota {
    font-size: 16px;
}

.OkresPoYczki,
.Oprocentowanie {
    font-size: 14px;
}

.amount-5000 {
    color: #30363A;
    font-size: 22px;
    font-family: 'Hepta Slab', serif;
    font-weight: 700;
    line-height: 16px;
    transition: color 0.3s ease;
}

.Frame1597885247 div[data-layer="5%"],
.Frame1597885247 div[data-layer="1 – 20 dni"] {
    color: #30363A;
    font-size: 16px;
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    line-height: 16px;
    transition: color 0.3s ease;
}

.OfferCard:hover .Kwota,
.OfferCard:hover .OkresPoYczki,
.OfferCard:hover .Oprocentowanie {
    color: #30363A;
}

.OfferCard:hover .amount-5000,
.OfferCard:hover .Frame1597885247 div[data-layer="5%"],
.OfferCard:hover .Frame1597885247 div[data-layer="1 – 20 dni"] {
    color: #7E4CB1;
}

/* Card Button Styles */
.Frame1597885253 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.Frame1597885253 img {
    width: 121px;
    height: 38px;
    object-fit: contain;
}

/* Button Styles */
.Frame1597885253 .Button {
    width: 191px;
    flex: none;
    padding: 12px;
}

@media (max-width: 768px) {
    .Frame1597885253 .Button {
        width: 100%;
    }
}

.Frame1597885253 .Button[data-state="primary"] {
    background: #7E4CB1;
}

.Frame1597885253 .Button[data-state="primary"] .Label {
    color: white;
}

.Frame1597885253 .Button[data-state="primary"]:hover {
    background: #9C68C7;
}

.Frame1597885253 .Button[data-state="secondary"] {
    background: #ECE3F2;
}

.Frame1597885253 .Button[data-state="secondary"] .Label {
    color: #30363A;
}

.Frame1597885253 .Button[data-state="secondary"]:hover {
    background: #D8C9E2;
}

.Frame1597885253 .Button .Label {
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 24px;
}

.Frame1597885253 .Button .Icon {
    margin-left: 4px;
}

/* Card Info Styles */
.Frame1597885248,
.Frame1597885249 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.Frame1597885247 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.Frame1597885247 .OkresPoYczki,
.Frame1597885247 .Oprocentowanie {
    color: #696D73;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Card Text Styles */
.Kwota,
.OkresPoYczki,
.Oprocentowanie {
    color: #696D73;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.Kwota {
    font-size: 16px;
}

.OkresPoYczki,
.Oprocentowanie {
    font-size: 14px;
}

.amount-5000 {
    color: #30363A;
    font-size: 22px;
    font-family: 'Hepta Slab', serif;
    font-weight: 700;
    line-height: 16px;
}

.Frame1597885247 div[data-layer="5%"],
.Frame1597885247 div[data-layer="1 – 20 dni"] {
    color: #30363A;
    font-size: 16px;
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    line-height: 16px;
}

/* Card Container Styles */
.Frame1597885255 {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.Frame1597885252 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.Frame1597885246 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.Frame1597885250 {
    align-self: stretch;
    padding-bottom: 16px;
    border-bottom: 1px #F2EEF5 solid;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.Frame1597885248,
.Frame1597885249 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.Frame1597885247 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.Frame1597885247 .OkresPoYczki,
.Frame1597885247 .Oprocentowanie {
    color: #696D73;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Card Text Styles */
.Kwota,
.OkresPoYczki,
.Oprocentowanie {
    color: #696D73;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.Kwota {
    font-size: 16px;
}

.OkresPoYczki,
.Oprocentowanie {
    font-size: 14px;
}

.amount-5000 {
    color: #30363A;
    font-size: 22px;
    font-family: 'Hepta Slab', serif;
    font-weight: 700;
    line-height: 16px;
}

.Frame1597885247 div[data-layer="5%"],
.Frame1597885247 div[data-layer="1 – 20 dni"] {
    color: #30363A;
    font-size: 16px;
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    line-height: 16px;
}

/* Animation Styles */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.offers-container {
    animation: fadeIn 0.6s ease-out;
}

.OfferCard {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.OfferCard:nth-child(1) {
    animation-delay: 0.1s;
}

.OfferCard:nth-child(2) {
    animation-delay: 0.2s;
}

.OfferCard:nth-child(3) {
    animation-delay: 0.3s;
}

.OfferCard:nth-child(4) {
    animation-delay: 0.4s;
}

.OfferCard:nth-child(5) {
    animation-delay: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
    .offers-container,
    .OfferCard {
        animation: none;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .header {
        height: auto;
        min-height: 116px;
    }
    
    .navigation {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-background-block {
        margin: 0 40px;
        min-height: 500px;
        padding: 40px 0px;
        border-radius: 20px;
        overflow: hidden;
    }
    
    .hero-container {
        padding: 0 30px;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .features-container {
        margin: 0 40px;
        flex-direction: column;
        gap: 60px;
    }
    
    .features-image-block {
        width: 350px;
        height: 350px;
    }
    
    .features-text-overlay h2 {
        font-size: 28px;
    }
    
    .privacy-container {
        margin: 0 40px;
        padding: 60px 0;
    }
    
    .privacy-section h1 {
        font-size: 40px;
    }
    
    .privacy-section h2 {
        font-size: 30px;
    }
    
    .partners-container {
        margin: 0 40px;
        padding: 60px 0;
    }
    
    .partners-header h1 {
        font-size: 40px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .partner-card {
        padding: 16px;
        gap: 20px;
    }
    
    .partner-header {
        padding-bottom: 12px;
        gap: 12px;
    }
    
    .partner-icon {
        width: 48px;
        height: 48px;
        padding: 4px;
    }
    
    .partner-name {
        font-size: 14px;
    }
    
    .detail-row {
        padding: 16px;
    }
    
    .detail-label {
        width: 80px;
        font-size: 12px;
    }
    
    .detail-value {
        font-size: 12px;
    }
    
    .detail-row.representative .detail-label {
        width: 100px;
    }
    
    .detail-row.representative .detail-value {
        width: 180px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-navigation {
        flex-direction: column;
        gap: 30px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }
    
    .offers-container {
        padding: 40px 20px;
    }
    
    .offers-header h1 {
        font-size: 28px;
    }
    
    .offers-header p {
        font-size: 16px;
        line-height: 24px;
    }
    
    .OfferCard {
        height: auto;
        min-height: 315px;
        padding: 16px;
    }

    .OfferCard[data-property-1="top"] {
        padding-top: 12px;
        padding-bottom: 16px;
    }

    .Frame1597885255 {
        gap: 24px;
    }

    .Frame1597885252 {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .Frame1597885246 {
        width: 100%;
    }

    .Frame1597885250 {
        flex-direction: column;
        gap: 16px;
        padding-bottom: 12px;
    }

    .Frame1597885248,
    .Frame1597885249 {
        width: 100%;
    }

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

    .Frame1597885253 .Button {
        width: 100%;
        padding: 12px 24px;
    }

    .Button {
        padding: 12px 32px;
    }

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

    .Frame1597885253 .Button {
        width: 100%;
        padding: 12px 24px;
    }

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

    .Frame1597885248,
    .Frame1597885249 {
        width: 100%;
    }

    .Frame1597885252 {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .Frame1597885246 {
        width: 100%;
    }

    .amount-5000 {
        font-size: 20px;
    }

    .Frame1597885255 {
        gap: 24px;
    }

    .Icon svg {
        width: 20px;
        height: 20px;
    }

    .Icon[data-property-1="arrow"] svg {
        width: 21px;
        height: 20px;
    }

    .Kwota {
        font-size: 14px;
    }

    .amount-5000 {
        font-size: 20px;
    }

    .OkresPoYczki,
    .Oprocentowanie {
        font-size: 13px;
    }

    .Frame1597885247 div[data-layer="5%"],
    .Frame1597885247 div[data-layer="1 – 20 dni"] {
        font-size: 15px;
    }

    .Frame1597885251 {
        padding: 6px;
    }

    .Frame1597885251 div:last-child {
        font-size: 14px;
    }

    .Frame1597885251:hover {
        background: #FAF8FB;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 55px;
        height: 30px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .navigation {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .hero-background-block {
        margin: 0 20px;
        padding: 30px 0px;
        border-radius: 16px;
        overflow: hidden;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-btn {
        padding: 14px 24px;
        font-size: 14px;
        border-radius: 21px;
    }
    
    .features-section {
        padding: 60px 0;
    }
    
    .features-container {
        margin: 0 20px;
    }
    
    .features-image-block {
        width: 300px;
        height: 300px;
        padding: 30px 20px;
    }
    
    .features-text-overlay h2 {
        font-size: 24px;
    }
    
    .feature-text h3 {
        font-size: 20px;
    }
    
    .feature-text p {
        font-size: 14px;
    }
    
    .privacy-container {
        margin: 0 20px;
        padding: 40px 0;
    }
    
    .privacy-section {
        margin-bottom: 40px;
    }
    
    .privacy-section h1 {
        font-size: 32px;
        margin-bottom: 24px;
    }
    
    .privacy-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .privacy-section p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .breadcrumbs {
        margin-top: 60px;
        padding-top: 30px;
    }
    
    .partners-container {
        margin: 0 20px;
        padding: 40px 0;
    }
    
    .partners-header {
        margin-bottom: 40px;
    }
    
    .partners-header h1 {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .partners-subtitle {
        font-size: 14px;
    }
    
    .partners-grid {
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .partner-card {
        padding: 12px;
        gap: 16px;
    }
    
    .partner-header {
        padding-bottom: 8px;
        gap: 8px;
    }
    
    .partner-icon {
        width: 40px;
        height: 40px;
        padding: 3px;
    }
    
    .partner-name {
        font-size: 12px;
    }
    
    .detail-row {
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .detail-label {
        width: 100%;
        font-size: 10px;
    }
    
    .detail-value {
        width: 100%;
        font-size: 10px;
        text-align: left;
    }
    
    .detail-row.representative .detail-label,
    .detail-row.representative .detail-value {
        width: 100%;
    }
    
    h1 {
        font-size: 28px;
    }
} 

/* Accessibility Styles */
.Button:focus-visible {
    outline: 2px solid #7E4CB1;
    outline-offset: 2px;
}

.Button[data-state="primary"]:focus-visible {
    outline-color: white;
}

@media (prefers-contrast: more) {
    .Button[data-state="primary"] {
        background: #30363A;
    }

    .Button[data-state="secondary"] {
        background: #ECE3F2;
        border: 1px solid #30363A;
    }

    .Frame1597885251 {
        border: 1px solid #30363A;
    }

    .OfferCard {
        border: 1px solid #30363A;
    }

    .OfferCard[data-property-1="top"] {
        outline: 2px solid #30363A;
    }
} 

/* Print Styles */
@media print {
    .offers-container {
        padding: 0;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .OfferCard {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #000;
    }

    .OfferCard[data-property-1="top"] {
        outline: 2px solid #000;
    }

    .Button {
        display: none;
    }

    .Frame1597885251 {
        background: none;
        border: 1px solid #000;
    }

    .Icon svg path {
        fill: #000 !important;
    }

    .Kwota,
    .OkresPoYczki,
    .Oprocentowanie,
    .amount-5000,
    .Frame1597885247 div[data-layer="5%"],
    .Frame1597885247 div[data-layer="1 – 20 dni"] {
        color: #000 !important;
    }
} 

/* Card Styles */
.OfferCard {
    width: 364px;
    background: white;
    border-radius: 20px;
    padding: 20px;
    height: 315px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.offers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .OfferCard {
        width: 100%;
        max-width: 364px;
    }
} 

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    width: 100%;
}

.faq-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.faq-intro {
    display: flex;
    padding: 24px 44px;
    background: #FDF0CD;
    border-radius: 25px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 44px;
    position: relative;
}

.faq-intro-content {
    width: 535px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 32px;
    display: flex;
}

.faq-intro-content h2 {
    width: 389px;
    color: #30363A;
    font-size: 36px;
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    word-wrap: break-word;
}

.faq-intro-content p {
    color: #696D73;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 28.8px;
    word-wrap: break-word;
}

.faq-illustration {
    width: 373px;
    height: 264px;
    position: relative;
    overflow: hidden;
}

.faq-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.faq-item {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-item.active {
    background: #ECE3F2;
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question span {
    color: #30363A;
    font-size: 18px;
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: #7E4CB1;
    transition: transform 0.3s ease;
}

.faq-toggle::before {
    width: 2px;
    height: 12px;
    top: 6px;
    left: 11px;
}

.faq-toggle::after {
    width: 12px;
    height: 2px;
    top: 11px;
    left: 6px;
}

.faq-item.active .faq-toggle::before {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 24px;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    height: auto;
}

.faq-answer p {
    color: #696D73;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 24px;
    margin: 0;
}

@media (max-width: 1200px) {
    .faq-container {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    .faq-intro {
        padding: 32px;
    }

    .faq-intro-content {
        width: 50%;
    }

    .faq-intro-content h2 {
        width: 100%;
    }

    .faq-illustration {
        width: 45%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-container {
        padding: 0 20px;
    }

    .faq-intro {
        flex-direction: column;
        padding: 24px;
        gap: 32px;
    }

    .faq-intro-content {
        width: 100%;
    }

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

    .faq-intro-content p {
        font-size: 16px;
        line-height: 24px;
    }

    .faq-illustration {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
} 

/* Download Section */
.download-section {
    background-image: url('images/section4bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 30px;
    padding: 134px 0; /* Збільшено з 97px до 134px */
    margin: 80px 150px;
    position: relative;
    overflow: hidden;
}

.download-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.download-content {
    text-align: center;
    color: white;
    margin-top: -50px; /* Додано від'ємний margin для підняття контенту */
}

.download-content h2 {
    font-family: 'Hepta Slab', serif;
    font-weight: 600;
    font-size: 50px;
    margin-bottom: 16px;
    color: white;
}

.download-content p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 32px;
    opacity: 0.9;
}

.app-store-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-store-button:hover {
    transform: translateY(-4px);
}

.app-store-button img {
    height: 60px;
    width: auto;
}

@media (max-width: 1200px) {
    .download-section {
        margin: 60px 40px;
    }
}

@media (max-width: 768px) {
    .download-section {
        margin: 40px 20px;
        padding: 114px 0; /* Збільшено з 77px до 114px */
    }

    .download-content h2 {
        font-size: 36px;
    }

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

    .app-store-button img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .download-content h2 {
        font-size: 28px;
    }

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

    .app-store-button img {
        height: 40px;
    }
} 