/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed header */
}

section {
    margin: 0;
    border: none;
    outline: none;
}

/* CSS Custom Properties for responsive values */
:root {
    /* Desktop default values */
    --container-padding: 20px;
    --hero-padding: 60px 0 0px;
    --brand-name-size: 4rem;
    --phone-max-width: 800px;
    --content-grid-columns: 1fr 2fr;
    --content-gap: 3rem;
    --step-header-size: 3rem;
    --toggle-padding: 20px 0;
    --toggle-gap: 1rem;
    --content-section-padding: 40px 0;
    --step-features-gap: 1rem;
    --step-feature-padding: 1rem;
    --floating-shapes-display: block;
    --hero-wrapper-overflow: visible;
    --hero-content-transform: translateY(-60px);
    --kako-button-position: absolute;
    --kako-button-top: 140%;
    --kako-button-left: -80px;
    --kako-button-transform: rotate(-2deg);
    --tagline-position: absolute;
    --tagline-right: 400px;
    --tagline-left: auto;
    --tagline-top: 20%;
    --value-proposition-position: absolute;
    --value-proposition-right: -50px;
    --value-proposition-left: auto;
    --value-proposition-top: 80%;
    --nav-display: flex;
    --mobile-menu-display: none;
    --hero-min-height: 100vh;
    --hero-content-grid: 1fr 1fr;
    --hero-text-align: left;
    --hero-gap: 4rem;
}

/* Mobile breakpoint adjustments */
@media (max-width: 768px) {
    :root {
        --container-padding: 15px;
        --hero-padding: 40px 0 40px;
        --brand-name-size: 2.2rem;
        --phone-max-width: 450px;
        --content-phone-max-width: 350px;
        --content-grid-columns: 0.6fr 1fr;
        --content-gap: 0.3rem;
        --step-header-size: 2rem;
        --toggle-padding: 25px 0;
        --toggle-gap: 1.5rem;
        --content-section-padding: 50px 0;
        --step-features-gap: 0.8rem;
        --step-feature-padding: 0.8rem;
        --floating-shapes-display: block;
        --hero-wrapper-overflow: hidden;
        --hero-content-transform: none;
        --kako-button-position: absolute;
        --kako-button-top: 85%;
        --kako-button-left: 50%;
        --kako-button-transform: translate(-50%, -50%) rotate(-2deg);
        --tagline-position: absolute;
        --tagline-right: auto;
        --tagline-left: 25px;
        --tagline-top: 15%;
        --value-proposition-position: absolute;
        --value-proposition-right: 40px;
        --value-proposition-left: auto;
        --value-proposition-top: 45%;
        --nav-display: none;
        --mobile-menu-display: flex;
        --hero-min-height: 100vh;
        --hero-content-grid: 1fr;
        --hero-text-align: left;
        --hero-gap: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 8px;
        --hero-padding: 35px 0 30px;
        --brand-name-size: 2rem;
        --phone-max-width: 380px;
        --content-gap: 1.5rem;
        --step-header-size: 1.8rem;
        --toggle-padding: 20px 0;
        --toggle-gap: 1.2rem;
        --content-section-padding: 35px 0;
        --step-features-gap: 0.6rem;
        --step-feature-padding: 0.6rem;
        --tagline-left: 10px;
        --tagline-top: 12%;
        --value-proposition-right: 25px;
        --value-proposition-top: 42%;
    }
}

@media (max-width: 360px) {
    :root {
        --container-padding: 6px;
        --hero-padding: 30px 0 25px;
        --brand-name-size: 1.8rem;
        --phone-max-width: 320px;
        --content-gap: 1.2rem;
        --step-header-size: 1.5rem;
        --toggle-padding: 15px 0;
        --toggle-gap: 0.8rem;
        --content-section-padding: 20px 0;
        --step-features-gap: 0.3rem;
        --step-feature-padding: 0.3rem;
        --tagline-left: 13px;
        --tagline-top: 10%;
        --value-proposition-right: 30px;
        --value-proposition-top: 40%;
    }
}

@media (max-width: 320px) {
    :root {
        --container-padding: 3px;
        --hero-padding: 25px 0 25px;
        --brand-name-size: 1.8rem;
        --phone-max-width: 290px;
        --content-gap: 1rem;
        --step-header-size: 1.3rem;
        --toggle-padding: 12px 0;
        --toggle-gap: 0.6rem;
        --content-section-padding: 15px 0;
        --step-features-gap: 0.25rem;
        --step-feature-padding: 0.25rem;
        --tagline-left: 17px;
        --tagline-top: 8%;
        --value-proposition-right: 35px;
        --value-proposition-top: 38%;
    }
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden;
    min-width: 280px;
}

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

/* Header - Uses responsive nav display */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #e91e63;
    letter-spacing: -0.02em;
}

.nav {
    display: var(--nav-display);
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    height: 44px;
}

.nav a:hover {
    color: #e91e63;
}

.nav-login-btn {
    background: #e91e63 !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3) !important;
}

