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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    overflow-x: hidden;
}

/* CSS Variables */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #50E3C2;
    --accent-color: #7ED321;
    --background-color: #F8FAFB;
    --text-color: #2C3E50;
    --white: #FFFFFF;
    --gradient-water: linear-gradient(135deg, #4FC3F7, #29B6F6, #03A9F4, #039BE5);
    --gradient-progress: linear-gradient(135deg, #81C784, #66BB6A, #4CAF50);
    --shadow: 0 10px 30px rgba(74, 144, 226, 0.1);
    --shadow-hover: 0 20px 40px rgba(74, 144, 226, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-water);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.water-drop-loader {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.drop {
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50% 50% 50% 70% / 60% 60% 40% 40%;
    animation: dropAnimation 1.5s infinite ease-in-out;
}

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

.drop:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dropAnimation {
    0%, 80%, 100% {
        transform: scale(0.8) translateY(0);
        opacity: 0.7;
    }
    40% {
        transform: scale(1.2) translateY(-20px);
        opacity: 1;
    }
}

#loading-screen p {
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
}

/* iOS Popup Styles */
.ios-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ios-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.ios-popup {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.ios-popup-overlay.show .ios-popup {
    transform: scale(1) translateY(0);
}

.ios-popup-header {
    position: relative;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ios-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.ios-popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    transform: scale(1.1);
}

.ios-popup-content {
    padding: 30px;
    text-align: center;
}

.ios-popup-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF, #0051D5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: iosIconBounce 2s infinite;
}

.ios-popup-icon i {
    font-size: 40px;
    color: var(--white);
}

@keyframes iosIconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.ios-popup h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    background: linear-gradient(135deg, #007AFF, #0051D5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ios-popup p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.ios-popup-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    text-align: left;
}

.ios-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.ios-feature:hover {
    background: rgba(0, 122, 255, 0.1);
    transform: translateX(5px);
}

.ios-feature i {
    color: #007AFF;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.ios-feature span {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
}

.ios-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ios-popup-btn {
    padding: 15px 25px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ios-popup-btn.primary {
    background: linear-gradient(135deg, #007AFF, #0051D5);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.ios-popup-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
}

.ios-popup-btn.secondary {
    background: rgba(0, 0, 0, 0.05);
    color: #666;
}

.ios-popup-btn.secondary:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

/* iOS Coming Soon Notification Styles */
.ios-coming-soon-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 320px;
    z-index: 10001;
}

.ios-notification-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
}

.ios-notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #007AFF, #0051D5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ios-notification-icon i {
    font-size: 20px;
    color: var(--white);
}

.ios-notification-text {
    flex: 1;
}

.ios-notification-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    line-height: 1.3;
}

.ios-notification-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.ios-notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #999;
    font-size: 12px;
}

.ios-notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #666;
}

/* Instagram Feedback Notification Styles */
.instagram-feedback {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 300px;
    z-index: 10001;
}

