/* root variables */
:root {
    --primary: #2F855A;
    --primary-dark: #276749;
    --secondary: #C6F6D5;
    --accent: #38A169;
    --text-main: #2D3748;
    /* --text-sub: #718096; */
    --text-sub: #404855;
    --bg-light: #F4F2ED;
    --white: #FAF8F5;

    --font-serif: 'Noto Serif', serif;
    --font-sans: 'Inter', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-main);
    line-height: 1.5;
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
}

h4 {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.h4 {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 254, 251, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #edf2f7;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo a:hover {
    color: var(--primary);
}

.logo a:hover span span {
    background: linear-gradient(to right, #407753, #bf953f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo img {
    height: 32px;
    display: block;
}

.logo span {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: inherit;
}

.desktop-menu {
    display: flex;
    gap: 2rem;
}

.desktop-menu a {
    color: var(--text-sub);
    font-weight: 500;
}

.desktop-menu a:hover {
    color: var(--primary);
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-text {
    color: var(--text-sub);
    font-weight: 500;
}

.btn-text:hover {
    color: var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-sub);
}

/* Mobile menu hidden on desktop – shown only in mobile breakpoint when .active */
.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    background-image: url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

/* Add an overlay to ensure text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.4) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    /* Bring content above overlay */
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    min-width: 0;
    /* grid can shrink on small screens */
}

.hero-text {
    max-width: 100%;
    /* Reset max-width restriction */
}

.accent {
    color: var(--accent);
    font-weight: 700;
}

/* Phone Mockup Styles */
.hero-mockup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    min-width: 0;
    /* allows flex/grid child to shrink below content size */
}

.phone-frame {
    width: 300px;
    max-width: 100%;
    height: 600px;
    background-color: #1a202c;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background-color: #1a202c;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f7fafc 0%, #e6fffa 100%);
}

.app-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-sub);
    font-weight: 500;
}