.nav-login-btn:hover {
    background: #ad1457 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4) !important;
}

.mobile-menu-btn {
    display: var(--mobile-menu-display);
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #e91e63;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Wrapper - Optimized dots effect for performance */
.hero-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: var(--hero-wrapper-overflow);
}

/* Simple gradient overlay - no animation on mobile */
.hero-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(233, 30, 99, 0.1) 0%, transparent 60%);
    animation: gradientShift 60s ease-in-out infinite;
    will-change: transform;
}

/* Lightweight dots pattern */
.hero-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: dotsFloat 30s linear infinite;
    z-index: 1;
    will-change: transform;
}

/* Desktop-only animations */
@media (min-width: 769px) {
    .hero-wrapper::before {
        background: 
            radial-gradient(circle at 20% 80%, rgba(233, 30, 99, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
        animation: gradientShift 40s ease-in-out infinite;
    }
    
    .hero-wrapper::after {
        background-image: 
            radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
            radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
        background-size: 50px 50px, 30px 30px;
        background-position: 0 0, 15px 15px;
        animation: dotsWave 25s linear infinite;
    }
}

/* Simple animations for mobile */
@keyframes gradientShift {
    0%, 100% { 
        transform: rotate(0deg);
    }
    50% { 
        transform: rotate(180deg);
    }
}

@keyframes dotsFloat {
    0%, 100% { 
        transform: translateX(0px);
    }
    50% { 
        transform: translateX(20px);
    }
}

/* Complex animation only for desktop */
@keyframes dotsWave {
    0% { 
        transform: translateX(0px) translateY(0px);
        opacity: 0.15;
    }
    25% { 
        transform: translateX(15px) translateY(-8px);
        opacity: 0.2;
    }
    50% { 
        transform: translateX(0px) translateY(0px);
        opacity: 0.1;
    }
    75% { 
        transform: translateX(-15px) translateY(8px);
        opacity: 0.18;
    }
    100% { 
        transform: translateX(0px) translateY(0px);
        opacity: 0.15;
    }
}

/* Simplified Floating Shapes - static on mobile */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: var(--floating-shapes-display);
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 25px 25px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    opacity: 0.6;
}

/* Desktop-only floating animation */
@media (min-width: 769px) {
    .floating-shapes {
        background-image: 
            radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
            radial-gradient(circle at 3px 3px, rgba(233, 30, 99, 0.2) 2px, transparent 2px);
        background-size: 20px 20px, 60px 60px;
        background-position: 0 0, 30px 30px;
        animation: floatingSimple 40s ease-in-out infinite;
    opacity: 0.8;
}
}

@keyframes floatingSimple {
    0%, 100% { 
        transform: translateX(0) translateY(0);
    }
    50% { 
        transform: translateX(-10px) translateY(10px);
    }
}

/* Remove 3D effects for better mobile performance */
@media (min-width: 769px) {
    .hero-wrapper {
        transform-style: preserve-3d;
        perspective: 1000px;
    }
}

/* Hero Section - Uses responsive values */
.hero {
    padding: var(--hero-padding);
    background: transparent;
    min-height: var(--hero-min-height);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero .hero-content {
    transform: var(--hero-content-transform);
}

.hero-content {
    display: grid;
    grid-template-columns: var(--hero-content-grid);
    gap: var(--hero-gap);
    align-items: center;
    position: relative;
    z-index: 2;
    overflow: visible;
    text-align: var(--hero-text-align);
}

.hero-text {
    color: white;
    position: relative;
}

.brand-highlight {
    margin-bottom: 3rem;
}

.brand-name {
    font-size: var(--brand-name-size);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    word-wrap: break-word;
    hyphens: auto;
}

.tagline-badge {
    position: var(--tagline-position);
    right: var(--tagline-right);
    left: var(--tagline-left, auto);
    top: var(--tagline-top);
    background: #e91e63;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 8px 32px rgba(233, 30, 99, 0.3);
    transform: rotate(-2deg);
    max-width: 280px;
    z-index: 50;
    pointer-events: none;
}

.value-proposition-badge {
    position: var(--value-proposition-position);
    right: var(--value-proposition-right);
    left: var(--value-proposition-left, auto);
    top: var(--value-proposition-top);
    transform: translateY(-50%) rotate(3deg);
    background: #e91e63;
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 15px 50px rgba(233, 30, 99, 0.4);
    max-width: 320px;
    z-index: 100;
    pointer-events: none;
}

.feature-highlight {
    background: rgba(233, 30, 99, 0.9);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(233, 30, 99, 0.2);
}

.feature-highlight h2 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.app-download {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.download-btn {
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.download-btn img {
    height: 60px;
    border-radius: 8px;
}

/* Phone Image - Uses responsive values */
.hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
    min-height: 400px;
    overflow: visible;
}

.phone-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-phone::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(233, 30, 99, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: shadowPulse 6s ease-in-out infinite;
}

@keyframes shadowPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}



.phone-image {
    max-width: var(--phone-max-width);
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25)) drop-shadow(0 15px 35px rgba(233, 30, 99, 0.15));
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: phoneFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.phone-image:hover {
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.3)) drop-shadow(0 20px 50px rgba(233, 30, 99, 0.2));
}

