:root {
    --brand-green: #00d09c;
    --brand-pink: #ff1a66;
    --brand-dark: #12141d;
    --brand-gray: #f8f9fa;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --menu-text-color: #1F2123;
}

/* Globálna poistka proti pretekaniu na mobiloch */
img, svg {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: #F1F9FF;
    background-image: url('../images/background.svg');
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 110px;
}

.text-brand-green { color: var(--brand-green) !important; }
.bg-brand-dark { background-color: var(--brand-dark) !important; }
.bg-brand-gray { background-color: var(--brand-gray) !important; }

/* Hero Section */
.hero-section {
    padding-top: 4rem;
    padding-bottom: 6rem;
    position: relative;
}

@media (min-width: 768px) {
    .hero-section {
        padding-top: 6.25rem;
        padding-bottom: 13rem;
    }
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: clamp(2rem, 5vw, 3.7rem);
    line-height: 1.1;
    letter-spacing: -1.28px;
    color: #1F2123;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.5rem;
    letter-spacing: -0.16px;
    color: #34AC80;
}

.hero-buttons {
    margin-top: 2rem;
}

.btn-brand-dark,
.btn-brand-dark:visited {
    background-color: var(--brand-dark);
    color: white;
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
}
.btn-brand-dark:hover { background-color: #000; color: white; }

.btn-brand-outline,
.btn-brand-outline:visited {
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
}
.btn-brand-outline:hover { background: #f3f4f6; color: var(--text-dark); }

/* Feature Info Box */
.feature-info-section {
    margin-top: -4.5rem;
    margin-bottom: 6rem;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .feature-info-section { margin-bottom: 9rem; }
}

.feature-info-box {
    width: 100%;
    max-width: 953px;
    min-height: 153px;
    border-radius: 1rem;
    border: 1px solid #E8E8E8;
    padding: 1.5rem;
    background: rgba(251, 253, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .feature-info-box {
        flex-direction: row;
        text-align: left;
        padding: 2rem;
        gap: 2rem;
    }
}

.feature-info-item {
    flex-basis: auto;
}

@media (min-width: 768px) {
    .feature-info-item {
        flex-basis: 285px;
    }
}

.feature-info-divider {
    width: 100%;
    height: 2px;
    background: #10E89D;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .feature-info-divider {
        width: 187px;
        height: 2px;
    }
}

.feature-info-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.25rem;
    letter-spacing: -0.1px;
    color: #1F2123;
    margin-bottom: 0.5rem;
}

.feature-info-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.4rem;
    color: rgba(31, 33, 35, 0.5);
    margin-bottom: 0;
}

/* Fair Trade */
.fair-trade-section {
    margin-bottom: 6rem;
}
@media (min-width: 768px) {
    .fair-trade-section { margin-bottom: 9rem; }
}

.fair-trade-container {
    max-width: 925px;
    margin: 0 auto;
}

.fair-trade-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4rem;
    color: #34AC80;
    max-width: 420px;
}

.fair-trade-image {
    max-width: 398px;
    margin: 0 auto;
}
@media (min-width: 992px) {
    .fair-trade-image { margin: 0; }
}

.feature-item {
    margin-bottom: 1.5rem;
}
.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item-icon {
    margin-bottom: 1rem;
}

.feature-item-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.25rem;
    letter-spacing: -0.1px;
    color: #1F2123;
}

.feature-item-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.4rem;
    color: rgba(31, 33, 35, 0.5);
}

/* Key Features Box */
.key-features-box {
    border-radius: 1.875rem;
    background: #09090B;
    padding: 3rem 1.5rem;
}
@media (min-width: 992px) {
    .key-features-box {
        padding: 5rem 4rem 5rem 4.5rem;
    }
}

.key-features-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: -0.1px;
    color: #FFFFFF;
    margin-bottom: 3rem;
    margin-top: 0;
}

