:root {
    --color-primary: #E62E4A;
    --color-dark: #1A2332; /* Tmavšia farba pre lepší kontrast (WCAG AA) */
    --color-light: #F4F6F9;
    --color-white: #FFFFFF;
    --focus-color: #E62E4A;
    --text-color: #1A2332; /* Pre lepší kontrast textu */
    --border-color: #CCCCCC;
}

/* ========================================
   ACCESSIBILITY STYLES (WCAG 2.1 AA)
   ======================================== */

/* Skip Link - WCAG 2.4.1 Obídenie blokov */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: #FFFFFF;
    padding: 12px 24px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--color-dark);
    outline-offset: 2px;
}

/* Visually Hidden - dostupné pre čítačky obrazovky */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Required field indicator */
.required {
    color: var(--color-primary); /* #E62E4A na #FFFFFF: 4.6:1 ✓ WCAG AA */
    font-weight: bold;
}

/* Error messages */
.error-message {
    display: block;
    color: var(--color-primary); /* #E62E4A na #FFFFFF: 4.6:1 ✓ WCAG AA */
    font-size: 0.875em;
    margin-top: 5px;
    min-height: 1.5em;
}

/* Focus štýly - WCAG 2.4.7 Viditeľný fokus */
*:focus {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

/* Špecifické focus štýly pre tlačidlá a linky */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Navigácia - sémantická ul/li */
.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
}

/* ========================================
   END ACCESSIBILITY STYLES
   ======================================== */