.kako-button {
    position: var(--kako-button-position);
    top: var(--kako-button-top);
    left: var(--kako-button-left);
    transform: var(--kako-button-transform);
    background: #fff;
    color: #e91e63;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1500;
    animation: kakoBounce 3s ease-in-out infinite;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    isolation: isolate;
    min-width: 44px;
    min-height: 44px;
}

.kako-button:hover {
    background: #e91e63;
    color: white;
    transform: var(--kako-button-transform) scale(1.1);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.3);
    animation-play-state: paused;
}

@keyframes kakoBounce {
    0%, 100% { 
        transform: var(--kako-button-transform) translateY(0px);
    }
    50% { 
        transform: var(--kako-button-transform) translateY(-8px);
    }
}



/* Toggle Section - Uses responsive values */
.toggle-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: var(--toggle-padding);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--toggle-gap);
    max-width: 800px;
    margin: 0 auto;
}

.toggle-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(233, 30, 99, 0.1);
}

.toggle-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toggle-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.3rem 0.7rem;
    border-radius: 25px;
    white-space: nowrap;
}

.toggle-label.active {
    color: #e91e63;
    background: rgba(233, 30, 99, 0.1);
}

.toggle-switch {
    width: 60px;
    height: 30px;
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.toggle-switch:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.toggle-slider {
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.toggle-slider.active {
    transform: translateX(30px);
}

/* Steps Section */


.integrated-steps {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.integrated-steps .step-item {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.4rem;
    border-radius: 8px;
    min-width: 44px;
    min-height: 44px;
}

.integrated-steps .step-item:hover {
    background: rgba(233, 30, 99, 0.1);
    transform: translateY(-2px);
}

.integrated-steps .step-item.active {
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.integrated-steps .step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(233, 30, 99, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.integrated-steps .step-item.active .step-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Content Sections - Uses responsive values */
.content-section {
    padding: var(--content-section-padding);
    background: white;
    transition: all 0.6s ease;
    opacity: 1;
    transform: translateY(0);
}

.content-section.hidden {
    display: none;
}

.content-grid {
    display: grid;
    grid-template-columns: var(--content-grid-columns);
    gap: var(--content-gap);
    align-items: center;
    text-align: var(--hero-text-align);
}

.content-text {
    padding: 0;
}

.content-text > p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Step Header - Uses responsive values */
.step-header {
    text-align: center;
    margin-bottom: 3rem;
}

.step-header h2 {
    font-size: var(--step-header-size);
    font-weight: 700;
    color: #333;
    margin: 0;
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

/* Step Features - Uses responsive values */
.step-features {
    display: flex;
    flex-direction: column;
    gap: var(--step-features-gap);
    margin-top: 2rem;
}

.step-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: var(--step-feature-padding);
    background: rgba(233, 30, 99, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.step-feature:hover {
    background: rgba(233, 30, 99, 0.1);
    transform: translateX(5px);
}

.feature-bullet {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Steps Container */
.steps-container {
    display: flex;
    flex-direction: column;
}

/* Steps Content */
.steps-content {
    position: relative;
}

.step-content {
    display: none;
    animation: fadeInStep 0.5s ease-out;
}

.step-content.active {
    display: block;
}

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

/* Content Image - Uses responsive values */
.content-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-phone {
    max-width: var(--phone-max-width);
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
    animation: contentPhoneFloat 6s ease-in-out infinite;
}

.content-phone:hover {
    transform: translateY(-10px) scale(1.02);
}

@keyframes contentPhoneFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Placeholder content */
.placeholder-content {
    width: 800px;
    height: 900px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 30px;
    text-align: center;
    padding: 2rem 1rem;
    color: #6c757d;
    border: 2px dashed #dee2e6;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15)) drop-shadow(0 15px 35px rgba(233, 30, 99, 0.1));
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.placeholder-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.placeholder-text strong {
    color: #495057;
    font-weight: 600;
}

.placeholder-text code {
    background: rgba(233, 30, 99, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #e91e63;
    font-weight: 600;
}

.placeholder-text small {
    opacity: 0.8;
    font-size: 0.8rem;
}

.content-image .placeholder-content {
    width: var(--phone-max-width);
    height: 450px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    border: 2px dashed #dee2e6;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 85%);
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    color: white;
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.pricing-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.pricing-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    border: 1px solid #e0e0e0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    color: #2c3e50;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #e91e63;
}

.pricing-card.free-plan:hover {
    border-color: #e91e63;
}

.pricing-card.premium-plan:hover {
    border-color: #ad1457;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.plan-badge.premium {
    background: linear-gradient(135deg, #ad1457, #880e4f);
    color: white;
    box-shadow: 0 4px 15px rgba(173, 20, 87, 0.4);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 2rem;
}

.plan-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.plan-price {
    margin-bottom: 1rem;
}

.plan-price .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #e91e63;
}

.plan-price .period {
    font-size: 1rem;
    opacity: 0.6;
    color: #6c757d;
}

.plan-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.5;
}

.plan-features {
    margin-bottom: 2rem;
    flex-grow: 1;
    padding: 1rem 0;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    color: #2c3e50;
    line-height: 1.4;
}

.feature-icon {
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.plan-pricing-details {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    margin-top: auto;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.pricing-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.pricing-value {
    font-weight: 700;
    font-size: 1rem;
    color: #2c3e50;
}

.pricing-value.highlight {
    color: #e91e63;
    font-weight: 800;
}

.savings-info {
    text-align: center;
    margin-top: 1rem;
}

.savings-text {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.savings-text.free-plan-note {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.plan-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.plan-btn.primary-btn {
    background: linear-gradient(135deg, #e91e63, #c2185b);
    color: white;
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.3);
}

.plan-btn.primary-btn:hover {
    background: linear-gradient(135deg, #c2185b, #e91e63);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.4);
}

.plan-btn.premium-btn {
    background: linear-gradient(135deg, #ad1457, #880e4f);
    color: white;
    box-shadow: 0 6px 20px rgba(173, 20, 87, 0.3);
}

.plan-btn.premium-btn:hover {
    background: linear-gradient(135deg, #880e4f, #ad1457);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(173, 20, 87, 0.4);
}

/* CTA Section */
.platform-access-section {
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
    padding: 80px 0;
    color: white;
}

.cta-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-content {
    text-align: left;
}

.cta-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.primary-action {
    text-align: left;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-btn.primary {
    background: white;
    color: #e91e63;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-btn.primary:hover .btn-arrow {
    transform: translateX(5px);
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.secondary-action {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-text {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
}

.download-section {
    text-align: center;
}

.download-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.download-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.download-badge {
    position: relative;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.download-badge img {
    height: 50px;
    filter: grayscale(0.3);
}

.coming-soon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* QR Code Placeholder */
.qr-code-section {
    margin: 2rem 0;
}

.qr-placeholder {
    text-align: center;
}

.qr-code-box {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 0.75rem;
}

.qr-pattern {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 6px;
    overflow: hidden;
}

.qr-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 2px;
}

.qr-corner:nth-child(1) {
    top: 4px;
    left: 4px;
    background: #333;
}

.qr-corner:nth-child(2) {
    top: 4px;
    right: 4px;
    background: #333;
}

.qr-corner:nth-child(3) {
    bottom: 4px;
    left: 4px;
    background: #333;
}

.qr-corner:nth-child(4) {
    bottom: 4px;
    right: 4px;
    background: #333;
    transform: scale(0.7);
}

.qr-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    width: 60px;
    height: 60px;
}

.qr-dots span {
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 1px;
    opacity: 0.8;
}

.qr-dots span:nth-child(2n) {
    opacity: 0.4;
}

.qr-dots span:nth-child(3n) {
    opacity: 0.6;
}

.reverio-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: #e91e63;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    border: 3px solid white;
}

.qr-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.qr-text {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero QR Code */
.hero-download-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-qr-placeholder {
    text-align: center;
}

.hero-qr-code-box {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
}

.hero-qr-text {
    font-size: 0.75rem;
    color: white;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.mobile-downloads {
    flex-direction: row;
    gap: 0.5rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #e91e63;
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
}

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

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e91e63;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #e91e63;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.developer-credit {
    font-size: 0.85rem;
    opacity: 0.8;
}

.developer-credit a {
    color: #e91e63;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.developer-credit a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Professional hover states with consistent timing */
.toggle-switch,
.step-item,
.pricing-card,
.access-option,
.step-feature,
.kako-button,
.download-btn,
.plan-btn,
.access-btn,
.nav a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Consistent box shadows */
.toggle-options,
.pricing-card,
.access-option,
.step-feature,
.nav.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.toggle-options:hover,
.pricing-card:hover,
.access-option:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Professional button states */
.kako-button,
.plan-btn,
.access-btn,
.nav-login-btn {
    position: relative;
    overflow: hidden;
}

.kako-button::before,
.plan-btn::before,
.access-btn::before,
.nav-login-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.kako-button:hover::before,
.plan-btn:hover::before,
.access-btn:hover::before,
.nav-login-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Optimize only dots animations on mobile */
@media (max-width: 768px) {
    /* Simplify only the background dots effects */
    .hero-wrapper::after {
        animation-duration: 40s;
        animation-timing-function: linear;
    }
    
    .hero-wrapper::before {
        animation: none;
        transform: none;
    }
    
    .floating-shapes {
        animation: none;
        opacity: 0.4;
    }
}

/* Desktop optimization for button clickability */
@media (min-width: 769px) {
    .kako-button {
        z-index: 1500 !important;
        pointer-events: auto !important;
        position: absolute !important;
    }
    
    /* Desktop button isolation - same approach as mobile */
    .download-btn,
    .app-download a,
    .app-download {
        pointer-events: auto !important;
        position: relative !important;
        z-index: 9999 !important;
        display: inline-block !important;
        cursor: pointer !important;
        isolation: isolate;
    }
    
    /* Special handling for ZANIMA TE VIŠE button to preserve positioning */
    .kako-button {
        pointer-events: auto !important;
        position: absolute !important;
        z-index: 9999 !important;
        cursor: pointer !important;
        isolation: isolate;
        /* Keep original positioning variables */
        top: var(--kako-button-top);
        left: var(--kako-button-left);
        transform: var(--kako-button-transform);
    }
    
    /* Block all background elements from intercepting clicks */
    .hero-wrapper,
    .hero-wrapper::before,
    .hero-wrapper::after,
    .floating-shapes,
    .floating-shape,
    .tagline-badge,
    .value-proposition-badge,
    .phone-image,
    .hero-content,
    .hero-phone,
    .phone-container {
        pointer-events: none !important;
    }
    
    /* Allow specific interactive containers */
    .hero-text,
    .app-download,
    .desktop-only {
        pointer-events: auto !important;
        z-index: 9000 !important;
        position: relative !important;
    }
    
    .hero-phone {
        overflow: visible !important;
        flex-direction: row !important;
        gap: 0 !important;
    }
    
    .hero-content {
        overflow: visible !important;
    }
    
    .hero-wrapper {
        overflow: visible !important;
    }
    
    .container {
        overflow: visible !important;
    }
    
    /* Desktop visibility controls */
    .mobile-only {
        display: none !important;
    }
    
    .desktop-only {
        display: flex !important;
    }
    
    /* Show original elements on desktop */
    .phone-container .kako-button {
        display: block !important;
    }
    
    .hero-text .brand-highlight {
        display: block !important;
    }
    
    /* Desktop-only: Make step phone images half size */
    .content-phone {
        max-width: 350px;
    }
    
    .content-image .placeholder-content {
        max-width: 350px;
        width: 350px;
    }
}

/* MOBILE-SPECIFIC ADJUSTMENTS */
/* These styles only apply to mobile and won't affect desktop */

@media (max-width: 768px) {
    /* Override hero wrapper for mobile */
    .hero-wrapper::before {
        display: none;
    }
    
    .hero-wrapper::after {
        background-size: 30px 30px;
        opacity: 0.6;
    }
    
    /* Mobile-specific positioning for badges */
    .tagline-badge {
        font-size: 0.6rem;
        padding: 0.5rem 0.7rem;
        max-width: 140px;
        z-index: 5;
        line-height: 1.2;
        pointer-events: none;
    }
    
    .value-proposition-badge {
        font-size: 0.65rem;
        padding: 0.7rem 0.9rem;
        max-width: 160px;
        z-index: 5;
        line-height: 1.3;
        pointer-events: none;
    }
    
    /* Mobile hero adjustments */
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: var(--hero-padding);
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        min-height: calc(100vh - 120px);
        width: 100%;
        padding: 0;
        position: relative;
        z-index: 10;
    }
    
    .hero-phone {
        position: relative;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        min-height: auto;
        gap: 0.5rem;
        flex: 1;
        width: 100%;
        text-align: center;
    }
    
    .phone-container {
        margin-top: 0;
        padding-top: 0;
    }
    

    
    /* Mobile header adjustments */
    .header {
        padding: 0.5rem 0;
    }
    
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        min-height: 44px;
    }
    
    .logo {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        padding-left: 1rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
        margin: 0;
        padding: 0;
        line-height: 1;
        white-space: nowrap;
        display: flex;
        align-items: center;
    }
    
    .mobile-menu-btn {
        padding: 0.3rem;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        min-width: 44px;
    }
    
    .mobile-menu-btn span {
        width: 20px;
        height: 2px;
    }
    
    /* Mobile navigation */
    .nav {
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        right: 20px;
        background: white;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 1001;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        color: #333;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        transition: background-color 0.3s ease;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .nav a:hover {
        background-color: #f8f9fa;
    }
    
    .header .container {
        position: relative;
    }
    
    /* Mobile-specific step features */
    .step-feature {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        border-radius: 12px;
    }
    
    .step-feature:hover {
        transform: translateY(-2px);
    }
    
    .feature-bullet {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
        flex-shrink: 0;
    }
    
    /* Mobile footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    /* Mobile access options */
    .access-options {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .web-app-option,
    .mobile-app-option {
        padding: 2rem;
    }
    
    .web-app-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    /* Mobile visibility controls */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: flex !important;
        position: relative;
        z-index: 1000;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
    }
    
    /* Hide original elements on mobile */
    .phone-container .kako-button {
        display: none !important;
    }
    
    .hero-text .brand-highlight {
        display: none !important;
    }
    
    .mobile-kako-button {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 3.95rem auto 1rem auto;
        background: #fff;
        color: #e91e63;
        padding: 0.7rem 1.3rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 44px;
        min-height: 44px;
        animation: none !important;
        z-index: 2000 !important;
        pointer-events: auto !important;
        display: block !important;
        text-align: center;
        align-self: center;
        width: auto;
        max-width: 200px;
    }
    
    .mobile-kako-button:hover {
        background: #e91e63;
        color: white;
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(233, 30, 99, 0.3);
    }
    
    /* Force button clickability on mobile */
    @media (max-width: 768px) {        
        .mobile-only .download-btn,
        .mobile-kako-button,
        .app-download a,
        .download-btn {
            pointer-events: auto !important;
            position: relative !important;
            z-index: 9999 !important;
            display: inline-block !important;
            cursor: pointer !important;
            isolation: isolate;
            touch-action: manipulation;
        }
        
        .hero-wrapper,
        .hero-wrapper::before,
        .hero-wrapper::after,
        .floating-shapes,
        .floating-shape {
            pointer-events: none !important;
        }
        
        .tagline-badge,
        .value-proposition-badge,
    .phone-image {
            pointer-events: none !important;
        }
        
        .hero-content {
            pointer-events: none !important;
        }
        
        .hero-phone {
            pointer-events: none !important;
        }
        
        .phone-container {
            pointer-events: none !important;
        }
        
        .mobile-title,
        .app-download,
        .mobile-only {
            pointer-events: auto !important;
        }
    }
    
    /* Mobile title styling */
    .mobile-title {
        text-align: center;
        margin: 0.2rem 0 0 0;
        color: white;
    }
    
    .mobile-title .brand-name {
        font-size: var(--brand-name-size);
        font-weight: 800;
        margin-bottom: 0;
        letter-spacing: -0.03em;
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.1;
        word-wrap: break-word;
        hyphens: auto;
    }
    
        /* Mobile app download improvements */
    .app-download {
        justify-content: center;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        margin-top: 0;
        width: 100%;
        z-index: 1000;
        position: relative;
        pointer-events: auto;
    }

    .app-download .download-btn {
        z-index: 1001;
        position: relative;
        pointer-events: auto;
        cursor: pointer;
    }

    .download-btn img {
        height: 50px;
    }

    /* Hero QR Mobile */
    .hero-download-section {
        flex-direction: column;
        gap: 1.5rem;
    }

    .mobile-qr {
        order: -1;
    }

    .hero-qr-code-box {
        width: 70px;
        height: 70px;
    }

    .hero-qr-text {
        font-size: 0.7rem;
    }

    /* Pricing Section Mobile */
    .pricing {
        padding: 60px 0;
    }

    .pricing::before {
        height: 320px;
    }

    .pricing-header {
        padding-top: 2rem;
        padding-bottom: 1rem;
    }

    .pricing-header h2 {
        font-size: 2.2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .pricing-card {
        padding: 2rem;
        margin: 0 1rem;
    }

    .plan-price .price {
        font-size: 2.8rem;
    }

    .plan-header {
        padding-bottom: 1.5rem;
    }

    .feature {
        margin-bottom: 1rem;
    }

    .access-options {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .access-option {
        padding: 1.5rem;
    }

    .access-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .mobile-downloads {
        flex-direction: column;
        gap: 0.8rem;
    }

    /* CTA Section Mobile */
    .platform-access-section {
        padding: 60px 0;
    }

    .cta-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .cta-content {
        text-align: center;
    }

    .cta-text h2 {
        font-size: 2.2rem;
    }

    .cta-text p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .secondary-action {
        justify-content: center;
    }

    .download-section {
        order: -1;
    }

    .download-badges {
        flex-direction: row;
        justify-content: center;
    }

    /* QR Code Mobile */
    .qr-code-box {
        width: 100px;
        height: 100px;
    }

    .qr-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    /* Small mobile specific adjustments */
    
    /* CTA Section Small Mobile */
    .cta-text h2 {
        font-size: 1.8rem;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 0.85rem 2rem;
        font-size: 1rem;
    }
    
    .cta-btn.secondary {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .secondary-action {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* QR Code Small Mobile */
    .qr-code-box {
        width: 90px;
        height: 90px;
    }

    .qr-code-section {
        margin: 1.5rem 0;
    }

    /* Hero QR Small Mobile */
    .hero-qr-code-box {
        width: 60px;
        height: 60px;
    }

    .hero-download-section {
        gap: 1rem;
    }
    .tagline-badge {
        font-size: 0.55rem;
        padding: 0.4rem 0.6rem;
        max-width: 120px;
    }
    
    .value-proposition-badge {
        font-size: 0.6rem;
        padding: 0.6rem 0.8rem;
        max-width: 140px;
    }
    
    .kako-button {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        min-width: 44px;
        min-height: 44px;
        border-radius: 40px;
        width: fit-content;
    }
    
    /* Small mobile toggle adjustments */
    .toggle-options {
        gap: 0.8rem;
        padding: 0.7rem 1rem;
        border-radius: 40px;
    }
    
    .toggle-label {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
    
    .toggle-switch {
        display: none;
    }
    
    .toggle-slider {
        display: none;
    }
    
    .integrated-steps .step-item {
        padding: 0.2rem;
        min-width: 32px;
        min-height: 32px;
    }
    
    .integrated-steps .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .download-btn img {
        height: 40px;
        max-width: 100%;
    }
    
    /* Mobile content layout improvements */
    .content-image {
        justify-content: flex-end;
        align-items: flex-start;
        padding-top: 1rem;
    }
    
    .content-text {
        padding-right: 0.5rem;
        padding-left: 1rem;
    }
    
    .step-header h2 {
        margin-bottom: 0.5rem;
    }
    
    .content-text > p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    /* Force bigger content phone images on mobile */
    .content-phone {
        max-width: 100% !important;
    }
    
    .content-image .placeholder-content {
        max-width: 100% !important;
        min-height: 450px !important;
    }
    
    /* Keep app download horizontal on small mobile */
    .app-download {
        flex-direction: row;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .download-content h2 {
        font-size: 2rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    }
    
@media (max-width: 360px) {
    /* Extra narrow adjustments */
    .tagline-badge {
        font-size: 0.5rem;
        padding: 0.35rem 0.5rem;
        max-width: 100px;
        word-wrap: break-word;
    }
    
    .value-proposition-badge {
        font-size: 0.55rem;
        padding: 0.5rem 0.7rem;
        max-width: 120px;
        word-wrap: break-word;
    }
    
    .kako-button {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        border-radius: 30px;
        max-width: 90%;
        word-wrap: break-word;
        text-align: center;
    }
    
    /* Ultra compact toggle */
    .toggle-options {
        padding: 0.5rem 0.8rem;
        gap: 0.3rem;
        flex-direction: column;
        border-radius: 30px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .toggle-label {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .toggle-switch {
        width: 35px;
        height: 18px;
        margin: 0.2rem 0;
        align-self: center;
    }
    
    .toggle-slider {
        width: 14px;
        height: 14px;
    }
    
    .toggle-slider.active {
        transform: translateX(17px);
    }
    
    .integrated-steps {
        gap: 0.3rem;
        padding: 0 2px;
        overflow-x: auto;
        justify-content: flex-start;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .integrated-steps::-webkit-scrollbar {
        display: none;
    }
    
    .integrated-steps .step-item {
        padding: 0.2rem;
        min-width: 30px;
        min-height: 30px;
        flex-shrink: 0;
    }
    
    .integrated-steps .step-number {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }
    
    .content-phone {
        max-width: 320px;
        width: 100%;
    }
    
    .content-image .placeholder-content {
        max-width: 320px;
        width: 100%;
        height: auto;
        min-height: 380px;
    }
    
    .download-btn img {
        height: 35px;
        max-width: 100%;
    }
    
    /* Ensure app download stays horizontal on extra narrow */
    .app-download {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }
    
    .download-btn {
        flex-shrink: 1;
        min-width: 0;
    }
}

@media (max-width: 320px) {
    /* Ultra narrow adjustments */
    .tagline-badge {
        font-size: 0.45rem;
        padding: 0.3rem 0.45rem;
        max-width: 80px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .value-proposition-badge {
        font-size: 0.5rem;
        padding: 0.45rem 0.6rem;
        max-width: 100px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .kako-button {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
        max-width: 85%;
        text-align: center;
        word-wrap: break-word;
    }
    
    .toggle-label {
        font-size: 0.75rem;
        padding: 0.1rem 0.4rem;
        max-width: 80px;
    }
    
    .toggle-switch {
        width: 28px;
        height: 14px;
        border-radius: 10px;
    }
    
    .toggle-slider {
        width: 10px;
        height: 10px;
        top: 2px;
        left: 2px;
    }
    
    .toggle-slider.active {
        transform: translateX(12px);
    }
    
    .integrated-steps .step-item {
        padding: 0.15rem;
        min-width: 28px;
        min-height: 28px;
    }
    
    .integrated-steps .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
    }
    
    .content-phone {
        max-width: 280px;
        width: 100%;
    }
    
    .content-image .placeholder-content {
        max-width: 280px;
        width: 100%;
        min-height: 320px;
    }
    
    .download-content h2 {
        font-size: 1.3rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Ultra narrow - keep app download horizontal */
    .app-download {
        flex-direction: row;
        gap: 0.3rem;
        flex-wrap: nowrap;
        margin-top: 1rem;
    }
    
    .download-btn img {
        height: 30px;
        max-width: 100%;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Mobile scroll adjustments */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 60px;
    }
}

/* Enhanced focus indicators */
*:focus-visible {
    outline: 3px solid #e91e63;
    outline-offset: 2px;
    transition: outline-offset 0.2s ease;
}

/* Touch improvements for all mobile devices */
@media (max-width: 768px) {
    /* Ensure touch targets are at least 44px */
    .step-item,
    .toggle-switch,
    .kako-button,
    .download-btn,
    .web-app-btn,
    .mobile-menu-btn,
    .nav a {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Enhanced touch feedback */
    .step-item,
    .toggle-switch,
    .kako-button,
    .download-btn,
    .web-app-btn {
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: rgba(233, 30, 99, 0.3);
    }
    
    .step-item:active,
    .toggle-switch:active,
    .kako-button:active,
    .download-btn:active,
    .web-app-btn:active {
        transform: scale(0.95);
        opacity: 0.8;
    }
    
    /* Improve text selection and readability */
    .content-text {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Prevent zoom on input focus */
    input, select, textarea {
        font-size: 16px;
    }
} 

/* Accessibility: Respect user's motion preferences */
@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;
    }
    
    .floating-shape,
    .phone-image,
    .content-phone {
        animation: none !important;
    }
    
    .step-item:hover,
    .step-feature:hover,
    .kako-button:hover,
    .download-btn:hover {
        transform: none !important;
    }
    
    .step-item:focus,
    .toggle-switch:focus,
    .kako-button:focus,
    .download-btn:focus,
    .web-app-btn:focus,
    .nav a:focus,
    .mobile-menu-btn:focus {
        outline: 3px solid #e91e63 !important;
        outline-offset: 2px !important;
        box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.3) !important;
        transition: none !important;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    .hero-wrapper::before,
    .hero-wrapper::after,
    .floating-shapes {
        will-change: auto;
        backface-visibility: hidden;
        perspective: 1000px;
    }
    
    @media (max-resolution: 150dpi) {
        .hero-wrapper {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        
        .hero-wrapper::before,
        .hero-wrapper::after {
            display: none;
        }
        
        .floating-shapes {
            opacity: 0.7;
        }
    }
    
    .phone-image {
        animation-duration: 8s;
    }
    
    .content-phone {
        animation-duration: 8s;
    }
    
    .step-item:hover,
    .step-feature:hover {
        transform: translateY(-2px) translateZ(0);
        will-change: transform;
    }
    
    .integrated-steps {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .integrated-steps .step-item {
        scroll-snap-align: center;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .toggle-label.active {
        background: #000;
        color: #fff;
        border: 2px solid #e91e63;
    }
    
    .step-item.active {
        background: #000;
        color: #fff;
        border: 2px solid #e91e63;
    }
    
    .feature-bullet {
        background: #000;
        color: #fff;
        border: 2px solid #e91e63;
    }
    
    .kako-button {
        border: 2px solid #e91e63;
    }
    
    .tagline-badge,
    .value-proposition-badge {
        border: 2px solid #fff;
    }
}

/* Dark mode support for better battery life on OLED screens */
@media (prefers-color-scheme: dark) {
    .toggle-section {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }
    
    .content-section {
        background: #1a1a1a;
        color: #f0f0f0;
    }
    
    .step-header h2 {
        color: #f0f0f0;
    }
    
    .content-text > p {
        color: #d0d0d0;
    }
    
    .step-feature {
        background: rgba(233, 30, 99, 0.1);
        color: #f0f0f0;
        border: 1px solid rgba(233, 30, 99, 0.2);
    }
    
    .toggle-options {
        background: #2d2d2d;
        border: 1px solid rgba(233, 30, 99, 0.3);
    }
    
    .toggle-label {
        color: #d0d0d0;
    }
    
    .toggle-label.active {
        color: #fff;
        background: rgba(233, 30, 99, 0.2);
    }
} 

/* Additional polish */
.hero-text > * {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-text > *:nth-child(1) { animation-delay: 0.2s; }
.hero-text > *:nth-child(2) { animation-delay: 0.4s; }
.hero-text > *:nth-child(3) { animation-delay: 0.6s; }

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

/* Loading indicator for images */
.content-image {
    position: relative;
}

.content-image.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(233, 30, 99, 0.1);
    border-radius: 50%;
    border-top-color: #e91e63;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Smooth page transitions */
.page-transition {
    animation: pageLoad 0.5s ease-out;
}

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

/* Print styles */
@media print {
    .header,
    .mobile-menu-btn,
    .kako-button,
    .floating-shapes,
    .footer {
        display: none !important;
    }
    
    .hero-wrapper {
        background: white !important;
    }
    
    .content-section {
        page-break-inside: avoid;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}

/* Extreme narrow screens - prevent text from becoming too small */
@media (max-width: 280px) {
    * {
        min-font-size: 12px !important;
    }
    
    .step-header h2 {
        font-size: 1.1rem !important;
    }
    
    .content-text > p {
        font-size: 0.75rem !important;
    }
    
    .toggle-label {
        font-size: 0.7rem !important;
    }
    
    .steps-title {
        font-size: 0.75rem !important;
    }
    
    .step-feature {
        font-size: 0.7rem !important;
    }
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.6;
}

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

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(233, 30, 99, 0.1);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(233, 30, 99, 0.3);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
    border-radius: 12px;
    color: white;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-text a {
    color: #e91e63;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #ad1457;
    text-decoration: underline;
}

.contact-text p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.4;
}



/* Mobile Responsive for Contact Section */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-header p {
        font-size: 1.1rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-details {
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .contact-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-header p {
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .contact-text h4 {
        font-size: 1rem;
    }
}