.feature-card-dark {
    min-height: 23rem;
    height: auto;
    border-radius: 1rem;
    border: 4px solid #FFFFFF0D;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    radial-gradient(117.61% 117.61% at 50% 5.92%, rgba(0, 0, 0, 0.2) 27.22%, rgba(59, 62, 68, 0.2) 100%);
    box-shadow: inset 0px 0.5px 0px 0px #FFFFFF1A,
    5px 20px 20.62px -3.75px #00000010,
    1.6px 6.38px 6.58px -2.81px #00000026,
    0.6px 2.41px 2.49px -1.88px #0000002C,
    0.2px 0.8px 0.82px -0.94px #0000002F;
    position: relative;
    transition: all 0.3s ease;
    padding: 8.375rem 1.5rem 2rem 1.5rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .feature-card-dark { padding: 8.375rem 2rem 2rem 2rem; }
}

.feature-card-dark::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 2rem;
    width: 8rem;
    max-width: 80%;
    height: 4px;
    background-color: #10E89D;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 4px 4px 0 0;
    z-index: 2;
}

.feature-card-dark:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    radial-gradient(117.61% 117.61% at 50% 5.92%, rgba(14, 15, 17, 0.5) 27.22%, rgba(14, 69, 52, 0.5) 100%);
    border-color: #124A3780;
}

.feature-card-dark:hover::before {
    opacity: 1;
}

.feature-card-badge-outer {
    position: absolute;
    top: 2rem;
    left: 1.75rem;
    border-radius: 209.99px;
    border: 0.57px solid #13CA8A33;
    padding: 0.25rem;
    display: inline-flex;
}

.feature-card-badge-inner {
    border-radius: 138.84px;
    border: 1.15px solid #13CA8A80;
    background: #13CA8A1A;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 0.875rem;
    height: 2rem;
    transition: all 0.3s ease;
}

.feature-card-dark:hover .feature-card-badge-inner {
    background: #13CA8A4D;
    border: 1.15px solid #13CA8A;
}

.feature-card-badge-text {
    font-weight: 600;
    font-size: 1rem;
    color: #13CA8A;
    white-space: nowrap;
}

.feature-card-title {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4rem;
    color: #FFFFFF;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.feature-card-text {
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.4rem;
    color: #FFFFFF;
    opacity: 0.5;
    margin: 0;
}

/* About App Section */
.about-app-section {
    margin-top: 5rem;
}

.about-app-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}
@media (min-width: 992px) {
    .about-app-header { margin-bottom: 5.75rem; }
}

.about-app-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5rem;
    color: #34AC80;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.about-app-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.about-app-line {
    flex: 1;
    height: 1px;
    background-color: #00000033;
}

.about-app-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: -0.1px;
    color: #1F2123;
    margin: 0;
    flex-shrink: 0;
    padding: 0 1rem;
    background: transparent;
    white-space: normal;
    word-wrap: break-word;
}

.about-app-title-bottom {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.2;
    letter-spacing: -0.1px;
    color: #1F2123;
    margin: 0;
    white-space: normal;
    word-wrap: break-word;
}

.app-feature-row {
    margin-bottom: 3rem;
}
@media (min-width: 992px) {
    .app-feature-row { margin-bottom: 5rem; }
}

.app-feature-main-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    line-height: 1.2;
    letter-spacing: -0.42px;
    color: #0F0F0F;
    margin-bottom: 1.8rem;
}
@media (min-width: 992px) {
    .app-feature-main-title { margin-bottom: 3.375rem; line-height: 2rem; }
}

.app-feature-highlight {
    color: #34AC80;
    font-weight: 700;
}

.app-feature-content-wrapper {
    margin-bottom: 1.8rem;
}
@media (min-width: 992px) {
    .app-feature-content-wrapper { margin-bottom: 3.375rem; }
}

.app-feature-item {
    margin-bottom: 1.5rem;
}
.app-feature-item:last-child {
    margin-bottom: 0;
}

.app-feature-item-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4rem;
    color: #000000;
    margin-bottom: 0.375rem;
}

.app-feature-item-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.4rem;
    color: rgba(31, 33, 35, 0.5);
    margin: 0;
}