/* Dark Mode Variables - Readable, not too black */
body.dark-mode {
    --color-primary: #FF4D6D;
    --color-dark: #E8EAF6;
    --color-light: #252936;
    --color-white: #1a1d29;
    --bg-primary: #1a1d29;
    --bg-secondary: #252936;
    --bg-tertiary: #2d3142;
    --text-primary: #E8EAF6; /* WCAG AA kontrast na tmavom pozadí: #E8EAF6 na #1a1d29 = 12.5:1 ✓ */
    --text-secondary: #C5C8D6; /* Opravené z #B0B3C1: #C5C8D6 na #252936 = 4.6:1 ✓ WCAG AA */
    --border-color: #3a3f52;
    --text-color: #E8EAF6; /* Pre konzistentnosť */
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body.dark-mode .main-header {
    background-color: var(--bg-secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .service-item,
body.dark-mode .pricing-item,
body.dark-mode .comparison-item,
body.dark-mode .android-feature {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .service-item h3,
body.dark-mode .pricing-item h3,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
    color: var(--text-primary);
}

body.dark-mode #contact-form {
    background-color: var(--bg-tertiary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

body.dark-mode .form-group input:hover,
body.dark-mode .form-group textarea:hover,
body.dark-mode .form-group select:hover {
    border-color: rgba(255, 77, 109, 0.4);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus,
body.dark-mode .form-group select:focus {
    border-color: var(--color-primary);
    outline: 3px solid rgba(255, 77, 109, 0.3);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.15);
}

body.dark-mode .form-group label {
    color: var(--text-primary);
}

body.dark-mode .pricing-item.featured {
    background-color: var(--bg-tertiary);
    border: 2px solid var(--color-primary);
}

/* White text for buttons in dark mode */
body.dark-mode .primary-cta,
body.dark-mode .cta-button {
    color: #FFFFFF;
}

/* Footer Dark Mode */
body.dark-mode .main-footer {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

body.dark-mode .footer-heading {
    color: var(--text-primary);
    border-bottom-color: var(--color-primary);
}

body.dark-mode .footer-tagline,
body.dark-mode .footer-address,
body.dark-mode .footer-address p {
    color: var(--text-secondary);
}

body.dark-mode .footer-address strong {
    color: var(--text-primary);
}

body.dark-mode .footer-address a,
body.dark-mode .footer-nav a {
    color: var(--text-secondary);
}

body.dark-mode .footer-address a:hover,
body.dark-mode .footer-address a:focus,
body.dark-mode .footer-nav a:hover,
body.dark-mode .footer-nav a:focus {
    color: var(--color-primary);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--color-white);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* Prevent scrolling when menu is open - overflow: clip prevents scrollbar layout shift */
body.no-scroll {
    overflow: clip;
    touch-action: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 700;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
}

.primary-cta,
.cta-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, outline 0.2s, transform 0.2s;
    border: 2px solid var(--color-primary);
    cursor: pointer;
}

.primary-cta:hover,
.cta-button:hover {
    background-color: #CC2840;
    border-color: #CC2840;
}

.primary-cta:focus-visible,
.cta-button:focus-visible {
    outline: 3px solid var(--color-dark);
    outline-offset: 3px;
    background-color: #CC2840;
}

/* Špeciálny štýl pre Kontakt tlačidlo v navigácii */
.main-nav .cta-button {
    background: linear-gradient(135deg, #E62E4A 0%, #CC2840 100%);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    margin-left: 15px;
    box-shadow: 0 2px 8px rgba(230, 46, 74, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.main-nav .cta-button:hover {
    background: #000000;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border-color: #FFFFFF;
}

.main-nav .cta-button:focus-visible {
    outline: 3px solid var(--color-dark);
    outline-offset: 2px;
    background: linear-gradient(135deg, #CC2840 0%, #B02035 100%);
}

/* Header Styles */
.main-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-link {
    display: inline-block;
    height: 60px;
    z-index: 1002;
    position: relative;
}

.logo-img {
    height: 100%;
    width: auto;
    max-width: 200px;
    display: block;
    object-fit: contain;
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    background: none;
    border: none;
    font-size: 1.5em;
    color: var(--color-dark);
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 1002;
    order: 2;
}

.dark-mode-toggle:hover {
    color: var(--color-primary);
    transform: scale(1.1) rotate(15deg);
}

/* Hamburger Menu Button - Enhanced Animations */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    order: 3;
    position: relative;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--color-dark);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 3px;
    transform-origin: center;
}

/* Hover effect on hamburger */
.hamburger-menu:hover span {
    background-color: var(--color-primary);
}

/* Active state animations with bounce */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background-color: var(--color-primary);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background-color: var(--color-primary);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    order: 1;
    flex: 1;
    justify-content: flex-end;
    margin-right: 20px;
}

.main-nav a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1em;
    transition: color 0.3s ease, transform 0.2s ease, outline 0.2s;
    position: relative;
    padding: 8px 12px;
    border-radius: 5px;
}

.main-nav a:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
    background-color: rgba(230, 46, 74, 0.1);
}

/* Underline animation on hover */
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Menu Overlay */
.menu-overlay {
    display: none;
}

/* Hero Section - Optimized with modern image formats */
.hero-section {
    background-image: 
        linear-gradient(135deg, rgba(230, 46, 74, 0.4) 0%, rgba(230, 46, 74, 0.2) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-color: #F4F6F9;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid rgba(230, 46, 74, 0.2);
}

/* Hero background image */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('hero-pozadie.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Overlay pre lepšiu čitateľnosť textu nad obrázkom */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

/* Ensure content is above background */
.hero-section .container {
    position: relative;
    z-index: 2;
}


.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-subheadline {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.service-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-item {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.service-item i {
    font-size: 3em;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.5em;
}

/* Comparison Section (Custom vs WordPress) */
.comparison-section {
    padding: 80px 0;
}

.comparison-section .section-intro {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    color: var(--text-color);
    line-height: 1.6;
}

.comparison-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.comparison-item {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    flex: 1 1 300px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.comparison-item i {
    font-size: 3em;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.comparison-item h3 {
    font-size: 1.5em;
}

.comparison-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Android Integration Section */
.android-section {
    background-color: var(--color-light);
    padding: 80px 0;
    text-align: center;
}

.android-section .section-intro {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    color: var(--text-color);
    line-height: 1.6;
}

.android-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.android-feature {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}

.android-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.android-feature:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.feature-icon i {
    font-size: 2.5em;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-content p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Accessibility Section */
.accessibility-section {
    padding: 80px 0;
    background-color: var(--color-white);
    text-align: center;
}

.accessibility-section .section-intro {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
    color: var(--text-color);
    line-height: 1.6;
}

.accessibility-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-color);
    line-height: 1.6;
    text-align: left;
}

.accessibility-content p {
    margin-bottom: 20px;
}

.accessibility-list {
    margin: 20px 0 30px 30px;
    padding: 0;
    list-style-type: disc;
    text-align: left;
}

.accessibility-list li {
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.6;
}

.accessibility-content a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.accessibility-content a:hover,
.accessibility-content a:focus {
    color: #CC2840;
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Tech Section */
.tech-section {
    background-color: var(--color-light);
    padding: 60px 0;
    text-align: center;
}

.tech-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.tech-icons i {
    font-size: 4em;
    color: var(--text-color);
    opacity: 0.7;
    transition: color 0.3s, opacity 0.3s, outline 0.2s;
    cursor: help;
}

.tech-icons span {
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: border-color 0.2s, outline 0.2s, background-color 0.2s;
}

.tech-icons span:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
    border-color: var(--focus-color);
    background-color: rgba(230, 46, 74, 0.1);
}

.tech-icons span:hover {
    background-color: rgba(230, 46, 74, 0.05);
}

.tech-icons span:hover i {
    color: var(--color-primary);
    opacity: 1;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.pricing-item {
    background-color: var(--color-light);
    color: var(--text-color);
    padding: 40px 30px;
    border-radius: 8px;
    flex: 1 1 300px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-item:hover {
    transform: translateY(-5px);
}

.pricing-item h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--text-color);
}

.pricing-item .price {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 30px;
}

.pricing-item ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-item li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.pricing-item.featured {
    background-color: var(--color-dark); /* #1A2332 - tmavé pozadie */
    color: #FFFFFF; /* Biela farba textu pre lepšiu viditeľnosť */
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pricing-item.featured h3,
.pricing-item.featured .price {
    color: #FF6B8A; /* Svetlejšia farba pre lepší kontrast na tmavom pozadí: #FF6B8A na #1A2332 = 5.1:1 ✓ WCAG AA */
}

.pricing-item.featured li {
    color: #FFFFFF; /* Biela farba pre list items */
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-item.featured p {
    color: #FFFFFF; /* Biela farba pre odstavce */
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--color-light);
    color: var(--text-color);
    text-align: center;
}

.contact-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--text-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    text-align: left;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    color: var(--text-color);
    background-color: var(--color-white);
    font-family: inherit;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: rgba(230, 46, 74, 0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    outline: 3px solid rgba(230, 46, 74, 0.2);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(230, 46, 74, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

#contact-form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
    padding: 14px 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
}

#contact-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 46, 74, 0.3);
}

/* Footer */
.main-footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 40px 0 20px;
    font-size: 0.9em;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section {
    text-align: left;
}

.footer-heading {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: var(--color-white);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.footer-address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.footer-address p {
    margin: 8px 0;
}

.footer-address strong {
    color: var(--color-white);
    font-weight: 600;
}

.footer-address a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-address a:hover,
.footer-address a:focus {
    color: var(--color-primary);
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: var(--color-primary);
    padding-left: 5px;
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}


/* Subpage Hero (accessibility, privacy) */
.hero-section--subpage {
    padding: 60px 0;
    min-height: auto;
}

/* Content Section for articles */
.content-section--article {
    padding: 60px 0;
    background-color: var(--color-white);
}

.container--narrow {
    max-width: 800px;
}

/* Info box for highlighted content */
.info-box {
    background-color: var(--color-light);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Content lists in articles */
.content-list {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Privacy article styles */
.privacy-article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Thank You Page */
.thank-you-section {
    padding: 120px 0 100px 0;
}

.thank-you-heading {
    color: var(--text-color);
}

.thank-you-text {
    font-size: 1.2em;
}

.thank-you-cta {
    margin-top: 30px;
}

/* Form validation styles */
input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(230, 46, 74, 0.2);
}

/* Last updated text */
.last-updated {
    margin-top: 40px;
    font-size: 0.9em;
    color: #4A5568;
}

body.dark-mode .last-updated {
    color: var(--text-secondary);
}

/* Cookie Consent Banner - Lower z-index to not block menu */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 998;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 3px solid var(--color-primary);
    transform: translateY(100%);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text p {
    margin: 5px 0;
    font-size: 0.95em;
    line-height: 1.5;
}

.cookie-text strong {
    font-size: 1.1em;
    color: var(--color-dark);
}

.cookie-text a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-text a:hover {
    color: #CC2840;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.cookie-accept {
    background-color: var(--color-primary);
    color: white;
}

.cookie-accept:hover {
    background-color: #CC2840;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230, 46, 74, 0.3);
}

.cookie-decline {
    background-color: #E0E0E0; 
    color: var(--color-dark);
}

.cookie-decline:hover {
    background-color: #D4D4D4; 
    transform: translateY(-2px);
}

/* Dark mode cookie banner */
body.dark-mode .cookie-consent {
    background-color: var(--bg-secondary);
    border-top-color: var(--color-primary);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

body.dark-mode .cookie-text strong {
    color: var(--text-primary);
}

body.dark-mode .cookie-text p {
    color: var(--text-secondary); 
}

body.dark-mode .cookie-decline {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

body.dark-mode .cookie-decline:hover {
    background-color: #3a3f52; 
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    /* Show hamburger menu */
    .hamburger-menu {
        display: flex;
        position: relative;
        z-index: 1003;
    }

    /* Position dark mode toggle */
    .dark-mode-toggle {
        position: absolute;
        right: 50px;
        z-index: 1003;
        font-size: 1.3em;
        padding: 8px;
    }
    
    /* Mobile Navigation with slide-in animation */
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), visibility 0.4s;
        z-index: 1001;
        margin: 0;
        visibility: hidden;
        transform: translateX(100%);
        overflow-y: auto;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
    }

    body.dark-mode .main-nav {
        background-color: var(--bg-secondary);
    }

    .main-nav.active {
        transform: translateX(0);
        visibility: visible;
    }

    .main-nav a {
        margin: 20px 0;
        margin-left: 0;
        font-size: 1.2em;
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease, opacity 0.5s ease, transform 0.5s ease;
    }

    /* Staggered animation for menu items - updated for li structure */
    .main-nav.active li:nth-child(1) a {
        animation: slideInLeft 0.4s ease forwards 0.1s;
    }

    .main-nav.active li:nth-child(2) a {
        animation: slideInLeft 0.4s ease forwards 0.2s;
    }

    .main-nav.active li:nth-child(3) a {
        animation: slideInLeft 0.4s ease forwards 0.3s;
    }

    .main-nav.active li:nth-child(4) a {
        animation: slideInLeft 0.4s ease forwards 0.4s;
    }

    .main-nav.active li:nth-child(5) a {
        animation: slideInLeft 0.4s ease forwards 0.5s;
    }

    /* Remove underline animation on mobile */
    .main-nav a::after {
        display: none;
    }

    body.dark-mode .main-nav a {
        border-bottom-color: var(--border-color);
    }

    /* Menu Overlay with blur effect */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.4s ease;
        backdrop-filter: blur(2px);
    }

    body.menu-open .menu-overlay {
        display: block;
        opacity: 1;
    }

    /* Adjust header layout */
    .main-header .container {
        flex-wrap: nowrap;
    }

    .logo-link {
        height: 50px;
    }

    /* Hero Section - Mobile */
    .hero-section {
        padding: 50px 0;
        min-height: 400px;
        background-attachment: scroll;
    }

    .hero-section h1 {
        font-size: 2em;
        padding: 0 15px;
        line-height: 1.2;
    }
    
    .hero-subheadline {
        font-size: 1.1em;
        padding: 0 15px;
    }
    
    .hero-section .primary-cta {
        margin-top: 20px;
        padding: 14px 25px;
        font-size: 1em;
    }

    /* Headings - Mobile */
    h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    h3 {
        font-size: 1.3em;
    }
    
    /* Comparison Section - Mobile */
    .comparison-section {
        padding: 60px 0;
    }
    
    .comparison-section .section-intro,
    .android-section .section-intro,
    .accessibility-section .section-intro {
        font-size: 1em;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .comparison-grid {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .comparison-item {
        flex: 1 1 100%;
        padding: 25px 20px;
    }
    
    .comparison-item i {
        font-size: 2.5em;
        margin-bottom: 15px;
    }
    
    .comparison-item h3 {
        font-size: 1.3em;
        margin-bottom: 12px;
    }
    
    .comparison-item p {
        font-size: 0.95em;
        line-height: 1.6;
    }
    
    /* Android Section - Mobile */
    .android-section {
        padding: 60px 0;
    }
    
    .android-features {
        padding: 0 15px;
        gap: 25px;
    }
    
    .android-feature {
        flex-direction: column !important;
        text-align: center;
        padding: 25px 20px;
        gap: 20px;
    }
    
    .android-feature:nth-child(even) {
        flex-direction: column !important;
    }
    
    .feature-icon {
        margin: 0 auto 20px;
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 2em;
    }
    
    .feature-content {
        text-align: center;
    }
    
    .feature-content h3 {
        font-size: 1.3em;
        margin-bottom: 12px;
    }
    
    .feature-content p {
        text-align: left;
        font-size: 0.95em;
        line-height: 1.6;
    }
    
    /* Accessibility Section - Mobile */
    .accessibility-section {
        padding: 60px 0;
    }
    
    .accessibility-content {
        padding: 0 15px;
    }
    
    .accessibility-content p {
        font-size: 0.95em;
        margin-bottom: 15px;
    }
    
    .accessibility-list {
        margin-left: 20px;
        margin-right: 15px;
    }
    
    .accessibility-list li {
        font-size: 0.9em;
        margin-bottom: 10px;
    }
    
    /* Contact Section - Mobile */
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-section p {
        font-size: 1em;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    #contact-form {
        padding: 25px 20px;
        margin: 30px 15px 0;
        max-width: calc(100% - 30px);
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group label {
        font-size: 0.95em;
        margin-bottom: 8px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 14px;
        font-size: 1em;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    #contact-form button[type="submit"] {
        padding: 14px 20px;
        font-size: 1em;
        margin-top: 5px;
    }

    /* Pricing Grid - Mobile */
    .pricing-grid {
        flex-direction: column;
        padding: 0 15px;
    }

    .pricing-item {
        margin-bottom: 20px;
        flex: 1 1 100%;
    }

    .pricing-item.featured {
        transform: scale(1.0);
    }
    
    /* Footer - Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 0 15px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-heading {
        font-size: 1.1em;
    }
    
    .footer-address,
    .footer-tagline {
        font-size: 0.9em;
    }
    
    /* Container padding on mobile */
    .container {
        padding: 0 15px;
    }
    
    /* Cookie banner mobile layout */
    .cookie-consent {
        z-index: 998;
        border-top-width: 2px;
        left: 0;
        right: 0;
        width: 100%;
    }
    
    /* Subpage hero - Mobile */
    .hero-section--subpage {
        padding: 40px 0;
        min-height: auto;
    }
    
    /* Content article pages - Mobile */
    .content-section--article {
        padding: 40px 0;
    }
    
    .container--narrow {
        padding: 0 15px;
    }
    
    .privacy-article {
        padding: 25px 20px;
    }
    
    .info-box {
        padding: 12px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: left;
        padding: 12px 15px;
        gap: 10px;
        align-items: stretch;
        max-width: 100%;
        margin: 0;
    }
    
    .cookie-text {
        flex: 1;
        min-width: 0;
        text-align: left;
    }
    
    .cookie-text p {
        font-size: 0.9em;
        margin: 3px 0;
        line-height: 1.4;
    }
    
    .cookie-text strong {
        font-size: 1em;
        display: inline;
        margin-right: 5px;
    }
    
    .cookie-buttons {
        flex-shrink: 0;
        justify-content: flex-end;
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .cookie-btn {
        flex: 0 0 auto;
        min-width: 90px;
        padding: 10px 18px;
        font-size: 0.9em;
        white-space: nowrap;
    }
}

/* Keyframe Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Accessibility: Reduced Motion (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}