.instagram-feedback-content {
    background: linear-gradient(135deg, #E4405F, #C13584);
    color: white;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(196, 53, 132, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.instagram-feedback-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.instagram-feedback-icon i {
    font-size: 18px;
    color: white;
}

.instagram-feedback-text {
    flex: 1;
}

.instagram-feedback-text span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

/* X (Twitter) Feedback Notification Styles */
.x-feedback {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 300px;
    z-index: 10001;
}

.x-feedback-content {
    background: linear-gradient(135deg, #000000, #1DA1F2);
    color: white;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.x-feedback-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.x-feedback-icon i {
    font-size: 18px;
    color: white;
}

.x-feedback-text {
    flex: 1;
}

.x-feedback-text span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

/* Facebook Feedback Notification Styles */
.facebook-feedback {
    position: fixed;
    top: 20px;
    left: 20px;
    max-width: 300px;
    z-index: 10001;
}

.facebook-feedback-content {
    background: linear-gradient(135deg, #1877F2, #4267B2);
    color: white;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(24, 119, 242, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.facebook-feedback-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.facebook-feedback-icon i {
    font-size: 18px;
    color: white;
}

.facebook-feedback-text {
    flex: 1;
}

.facebook-feedback-text span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

/* X Icon Fallback - if fa-x-twitter is not available */
.fab.fa-x-twitter:before {
    content: "\f081"; /* Twitter icon as fallback */
}

/* Try to use X icon if available */
@supports (content: "\e61b") {
    .fab.fa-x-twitter:before {
        content: "\e61b"; /* X icon if available */
    }
}

/* Mobile Responsive for iOS Popup */
@media (max-width: 768px) {
    .ios-popup {
        max-width: 95%;
        margin: 20px;
    }
    
    .ios-popup-content {
        padding: 25px 20px;
    }
    
    .ios-popup h3 {
        font-size: 24px;
    }
    
    .ios-popup-icon {
        width: 70px;
        height: 70px;
    }
    
    .ios-popup-icon i {
        font-size: 35px;
    }
    
    .ios-popup-actions {
        gap: 10px;
    }
    
    .ios-popup-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .ios-popup-features {
        gap: 12px;
    }
    
    .ios-feature {
        padding: 10px;
    }
    
    .ios-feature span {
        font-size: 14px;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo i {
    font-size: 28px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-water);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-water);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.water-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: waveAnimation 6s infinite linear;
}

.wave1 {
    animation-delay: 0s;
    opacity: 0.7;
}

.wave2 {
    animation-delay: -2s;
    opacity: 0.5;
    height: 80px;
}

.wave3 {
    animation-delay: -4s;
    opacity: 0.3;
    height: 60px;
}

@keyframes waveAnimation {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

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

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* Phone Mockup */
.hero-phone {
    display: flex;
    justify-content: center;
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    opacity: 0;
    transition: opacity 1s ease;
}

.app-screen.active {
    opacity: 1;
}

.app-header {
    text-align: center;
    margin-bottom: 40px;
}

.app-header h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
}

.water-level {
    width: 150px;
    height: 150px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.water-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--gradient-water);
    transition: height 2s ease;
    border-radius: 0 0 50% 50%;
}

.level-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    color: var(--white);
    z-index: 2;
}

.quick-add {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.add-btn {
    padding: 12px 20px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.add-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.stats-screen h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.chart-placeholder {
    width: 100%;
    height: 200px;
    background: var(--gradient-progress);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    position: relative;
}

.chart-placeholder::after {
    content: '📊';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
}

.stats-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: var(--background-color);
    border-radius: var(--border-radius);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--white);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(-45deg);
    }
    40% {
        transform: translateY(-10px) rotate(-45deg);
    }
    60% {
        transform: translateY(-5px) rotate(-45deg);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-water);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: var(--background-color);
}

.screenshots-carousel {
    max-width: 600px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.screenshot-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-item.active {
    opacity: 1;
}

.screenshot-phone {
    width: 200px;
    height: 360px;
    background: #1a1a1a;
    border-radius: 25px;
    padding: 15px;
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.screenshot-phone:hover .screenshot-image {
    transform: scale(1.02);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    text-align: center;
    padding: 20px 15px 15px;
    border-radius: 0 0 15px 15px;
    transition: opacity 0.3s ease;
}

.screenshot-phone:hover .screenshot-overlay {
    opacity: 0.9;
}

.screenshot-overlay h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.screenshot-overlay p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin: 0;
}

.screenshot-content {
    width: 100%;
    height: 100%;
    background: var(--gradient-water);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 20px;
}

.screenshot-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
}

/* Statistics Section */
.stats {
    padding: 100px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

.stat-suffix {
    font-size: 2rem;
    color: var(--accent-color);
}

/* News Section */
.news {
    padding: 100px 0;
    background: var(--background-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    height: 200px;
    background: var(--gradient-water);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.news-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: newsIconFloat 3s ease-in-out infinite;
}

.news-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

@keyframes newsIconFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.news-content {
    padding: 30px;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
    gap: 12px;
}

.read-more i {
    transition: var(--transition);
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: var(--white);
}

.reviews-stats {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.overall-rating {
    text-align: center;
    background: var(--background-color);
    padding: 20px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

.overall-rating .stars {
    margin-bottom: 10px;
}

.overall-rating .stars i {
    color: #ffd700;
    font-size: 1.5rem;
    margin: 0 2px;
}

.rating-count {
    color: #666;
    font-size: 0.9rem;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.reviews-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

.review-card {
    min-width: 350px;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.reviewer-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.review-stars {
    margin-bottom: 5px;
}

.review-stars i {
    color: #ffd700;
    font-size: 0.9rem;
    margin-right: 2px;
}

.review-date {
    font-size: 0.8rem;
    color: #999;
}

.review-text {
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--gradient-water);
    color: var(--white);
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: var(--white);
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    min-width: 200px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.download-btn i {
    font-size: 32px;
}

.download-btn div {
    text-align: left;
}

.download-btn span {
    font-size: 12px;
    color: #666;
}

.download-btn strong {
    font-size: 16px;
    font-weight: 600;
}

.qr-code {
    margin-top: 40px;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px dashed rgba(255, 255, 255, 0.5);
}

.qr-placeholder i {
    font-size: 48px;
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--background-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-water);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item p a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item p a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
}

.footer-logo i {
    font-size: 28px;
    color: var(--secondary-color);
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        min-height: 100vh;
        padding: 100px 0 50px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 20px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
        line-height: 1.3;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }
    
    .title-line {
        display: block;
        width: 100%;
        margin-bottom: 5px;
        opacity: 1;
        transform: none;
        animation: none;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
        opacity: 0.95;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-card h3 {
        font-size: 1.2rem;
    }
    
    .news-content {
        padding: 25px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screenshot-phone {
        width: 200px;
        height: 360px;
    }
    
    .screenshots-carousel {
        max-width: 600px;
    }
    
    .carousel-container {
        height: 400px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding: 80px 0 40px 0;
    }
    
    .hero-container {
        padding: 15px;
        gap: 25px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
        line-height: 1.3;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }
    
    .title-line {
        display: block;
        width: 100%;
        margin-bottom: 5px;
        opacity: 1;
        transform: none;
        animation: none;
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
        opacity: 0.95;
        line-height: 1.5;
        padding: 0 10px;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .reviews-track {
        gap: 20px;
    }
    
    .review-card {
        min-width: 300px;
        padding: 25px;
    }
    
    .overall-rating {
        padding: 15px 25px;
    }
    
    .rating-number {
        font-size: 2.5rem;
    }
    
    .news-card h3 {
        font-size: 1.1rem;
    }
    
    .news-image {
        height: 150px;
    }
    
    .news-icon {
        width: 60px;
        height: 60px;
    }
    
    .news-icon i {
        font-size: 2rem;
    }
    
    .review-card {
        min-width: 280px;
        padding: 20px;
    }
    
    .reviewer-avatar {
        width: 50px;
        height: 50px;
    }
    
    .overall-rating {
        padding: 15px 20px;
    }
    
    .rating-number {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-phone {
        width: 180px;
        height: 320px;
    }
    
    .screenshots-carousel {
        max-width: 400px;
    }
    
    .carousel-container {
        height: 350px;
    }
    
    .screenshot-overlay {
        padding: 20px 15px 15px;
    }
    
    .screenshot-overlay h4 {
        font-size: 1rem;
    }
    
    .screenshot-overlay p {
        font-size: 0.8rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-water);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Large Desktop Screens */
@media (min-width: 1200px) {
    .screenshots-carousel {
        max-width: 500px;
    }
    
    .carousel-container {
        height: 350px;
    }
    
    .screenshot-phone {
        width: 180px;
        height: 320px;
    }
    
    .screenshot-overlay {
        padding: 15px 12px 12px;
    }
    
    .screenshot-overlay h4 {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }
    
    .screenshot-overlay p {
        font-size: 0.75rem;
    }
}

/* Water Calculator Section */
.water-calculator {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.water-calculator::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: float 20s infinite linear;
    pointer-events: none;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-form-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.calculator-form {
    position: relative;
    min-height: 400px;
}

.form-step {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.form-step.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: all;
}

.form-step h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: white;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.gender-options {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.gender-options input[type="radio"] {
    display: none;
}

.gender-label {
    flex: 1;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.gender-label:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.gender-options input[type="radio"]:checked + .gender-label {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.gender-label i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.next-btn,
.calculate-btn,
.restart-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    margin-top: 20px;
}

.next-btn:hover,
.calculate-btn:hover,
.restart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.5);
}

.step-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.prev-btn {
    flex: 1;
    padding: 18px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.prev-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.calculate-btn {
    flex: 2;
    margin-top: 0;
}

/* Result Animation */
.result-container {
    text-align: center;
    color: white;
}

.water-animation {
    position: relative;
    margin-bottom: 30px;
}

.water-glass {
    width: 120px;
    height: 180px;
    border: 4px solid rgba(255, 255, 255, 0.8);
    border-radius: 0 0 60px 60px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.water-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(45deg, #00bcd4, #2196f3);
    border-radius: 0 0 60px 60px;
    animation: fillWater 2s ease-out;
    height: 0;
}

.glass-shine {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 50px;
    background: linear-gradient(45deg, rgba(255,255,255,0.8), transparent);
    border-radius: 15px;
    opacity: 0.7;
}

.water-drops {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.drop {
    width: 8px;
    height: 12px;
    background: #2196f3;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: absolute;
    animation: dropFall 1.5s infinite;
}

.drop:nth-child(1) { left: -10px; animation-delay: 0s; }
.drop:nth-child(2) { left: 0px; animation-delay: 0.5s; }
.drop:nth-child(3) { left: 10px; animation-delay: 1s; }

@keyframes fillWater {
    0% { height: 0; }
    100% { height: 80%; }
}

@keyframes dropFall {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(30px);
        opacity: 0;
    }
}

.result-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    animation: bounceIn 1s ease;
}

.daily-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.amount-number {
    font-size: 4rem;
    font-weight: 700;
    color: #00bcd4;
    animation: countUp 2s ease;
}

.amount-unit {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.result-message {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeIn 1s ease 0.5s both;
}

/* App Promotion */
.app-promotion {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 1s ease 1s both;
}

.app-promotion h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffa500;
}

.app-features {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.9rem;
    text-align: center;
}

.feature-item i {
    font-size: 1.5rem;
    color: #00bcd4;
}

.promotion-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.download-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #4caf50, #8bc34a);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.download-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.5);
}

/* Calculator Visual */
.calculator-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-preview {
    width: 280px;
    height: 560px;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    border-radius: 35px;
    padding: 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-preview::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #555;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    padding: 30px 20px;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preview-header h4 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.progress-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#00bcd4 0deg, #00bcd4 234deg, rgba(255,255,255,0.2) 234deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}

.progress-ring::before {
    content: '';
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.progress-text {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.preview-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00bcd4;
}

/* Animations */
@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes countUp {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-20px, -20px) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 968px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .water-calculator {
        padding: 60px 0;
    }
    
    .calculator-form-section {
        padding: 30px 20px;
    }
    
    .phone-preview {
        width: 240px;
        height: 480px;
    }
    
    .amount-number {
        font-size: 3rem;
    }
    
    .app-features {
        gap: 10px;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
    
    .feature-item i {
        font-size: 1.3rem;
    }
}

@media (max-width: 668px) {
    .calculator-form-section {
        margin: 0 10px;
        padding: 20px 15px;
    }
    
    .form-step h3 {
        font-size: 1.5rem;
    }
    
    .gender-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-buttons {
        flex-direction: column;
    }
    
    .daily-amount {
        flex-direction: column;
        gap: 5px;
    }
    
    .amount-number {
        font-size: 2.5rem;
    }
    
    .app-features {
        flex-direction: column;
        align-items: center;
    }
    
    .preview-stats {
        gap: 20px;
    }
    
    .phone-preview {
        width: 200px;
        height: 400px;
    }
    
    .progress-ring {
        width: 100px;
        height: 100px;
    }
    
    .progress-ring::before {
        width: 75px;
        height: 75px;
    }
}

/* Enhanced Mobile Animations and UX */
@media (max-width: 768px) {
    /* Fix mobile input touch issues */
    .form-input {
        transform: scale(1);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 10;
        touch-action: manipulation;
        -webkit-user-select: text;
        user-select: text;
        -webkit-tap-highlight-color: rgba(0, 188, 212, 0.2);
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(0, 188, 212, 0.2);
    }
    
    .form-input:focus {
        transform: scale(1.02);
        box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.3);
        z-index: 20;
        background: rgba(255, 255, 255, 1);
        border-color: var(--primary-color);
    }
    
    .form-input:active {
        transform: scale(0.98);
    }
    
    /* Ensure form groups don't block inputs */
    .form-group {
        position: relative;
        z-index: 5;
        pointer-events: none;
    }
    
    .form-group label,
    .form-group .form-input,
    .form-group .form-select {
        pointer-events: auto;
        position: relative;
        z-index: 10;
    }
    
    /* Fix select dropdown for mobile */
    .form-select {
        position: relative;
        z-index: 10;
        touch-action: manipulation;
        -webkit-appearance: none;
        appearance: none;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(0, 188, 212, 0.2);
        cursor: pointer;
        pointer-events: auto;
    }
    
    .form-select:focus {
        z-index: 20;
        background: rgba(255, 255, 255, 1);
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.3);
    }
    
    /* Remove any potential blocking overlays */
    .calculator-container::before,
    .calculator-container::after {
        pointer-events: none;
        z-index: 0;
    }
    
    /* Touch-friendly animations */
    .form-step {
        animation: mobileSlideIn 0.5s ease-out;
        position: relative;
        z-index: 5;
        pointer-events: auto;
    }
    
    .form-step.active {
        animation: mobileSlideIn 0.5s ease-out;
        z-index: 10;
    }
    
    /* Enhanced button animations for mobile */
    .btn-primary {
        transform: scale(1);
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .btn-primary:active {
        transform: scale(0.95);
    }
    
    .btn-primary::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transition: all 0.5s;
        transform: translate(-50%, -50%);
    }
    
    .btn-primary:active::before {
        width: 300px;
        height: 300px;
    }
    
    /* Gender selection mobile animations */
    .gender-option {
        transform: scale(1);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .gender-option:active {
        transform: scale(0.95);
    }
    
    .gender-option input:checked + .gender-card {
        animation: mobilePulse 0.6s ease-out;
    }
    
    /* Water fill animation enhancement for mobile */
    .water-fill {
        transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Mobile phone preview animations */
    .phone-preview {
        animation: mobileFloat 3s ease-in-out infinite;
    }
    
    /* Progress ring mobile animation */
    .progress-ring {
        animation: mobileRotate 2s linear infinite;
    }
    
    /* Mobile-specific water drops */
    .calculator-container::before {
        content: '';
        position: absolute;
        top: -50px;
        left: 20px;
        width: 15px;
        height: 15px;
        background: linear-gradient(45deg, #00bcd4, #4fc3f7);
        border-radius: 0 50% 50% 50%;
        transform: rotate(-45deg);
        animation: mobileDrop1 4s ease-in-out infinite;
        opacity: 0.7;
    }
    
    .calculator-container::after {
        content: '';
        position: absolute;
        top: -30px;
        right: 30px;
        width: 12px;
        height: 12px;
        background: linear-gradient(45deg, #4fc3f7, #81c784);
        border-radius: 0 50% 50% 50%;
        transform: rotate(-45deg);
        animation: mobileDrop2 3s ease-in-out infinite;
        opacity: 0.6;
    }
    
    /* Ripple effect for mobile buttons */
    .form-step-buttons .btn-primary {
        position: relative;
        overflow: hidden;
    }
    
    /* Enhanced mobile input animations */
    .form-group {
        animation: mobileSlideUp 0.4s ease-out;
    }
    
    .form-group:nth-child(2) {
        animation-delay: 0.1s;
    }
    
    .form-group:nth-child(3) {
        animation-delay: 0.2s;
    }
    
    /* Mobile result animations */
    .result-display {
        animation: mobileResultShow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .daily-amount {
        animation: mobileAmountBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        animation-delay: 0.3s;
        animation-fill-mode: both;
    }
    
    /* Touch feedback for all interactive elements */
    .form-input,
    .btn-primary,
    .btn-secondary,
    .gender-option,
    select {
        -webkit-tap-highlight-color: rgba(0, 188, 212, 0.3);
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
}

/* Mobile-specific keyframes */
@keyframes mobileSlideIn {
    0% {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes mobileSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mobilePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(0, 188, 212, 0.4);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes mobileFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes mobileRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes mobileDrop1 {
    0%, 100% {
        transform: rotate(-45deg) translateY(0px);
        opacity: 0.7;
    }
    50% {
        transform: rotate(-45deg) translateY(-20px);
        opacity: 0.3;
    }
}

@keyframes mobileDrop2 {
    0%, 100% {
        transform: rotate(-45deg) translateY(0px);
        opacity: 0.6;
    }
    33% {
        transform: rotate(-45deg) translateY(-15px);
        opacity: 0.2;
    }
    66% {
        transform: rotate(-45deg) translateY(-5px);
        opacity: 0.4;
    }
}

@keyframes mobileResultShow {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    70% {
        transform: scale(1.02) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes mobileAmountBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    80% {
        transform: scale(0.95);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Extra small devices (phones < 480px) */
@media (max-width: 480px) {
    .water-calculator {
        padding: 40px 0;
    }
    
    .calculator-form-section {
        margin: 0 5px;
        padding: 15px 10px;
        border-radius: 15px;
        position: relative;
        z-index: 10;
    }
    
    .form-step h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .form-step p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
        position: relative;
        z-index: 5;
        pointer-events: none;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 8px;
        display: block;
        font-weight: 600;
        color: var(--text-color);
        pointer-events: auto;
    }
    
    .form-input,
    .form-select {
        padding: 16px 12px;
        font-size: 16px; /* Prevent zoom on iOS */
        border-radius: 12px;
        width: 100%;
        min-height: 52px; /* Better touch target */
        box-sizing: border-box;
        border: 2px solid rgba(0, 188, 212, 0.2);
        background: rgba(255, 255, 255, 0.95);
        transition: all 0.3s ease;
        position: relative;
        z-index: 10;
        touch-action: manipulation;
        pointer-events: auto;
        -webkit-tap-highlight-color: rgba(0, 188, 212, 0.2);
        -webkit-user-select: text;
        user-select: text;
    }
    
    /* iOS specific fixes */
    .form-input {
        -webkit-appearance: none;
        appearance: none;
        -webkit-border-radius: 12px;
        border-radius: 12px;
    }
    
    .form-select {
        -webkit-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300bcd4'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 20px;
        cursor: pointer;
    }
    
    .form-input:focus,
    .form-select:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.2);
        background: rgba(255, 255, 255, 1);
        z-index: 20;
        transform: scale(1.01);
    }
    
    .form-input:active,
    .form-select:active {
        transform: scale(0.99);
    }
    
    /* Better touch targets for labels */
    .form-group label {
        padding: 4px 0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Improve gender selection touch */
    .gender-options {
        gap: 12px;
        margin-top: 10px;
    }
    
    .gender-option {
        min-height: 70px;
        pointer-events: auto;
        position: relative;
        z-index: 10;
    }
    
    .gender-card {
        padding: 16px 12px;
        border-radius: 12px;
        min-height: 70px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 188, 212, 0.2);
    }
    
    .gender-card i {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .gender-card span {
        font-size: 0.8rem;
    }
    
    .step-buttons {
        gap: 10px;
        padding-top: 20px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
        border-radius: 8px;
        min-width: 120px;
    }
    
    .phone-preview {
        width: 180px;
        height: 360px;
        margin-bottom: 20px;
    }
    
    .phone-screen {
        border-radius: 20px;
        padding: 15px;
    }
    
    .preview-header {
        margin-bottom: 15px;
    }
    
    .preview-title {
        font-size: 0.8rem;
    }
    
    .preview-time {
        font-size: 0.7rem;
    }
    
    .preview-stats {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .stat-item {
        padding: 8px;
        border-radius: 8px;
    }
    
    .stat-value {
        font-size: 0.8rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .progress-ring {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }
    
    .progress-ring::before {
        width: 60px;
        height: 60px;
    }
    
    .progress-text {
        font-size: 0.7rem;
    }
    
    .amount-number {
        font-size: 2rem;
    }
    
    .amount-unit {
        font-size: 0.8rem;
    }
    
    .result-message {
        font-size: 0.85rem;
        line-height: 1.4;
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .download-prompt {
        padding: 15px;
        border-radius: 10px;
        margin-top: 15px;
    }
    
    .download-prompt h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .download-prompt p {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .app-features {
        gap: 8px;
        justify-content: center;
    }
    
    .feature-item {
        font-size: 0.7rem;
        padding: 6px 10px;
        border-radius: 15px;
    }
    
    .feature-item i {
        font-size: 1rem;
        margin-right: 4px;
    }
    
    /* Enhanced mobile touch areas */
    .gender-option {
        min-height: 60px;
    }
    
    .btn-primary,
    .btn-secondary {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Mobile-specific water background animation */
    .calculator-container {
        position: relative;
        overflow: hidden;
    }
    
    .calculator-container::before,
    .calculator-container::after {
        z-index: 0;
    }
    
    .calculator-form-section,
    .phone-preview {
        position: relative;
        z-index: 1;
    }
}