.app-feature-read-more,
.app-feature-read-more:visited {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.app-feature-read-more span,
.app-feature-read-more:visited span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1.5rem;
    color: #888D91;
}

.app-feature-read-more img {
    width: 1.56rem;
    height: 1.5rem;
}

.app-feature-image-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 4vw, 1.125rem);
    line-height: 1.4;
    color: #34AC80;
    position: relative;
    margin: 0 0 1rem 0;
    padding-left: 0;
    z-index: 2;
}

@media (min-width: 992px) {
    .app-feature-image-text {
        position: absolute;
        top: 1rem;
        left: 1rem;
        margin: 0;
        line-height: 1.375rem;
        padding-left: 1.25rem;
    }
}

.app-feature-image-wrapper {
    height: 100%;
    min-height: 250px;
    position: relative;
    margin-top: 0;
}
@media (min-width: 992px) {
    .app-feature-image-wrapper {
        margin-top: 4.18rem;
        min-height: 400px;
    }
}

/* Newsletter Section */
.newsletter-section {
    background-image: url('../images/subscribe.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.newsletter-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: -0.1px;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.newsletter-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.25rem;
    letter-spacing: -0.1px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.newsletter-form {
    width: 100%;
    max-width: 25.375rem;
    height: 4.375rem;
    border-radius: 0.875rem;
    background: linear-gradient(90deg, rgba(49, 230, 167, 0.9) 65.02%, rgba(49, 230, 167, 0) 105.17%);
    box-shadow: 1px 1px 0px 0px rgba(100, 255, 201, 0.5);
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0.875rem 5rem 0.875rem 1.25rem;
    color: #1F2123;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 0.875rem;
    outline: none;
}
@media (min-width: 768px) {
    .newsletter-input { padding-left: 1.75rem; }
}

.newsletter-input::placeholder {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: rgba(25, 76, 60, 0.3);
}

.newsletter-submit {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.71rem;
    background: #FFFFFF;
    border: none;
    box-shadow: 0px 1.42px 0px 0px rgba(80, 89, 103, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

/* Base text link fix just in case Bootstrap intercepts generic text links */
a.text-dark:visited {
    color: #212529 !important; /* Forces Bootstrap text-dark to remain dark */
}

/* --- SCROLL TO TOP BUTTON --- */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #00d09c; /* Brand green */
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0px 4px 15px rgba(0, 208, 156, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #12141d; /* Brand dark */
    box-shadow: 0px 4px 15px rgba(18, 20, 29, 0.4);
    transform: translateY(-3px);
}

.scroll-to-top svg {
    stroke: #ffffff;
}

/* About App Section */
.about-app-section {
    margin-top: 5rem;
    background-image: url('../images/background.svg');
    background-position: center 12rem;
    background-repeat: no-repeat;
    padding-top: 2rem;
}

.about-app-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2; /* Aby bol nadpis nad obrázkom na pozadí */
}

.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    text-align: center;
    z-index: 1000;
}

.cookie-consent .form-check {
    display: inline-block;
    margin-right: 10px;
}

.cookie-consent .btn {
    float: right;
}

.cookie-consent a {
    color: #10E89D;
    font-family: 'Poppins', sans-serif;
}

.cookie-consent a:visited {
    color: #10E89D;
}

.cookie-consent .btn-primary {
    background-color: #10E89D;
    border-color: #10E89D;
    background-image: url('/images/btn-active.svg');
    background-repeat: no-repeat;
    background-position: left center;
    border-radius: 0.25rem;
    min-height: 3.125rem;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.40625rem;
    font-family: 'Poppins', sans-serif;
}

.cookie-consent .btn-primary:hover {
    background-color: #0cb97d;
    border-color: #0cb97d;
    color: #DDE0E2;
}

.cookie-consent .btn-primary:focus, .btn-primary:active, .btn-primary:focus:active {
    background-color: #0ccf8a;
    border-color: #0ccf8a;
    box-shadow: none;
}