.hero-text .badge {
    display: inline-block;
    background-color: rgba(198, 246, 213, 0.5);
    color: var(--primary-dark);
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    background: linear-gradient(to right, #407753, #bf953f);
    /* Green to Gold gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    /* Ensures gradient applies correctly */
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-sub);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary-large {
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(47, 133, 90, 0.3);
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn-primary-large:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary-large {
    background-color: var(--white);
    color: var(--text-main);
    border: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn-secondary-large:hover {
    background-color: #f7fafc;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hero-bg-blur-1 {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: rgba(198, 246, 213, 0.5);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

.hero-bg-blur-2 {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 200px;
    height: 200px;
    background-color: rgba(56, 161, 105, 0.1);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
}

/* About Section */
.about {
    padding: 8rem 0;
    text-align: center;
    background-color: var(--white);
    overflow-x: hidden;
}

.about-content {
    max-width: 800px;
    width: 100%;
    min-width: 0;
    /* dozvoli suženje unutar containera */
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.about p {
    color: var(--text-sub);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    text-align: left;
}

.about-icon {
    display: flex;
    justify-content: center;
    color: var(--secondary);
}

.about ul li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--text-sub);
    margin-bottom: 0.5rem;
}

.about ul li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    margin-right: 0.5rem;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background-color: var(--bg-light);
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.features-header p {
    color: var(--text-sub);
}

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

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #edf2f7;
    transition: box-shadow 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-number {
    width: 48px;
    height: 48px;
    background-color: rgba(198, 246, 213, 0.3);
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-sans);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.feature-card p {
    font-size: 1rem;
    font-size: 1rem;
    color: var(--text-sub);
    margin-bottom: 1rem;
}

.feature-card ul li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--text-sub);
    margin-bottom: 0.5rem;
}

.feature-card ul li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.feature-number-c {
    font-family: var(--font-serif);
    position: relative;
    float: right;
    align-items: end;
    font-size: 3rem;
    font-weight: 700;
    color: #D9E4D9;
    top: -12px;
    left: -12px;
    z-index: 10;
    opacity: 0.5;
}

.feature-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: linear-gradient(135deg, rgba(198, 246, 213, 0.7), rgba(56, 161, 105, 0.15));
    border: 1px solid rgba(47, 133, 90, 0.3);
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Steps Section */
.steps {
    padding: 8rem 0;
    background-color: var(--white);
}

.steps-header {
    text-align: center;
    margin-bottom: 4rem;
}

.steps-header h2 {
    font-size: 2rem;
    color: #1a202c;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: left;
}

.step-item {
    position: relative;
    padding-top: 1rem;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: #D9E4D9;
    /* Very light green */
    line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.6;
}

.step-item h3 {
    font-family: var(--font-sans);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 2.5rem;
    /* Push down below number */
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    color: #1a202c;
}

.step-item p {
    font-size: 1rem;
    color: var(--text-sub);
    position: relative;
    z-index: 1;
}

/* Pricing Section */
.pricing {
    padding: 8rem 0;
    background-color: var(--bg-light);
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.pricing-header p {
    color: var(--text-sub);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-cta {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    padding-left: 20px;
    padding-right: 3rem;
}
.pricing-cta a {
    padding-left: 3rem;
    padding-right: 3rem;
}

.pricing-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card-header {
    margin-bottom: 1.5rem;
}

.pricing-card h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: #1a202c;
}

.pricing-card-header p {
    font-size: 1rem;
    color: var(--text-sub);
    margin-top: 0.5rem;
}

.price {
    margin-bottom: 1.5rem;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    font-family: var(--font-serif);
}

.price .period {
    color: var(--text-sub);
}

.pricing-card ul {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-card ul li {
    font-size: 1rem;
    color: var(--text-sub);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.pricing-card ul li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

.btn-outline {
    display: block;
    text-align: center;
    padding: 0.75rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 9999px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* FAQ Section */
.faq {
    padding: 8rem 0;
    text-align: center;
    background-color: var(--white);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a202c;
}

.faq-item {
    border-bottom: 1px solid var(--bg-light);
    padding: 1.25rem 0;
    margin: 0;
    text-align: left;
}

.faq-item:first-of-type {
    padding-top: 0;
}

.faq-item p.question {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.125rem;
    padding: 0;
    margin: 0 0 0.5rem 0;
}

.faq-item p.answer {
    color: var(--text-sub);
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 0 0 1.25rem;
    margin: 0;
    border-left: 3px solid var(--accent);
}

/* Request Early Access Section */
.request-early-access {
    background-color: var(--primary);
    padding: 5rem 0;
    text-align: center;
}

.request-early-access-content {
    max-width: 480px;
    margin: 0 auto;
}

.request-early-access h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.request-early-access-intro {
    color: rgba(250, 248, 245, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.request-early-access-success {
    color: var(--white);
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
}

.request-early-access-error {
    color: #feb2b2;
    background: rgba(0, 0, 0, 0.15);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.request-early-access-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
}

.request-early-access-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.request-early-access-form label {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
}

.request-early-access-form input {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(250, 248, 245, 0.4);
    border-radius: 0.5rem;
    background-color: var(--white);
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
}

.request-early-access-form input::placeholder {
    color: var(--text-sub);
}

.request-early-access-form input:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 0 2px rgba(250, 248, 245, 0.3);
}

.request-early-access-form select {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(250, 248, 245, 0.4);
    border-radius: 0.5rem;
    background-color: var(--white);
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
}

.request-early-access-form select:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 0 2px rgba(250, 248, 245, 0.3);
}

.request-early-access-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(250, 248, 245, 0.4);
    border-radius: 0.5rem;
    background-color: var(--white);
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 4rem;
}

.request-early-access-form textarea::placeholder {
    color: var(--text-sub);
}

.request-early-access-form textarea:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 0 2px rgba(250, 248, 245, 0.3);
}

.btn-early-access {
    margin-top: 0.5rem;
    padding: 0.875rem 1.5rem;
    background-color: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-early-access:hover {
    background-color: rgba(250, 248, 245, 0.9);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.request-early-access-nospam {
    text-align: center;
    color: var(--white);
    font-size: 0.9375rem;
    margin-top: 0.25rem;
}

.request-early-access-consent {
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    color: rgba(250, 248, 245, 0.85);
    line-height: 1.5;
    text-align: center;
}

.request-early-access-consent a {
    color: var(--white);
    text-decoration: underline;
}

.request-early-access-consent a:hover {
    text-decoration: none;
}

/* Privacy Policy Section */
.privacy-policy {
    padding: calc(5rem + 20px) 0 5rem;
    background-color: rgba(244, 242, 237, 0.7);
}

.privacy-policy-content {
    max-width: 860px;
    margin: 0 auto;
    background-color: rgba(255, 254, 251, 0.92);
    border: 1px solid #edf2f7;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.privacy-policy h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    line-height: 1.15;
    color: #1a202c;
    margin-bottom: 0.5rem;
    text-align: center;
}

.privacy-updated {
    text-align: center;
    color: var(--text-sub);
    margin-bottom: 2rem;
}

.privacy-policy h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--primary-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.privacy-policy p {
    color: var(--text-sub);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.privacy-policy ul {
    list-style: disc;
    margin: 0 0 1.25rem 1.25rem;
    padding: 0;
}

.privacy-policy li {
    margin-bottom: 0.4rem;
}

.privacy-policy a {
    color: var(--primary);
    text-decoration: underline;
}

.privacy-policy a:hover {
    text-decoration: none;
}

/* Popular Plan Styles */
.pricing-card.popular {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    transform: scale(1.05);
    /* Make it slightly bigger */
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #F6E05E;
    /* Yellow-400 */
    color: #1a202c;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-bottom-left-radius: 0.5rem;
    border-top-right-radius: 1rem;
}

.pricing-card.popular h3,
.pricing-card.popular .price .amount {
    color: var(--white);
}

.pricing-card.popular p,
.pricing-card.popular .price .period,
.pricing-card.popular ul li {
    color: #F0FFF4;
    /* Green-50 */
}

.pricing-card.popular ul li::before {
    color: #F0FFF4;
}

.btn-white {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background-color: var(--white);
    color: var(--primary);
    border-radius: 9999px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.btn-white:hover {
    background-color: #f7fafc;
}

/* Footer Section */
footer {
    background-color: #fafafa;
    padding: 4rem 0 2rem;
    border-top: 1px solid #edf2f7;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    height: 32px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.footer-logo span {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: #4a5568;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 1rem;
    color: var(--text-sub);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.footer-bottom p {
    font-size: 1rem;
    color: #a0aec0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #a0aec0;
    font-size: 1rem;
}

.social-links a:hover {
    color: var(--primary);
}


/* Responsive Styles */
@media (max-width: 900px) {
    .faq {
        padding: 5rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-image {
        order: -1;
    }

    /* Phone mockup ne prelazi širinu ekrana */
    .phone-frame {
        width: min(300px, 85vw);
        height: auto;
        aspect-ratio: 1 / 2;
    }

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

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

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

@media (max-width: 768px) {
    .desktop-menu, .cta-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Još uže na malim telefonima – bez horizontalnog skrola */
    .phone-frame {
        width: min(280px, 90vw);
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .about ul {
        max-width: 520px;
        margin: 0 auto 1rem;
        padding: 0;
        text-align: left;
    }

    .about ul li {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }

    .privacy-policy-content {
        padding: 2rem 1.25rem;
    }

    .privacy-policy h1 {
        font-size: 2rem;
    }

    .privacy-policy h2 {
        font-size: 1.25rem;
    }

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

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

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

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    /* Mobile Menu Styles */
    .mobile-menu {
        display: none;
        flex-direction: column;
        background-color: #fffefb;
        position: absolute;
        top: 80px;
        /* Height of navbar */
        left: 0;
        width: 100%;
        padding: 1.5rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid #edf2f7;
        z-index: 999;
    }

    .mobile-menu.active {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-menu a {
        padding: 0.75rem 0;
        font-weight: 500;
        color: var(--text-main);
        border-bottom: 1px solid #edf2f7;
    }

    .mobile-menu a:last-child {
        border-bottom: none;
    }

    .mobile-menu a:hover {
        color: var(--primary);
    }

    .mobile-menu hr {
        margin: 1rem 0;
        border: 0;
        border-top: 1px solid #edf2f7;
    }

    .mobile-btn-primary {
        background-color: var(--primary);
        color: var(--white) !important;
        text-align: center;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
        border: none !important;
    }

    /* FAQ – mobilna optimizacija */
    .faq {
        padding: 4rem 0;
    }

    .faq h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .faq-item {
        padding: 1rem 0;
    }

    .faq-item p.question {
        font-size: 1rem;
    }

    .faq-item p.answer {
        padding-left: 1rem;
        font-size: 0.9375rem;
    }
}