* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4A90E2;
    --primary-dark: #357ABD;
    --secondary-color: #1a1a2e;
    --accent-color: #16213e;
    --background-dark: #0f0f23;
    --background-light: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #707070;
    --border-color: #2a2a4a;
    --success-color: #00ff88;
    --danger-color: #ff4757;
    --gradient-primary: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    --gradient-secondary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile-optimized scrolling */
* {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Prevent horizontal scroll on mobile */
body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

/* PWA Styles for iOS */
@media screen and (display-mode: standalone) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    .navbar {
        padding-top: env(safe-area-inset-top);
    }
    
    /* Hide browser UI elements when in standalone mode */
    .navbar {
        background: rgba(15, 15, 35, 0.98);
    }
}

/* iOS Safari specific styles */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Prevent zoom on input focus */
    input, textarea, select {
        font-size: 16px;
    }
}

/* Improve tap performance */
a, button, [role="button"] {
    -webkit-tap-highlight-color: rgba(74, 144, 226, 0.2);
    touch-action: manipulation;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 70px;
    gap: 40px;
}

.nav-container .nav-logo {
    order: 1;
}

.nav-container .nav-menu {
    order: 2;
    margin-left: auto;
}

.nav-container .language-switcher {
    order: 3;
}

.nav-container .hamburger {
    order: 4;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo-img {
    margin-right: 10px;
    height: 40px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.download-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 0;
}

.nav-link.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    margin-left: 8px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 16px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    user-select: none;
}

.lang-btn:hover {
    background: rgba(74, 144, 226, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.lang-btn:active {
    transform: translateY(0);
}

.lang-btn i.fa-globe {
    font-size: 16px;
    color: var(--primary-color);
}

.lang-btn i.fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.lang-btn.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.lang-text {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 24px;
    text-align: center;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-width: 150px;
    box-shadow: var(--shadow-medium);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px;
}

.lang-option:hover {
    background: rgba(74, 144, 226, 0.1);
}

.lang-option.active {
    background: rgba(74, 144, 226, 0.2);
    color: var(--primary-color);
}

.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.lang-option span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.lang-option.active span {
    color: var(--primary-color);
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.hamburger:hover {
    background: rgba(74, 144, 226, 0.1);
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.hamburger.active .bar {
    background: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--background-dark);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:active::before {
    left: 100%;
}

/* Enhanced mobile button styles */
@media (max-width: 480px) {
    .btn:active {
        transform: scale(0.98);
    }
    
    .btn-primary:active {
        box-shadow: 
            0 4px 15px rgba(74, 144, 226, 0.6),
            inset 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    .btn-secondary:active {
        background: rgba(74, 144, 226, 0.2);
        border-color: #4A90E2;
    }
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: left;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #2a2a4a, #1a1a2e);
    border-radius: 30px;
    padding: 20px;
    box-shadow: var(--shadow-heavy);
    position: relative;
    transition: all 0.3s ease;
    will-change: transform;
}

.phone-mockup:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--background-dark);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    padding: 20px;
    height: 100%;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.balance {
    font-size: 24px;
    font-weight: 700;
    color: var(--success-color);
}

.currency {
    color: var(--text-secondary);
    font-size: 14px;
}

.app-brand {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.welcome-section {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    color: white;
}

.welcome-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.user-info {
    font-size: 14px;
    margin-bottom: 4px;
    opacity: 0.9;
}

.market-status {
    font-size: 12px;
    opacity: 0.8;
}

.main-actions {
    margin-bottom: 20px;
}

.action-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    gap: 15px;
}

.action-item:last-child {
    margin-bottom: 0;
}

.action-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.action-text {
    flex: 1;
}

.action-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.action-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.stats-row {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
}

.stats-row .stat-item {
    text-align: center;
    flex: 1;
}

.stats-row .stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stats-row .stat-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.trading-buttons {
    display: flex;
    gap: 15px;
}

.buy-btn, .sell-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-btn {
    background: var(--success-color);
    color: white;
}

.sell-btn {
    background: var(--danger-color);
    color: white;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--background-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-feature i {
    color: var(--success-color);
    font-size: 20px;
}

.stats-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.stats-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-secondary);
}

/* Download Section */
.download {
    padding: 120px 0;
    background: var(--background-light);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.download-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.download-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-feature i {
    color: var(--primary-color);
    font-size: 18px;
    width: 20px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 25px 30px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
}

.download-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.download-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.download-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.download-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.download-subtext {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.download-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--background-dark);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-logo-img {
    height: 28px;
    width: auto;
    max-width: 28px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
    }
    50% {
        box-shadow: 0 8px 35px rgba(74, 144, 226, 0.5);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-5px) rotateX(2deg) rotateY(-1deg);
    }
    50% {
        transform: translateY(0) rotateX(0deg) rotateY(2deg);
    }
    75% {
        transform: translateY(-3px) rotateX(-1deg) rotateY(-1deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Mobile-First Responsive Design */

/* Large Mobile Devices - 1024px and down */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }
    
    .hero {
        padding-top: 70px;
    }
    
    .hero-container {
        gap: 50px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
}

/* Tablet Portrait - 768px and down */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
    }
    
    .nav-container .nav-logo {
        margin-right: auto;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        padding: 30px 0;
        gap: 25px;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 10px 0;
        width: 100%;
    }

    .nav-link.download-btn {
        margin: 10px 20px;
        padding: 15px 30px;
        border-radius: 30px;
        font-size: 1rem;
    }

    /* Language Switcher Mobile Styles */
    .language-switcher {
        margin-left: auto;
        margin-right: 15px;
    }

    .lang-btn {
        padding: 6px 12px;
        gap: 6px;
        font-size: 13px;
    }

    .lang-dropdown {
        right: -10px;
        min-width: 140px;
    }

    .lang-option {
        padding: 10px 12px;
        gap: 10px;
    }

    .lang-option span {
        font-size: 13px;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger .bar {
        width: 28px;
        height: 3px;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero {
        min-height: 90vh;
        padding: 80px 0 60px;
        padding-top: 90px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin-bottom: 50px;
    }

    .btn {
        width: 280px;
        max-width: 90%;
        padding: 16px 30px;
        font-size: 1rem;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }

    .stat h3 {
        font-size: 1.8rem;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
        margin: 0 auto;
    }

    .features,
    .about,
    .download {
        padding: 80px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        padding: 35px 25px;
        text-align: left;
    }

    .feature-icon {
        margin: 0 0 20px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .download-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .about-text h2,
    .download-text h2 {
        font-size: 2.2rem;
    }
}

/* Mobile Landscape - 640px and down */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .app-interface {
        padding: 15px;
    }
    
    .welcome-section {
        padding: 18px;
    }
    
    .action-item {
        padding: 12px;
    }
    
    .stats-row {
        padding: 12px 0;
    }
}

/* Mobile Portrait - 480px and down */
@media (max-width: 480px) {
    .container,
    .nav-container,
    .hero-container {
        padding: 0 20px;
    }

    .navbar {
        height: 60px;
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(74, 144, 226, 0.2);
    }

    .nav-container {
        height: 60px;
        gap: 0 !important;
    }

    .nav-logo {
        font-size: 18px;
        font-weight: 800;
    }

    .nav-logo i {
        font-size: 22px;
    }

    /* Language Switcher Mobile Portrait */
    .language-switcher {
        margin-left: auto;
        margin-right: 12px;
        order: 2;
    }

    .nav-container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
    }

    .nav-container .nav-logo {
        order: 1;
        flex: 0 0 auto;
        margin-right: auto;
    }

    .nav-container .nav-menu {
        margin-left: 0;
    }

    .nav-container .hamburger {
        order: 3;
        margin-left: 0;
        margin-right: 0;
    }

    .lang-btn {
        padding: 5px 10px;
        gap: 5px;
        font-size: 12px;
        border-radius: 10px;
        background: rgba(74, 144, 226, 0.1);
        border: 1px solid rgba(74, 144, 226, 0.3);
    }

    .lang-btn i.fa-globe {
        font-size: 14px;
    }

    .lang-btn i.fa-chevron-down {
        font-size: 10px;
    }

    .lang-text {
        font-size: 12px;
        min-width: 20px;
        font-weight: 700;
    }

    .lang-dropdown {
        right: 0;
        top: calc(100% + 8px);
        min-width: 140px;
        border-radius: 12px;
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(74, 144, 226, 0.2);
    }

    .lang-option {
        padding: 8px 10px;
        gap: 8px;
        margin: 2px;
    }

    .flag-icon {
        width: 18px;
        height: 12px;
    }

    .lang-option span {
        font-size: 12px;
        font-weight: 500;
    }

    .nav-menu {
        top: 60px;
        padding: 30px 0;
        background: linear-gradient(135deg, rgba(15, 15, 35, 0.98), rgba(26, 33, 62, 0.98));
    }

    .hero {
        min-height: 100vh;
        padding: 80px 0 40px;
        padding-top: 90px;
        background: 
            radial-gradient(ellipse at top, rgba(74, 144, 226, 0.15) 0%, transparent 50%),
            linear-gradient(135deg, var(--background-dark) 0%, rgba(22, 33, 62, 0.8) 100%);
        position: relative;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 80%;
        height: 80%;
        background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        animation: float 6s ease-in-out infinite;
    }

    .hero-container {
        text-align: center;
        gap: 40px;
        position: relative;
        z-index: 2;
    }

    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 8px;
        line-height: 1.1;
        background: linear-gradient(135deg, #ffffff 0%, rgba(74, 144, 226, 0.9) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 800;
    }

    .gradient-text {
        background: linear-gradient(135deg, #4A90E2 0%, #00d4ff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-size: 2.6rem;
        display: block;
        margin-bottom: 8px;
    }

    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 35px;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.85);
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        word-spacing: 0.05em;
        letter-spacing: 0.01em;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 18px 30px;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 15px;
        position: relative;
        overflow: hidden;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
    }

    .btn-primary {
        background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
        border: 2px solid rgba(255, 255, 255, 0.1);
        box-shadow: 
            0 8px 25px rgba(74, 144, 226, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .btn-secondary {
        background: rgba(255, 255, 255, 0.05);
        border: 2px solid rgba(74, 144, 226, 0.4);
        backdrop-filter: blur(10px);
        color: #4A90E2;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .hero-buttons {
        margin-bottom: 50px;
        gap: 20px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        max-width: 300px;
        margin: 0 auto;
    }

    .stat {
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        padding: 20px 15px;
        border-radius: 20px;
        border: 1px solid rgba(74, 144, 226, 0.2);
        backdrop-filter: blur(10px);
        position: relative;
        overflow: hidden;
    }

    .stat::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, #4A90E2, #00d4ff);
    }

    .stat h3 {
        font-size: 1.8rem;
        font-weight: 800;
        background: linear-gradient(135deg, #4A90E2 0%, #00d4ff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 8px;
    }

    .stat p {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
        padding: 15px;
        background: linear-gradient(145deg, rgba(74, 144, 226, 0.3), rgba(26, 33, 62, 0.8));
        border: 1px solid rgba(74, 144, 226, 0.4);
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        animation: phoneFloat 4s ease-in-out infinite;
    }

    .phone-screen {
        border: 1px solid rgba(74, 144, 226, 0.3);
        box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
    }

    .app-interface {
        padding: 12px;
        background: 
            radial-gradient(ellipse at top, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
            var(--background-dark);
    }

    .app-brand {
        font-size: 12px;
        padding: 6px 0;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 600;
    }

    .welcome-section {
        padding: 14px;
        margin-bottom: 12px;
        background: linear-gradient(135deg, rgba(74, 144, 226, 0.8) 0%, rgba(53, 122, 189, 0.9) 100%);
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    }

    .welcome-title {
        font-size: 14px;
        font-weight: 700;
    }

    .user-info {
        font-size: 11px;
        opacity: 0.9;
    }

    .market-status {
        font-size: 9px;
        opacity: 0.8;
    }

    .main-actions {
        margin-bottom: 12px;
    }

    .action-item {
        padding: 8px 10px;
        gap: 10px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(74, 144, 226, 0.3);
        backdrop-filter: blur(5px);
        transition: all 0.2s ease;
    }

    .action-item:hover {
        background: rgba(74, 144, 226, 0.1);
    }

    .action-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
        background: linear-gradient(135deg, #4A90E2 0%, #00d4ff 100%);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .action-title {
        font-size: 11px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.95);
    }

    .action-desc {
        font-size: 9px;
        color: rgba(255, 255, 255, 0.7);
    }

    .stats-row {
        padding: 8px 0;
        border-top: 1px solid rgba(74, 144, 226, 0.2);
    }

    .stats-row .stat-value {
        font-size: 12px;
        font-weight: 700;
        background: linear-gradient(135deg, #4A90E2 0%, #00d4ff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .stats-row .stat-label {
        font-size: 8px;
        color: rgba(255, 255, 255, 0.7);
    }

    .features,
    .about,
    .download {
        padding: 80px 0 60px;
        background: linear-gradient(135deg, var(--background-dark) 0%, rgba(22, 33, 62, 0.3) 100%);
    }

    .features {
        background: 
            linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, transparent 50%),
            var(--background-light);
        position: relative;
    }

    .section-header {
        margin-bottom: 60px;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        background: linear-gradient(135deg, #ffffff 0%, rgba(74, 144, 226, 0.8) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 800;
    }

    .section-header p {
        font-size: 1.05rem;
        color: rgba(255, 255, 255, 0.8);
        max-width: 350px;
        margin: 0 auto;
        line-height: 1.7;
        word-spacing: 0.05em;
        letter-spacing: 0.01em;
        text-align: center;
    }

    .features-grid {
        gap: 25px;
    }

    .feature-card {
        padding: 30px 25px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(74, 144, 226, 0.2);
        border-radius: 20px;
        backdrop-filter: blur(10px);
        position: relative;
        overflow: hidden;
        transition: all 0.4s ease;
    }

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #4A90E2, transparent);
        transition: left 0.6s ease;
    }

    .feature-card:hover::before {
        left: 100%;
    }

    .feature-card:nth-child(odd) {
        animation: slideInLeft 0.8s ease-out forwards;
    }

    .feature-card:nth-child(even) {
        animation: slideInRight 0.8s ease-out forwards;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 24px;
        margin-bottom: 20px;
        background: linear-gradient(135deg, #4A90E2 0%, #00d4ff 100%);
        box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
        animation: glow 3s ease-in-out infinite;
    }

    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        color: #ffffff;
        font-weight: 700;
    }

    .feature-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
    }

    .about-content {
        gap: 40px;
        text-align: center;
        max-width: 400px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .about-text h2 {
        font-size: 2.2rem;
        margin-bottom: 25px;
        background: linear-gradient(135deg, #ffffff 0%, rgba(74, 144, 226, 0.8) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 800;
        text-align: center;
        line-height: 1.2;
    }

    .about-text p {
        font-size: 1.05rem;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.7;
        margin-bottom: 35px;
        text-align: center;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
        word-spacing: 0.05em;
        letter-spacing: 0.01em;
    }

    .about-features {
        gap: 18px;
        margin-top: 30px;
        display: grid;
        grid-template-columns: 1fr;
    }

    .about-feature {
        display: flex;
        align-items: center;
        gap: 18px;
        background: rgba(255, 255, 255, 0.05);
        padding: 18px 20px;
        border-radius: 15px;
        border: 1px solid rgba(74, 144, 226, 0.2);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .about-feature:hover {
        background: rgba(74, 144, 226, 0.1);
        transform: translateX(5px);
    }

    .about-feature i {
        color: #4A90E2;
        font-size: 20px;
        min-width: 20px;
        text-align: center;
    }

    .about-feature span {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        line-height: 1.4;
        letter-spacing: 0.01em;
        text-align: left;
    }

    .app-features {
        gap: 15px;
    }

    .stats-card {
        padding: 30px 20px;
    }

    .stats-list {
        gap: 20px;
    }

    .stat-item {
        padding-bottom: 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .download {
        background: 
            radial-gradient(ellipse at center, rgba(74, 144, 226, 0.1) 0%, transparent 60%),
            linear-gradient(135deg, var(--background-light) 0%, rgba(15, 15, 35, 0.9) 100%);
    }

    .download-content {
        gap: 40px;
        max-width: 400px;
        margin: 0 auto;
        text-align: center;
        padding: 0 20px;
    }

    .download-text h2 {
        font-size: 2.2rem;
        margin-bottom: 25px;
        background: linear-gradient(135deg, #ffffff 0%, rgba(74, 144, 226, 0.8) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 800;
        text-align: center;
        line-height: 1.2;
    }

    .download-text p {
        font-size: 1.05rem;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.7;
        margin-bottom: 35px;
        text-align: center;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
        word-spacing: 0.1em;
        letter-spacing: 0.02em;
    }

    .app-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 30px;
    }

    .app-feature {
        background: rgba(255, 255, 255, 0.05);
        padding: 20px 22px;
        border-radius: 15px;
        border: 1px solid rgba(74, 144, 226, 0.2);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        text-align: left;
        transition: all 0.3s ease;
    }

    .app-feature:hover {
        background: rgba(74, 144, 226, 0.1);
        transform: translateX(5px);
    }

    .app-feature i {
        color: #4A90E2;
        font-size: 20px;
        margin-right: 18px;
        min-width: 20px;
        text-align: center;
    }

    .app-feature span {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        line-height: 1.4;
        letter-spacing: 0.01em;
    }

    .download-buttons {
        margin-top: 40px;
    }

    .download-btn {
        max-width: 100%;
        padding: 25px 30px;
        background: 
            linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(74, 144, 226, 0.1) 100%),
            rgba(255, 255, 255, 0.05);
        border: 2px solid rgba(74, 144, 226, 0.3);
        border-radius: 20px;
        backdrop-filter: blur(15px);
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .download-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.6s ease;
    }

    .download-btn:active::before {
        left: 100%;
    }

    .download-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        background: linear-gradient(135deg, #4A90E2 0%, #00d4ff 100%);
        border-radius: 15px;
        box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
    }

    .download-text {
        font-size: 1.1rem;
        font-weight: 700;
        color: #ffffff;
    }

    .download-subtext {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
    }

    .download-note {
        background: rgba(255, 255, 255, 0.05);
        padding: 15px 20px;
        border-radius: 15px;
        border: 1px solid rgba(74, 144, 226, 0.2);
        backdrop-filter: blur(10px);
    }

    .download-note i {
        color: #4A90E2;
        margin-right: 12px;
    }

    .download-note span {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
    }

    .footer {
        padding: 60px 0 30px;
        background: 
            linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(26, 33, 62, 0.8) 100%),
            var(--background-dark);
        border-top: 1px solid rgba(74, 144, 226, 0.2);
        position: relative;
    }

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, #4A90E2, transparent);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        max-width: 350px;
        margin: 0 auto;
    }

    .footer-brand {
        gap: 20px;
    }

    .footer-logo {
        font-size: 20px;
        font-weight: 800;
        background: linear-gradient(135deg, #4A90E2 0%, #00d4ff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .footer-logo-img {
        margin-right: 8px;
        height: 24px;
        width: auto;
        max-width: 24px;
        object-fit: contain;
        vertical-align: middle;
    }

    .footer-brand p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1rem;
    }

    .footer-column {
        background: rgba(255, 255, 255, 0.05);
        padding: 25px 20px;
        border-radius: 15px;
        border: 1px solid rgba(74, 144, 226, 0.2);
        backdrop-filter: blur(10px);
    }

    .footer-column h4 {
        color: #4A90E2;
        margin-bottom: 20px;
        font-size: 1.1rem;
        font-weight: 700;
    }

    .footer-column a {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.95rem;
        padding: 8px 0;
        display: block;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .footer-column a:hover {
        color: #4A90E2;
        background: rgba(74, 144, 226, 0.1);
        padding-left: 10px;
    }

    .footer-bottom {
        margin-top: 40px;
        padding-top: 30px;
        border-top: 1px solid rgba(74, 144, 226, 0.2);
        text-align: center;
    }

    .footer-bottom p {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        background: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
        border: 1px solid rgba(74, 144, 226, 0.3);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #4A90E2;
        font-size: 18px;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .social-links a:hover {
        background: linear-gradient(135deg, #4A90E2 0%, #00d4ff 100%);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
    }
}

/* Small Mobile - 360px and down */
@media (max-width: 360px) {
    /* Language Switcher for very small screens */
    .language-switcher {
        margin-right: 8px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        gap: 4px;
        font-size: 11px;
    }
    
    .lang-btn i.fa-globe {
        font-size: 12px;
    }
    
    .lang-text {
        display: none;
    }
    
    .lang-btn i.fa-chevron-down {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
        padding: 12px;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .footer-content {
        gap: 25px;
    }
}

/* Improve touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    .social-links a,
    .download-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .feature-card,
    .action-item {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(74, 144, 226, 0.1);
    }
    
    .hamburger {
        min-height: 44px;
        min-width: 44px;
        justify-content: center;
        align-items: center;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .feature-card:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .phone-mockup:hover {
        transform: none;
        box-shadow: var(--shadow-light);
    }
    
    /* Disable complex animations on mobile for better performance */
    .feature-card,
    .btn,
    .nav-link {
        will-change: auto;
    }
    
    /* Optimize text rendering */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeSpeed;
    }
    
    /* Enhanced loading shimmer for mobile */
    .loading-shimmer {
        background: linear-gradient(90deg, 
            rgba(255, 255, 255, 0.1) 0%, 
            rgba(74, 144, 226, 0.2) 50%, 
            rgba(255, 255, 255, 0.1) 100%);
        background-size: 200px 100%;
        background-repeat: no-repeat;
        animation: shimmer 1.5s infinite;
    }
    
    /* Reduce motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }
        
        .phoneFloat,
        .float,
        .glow {
            animation: none !important;
        }
    }
    
    /* Optimize scrolling on mobile */
    .hero,
    .features,
    .about,
    .download {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: y proximity;
    }
    
    /* Better mobile focus styles */
    button:focus,
    a:focus,
    input:focus {
        outline: 3px solid rgba(74, 144, 226, 0.6);
        outline-offset: 2px;
        box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-appearance: none) {
    .btn,
    .nav-link.download-btn {
        -webkit-appearance: none;
        -webkit-border-radius: 50px;
    }
    
    /* Fix viewport height issue on mobile Safari */
    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
}

/* Landscape orientation optimizations */
@media (max-width: 896px) and (orientation: landscape) {
    /* Language Switcher Landscape */
    .language-switcher {
        margin-right: 10px;
    }
    
    .lang-btn {
        padding: 6px 12px;
    }
    
    .hero {
        min-height: 100vh;
        padding: 60px 0 40px;
        padding-top: 80px;
    }
    
    .hero-container {
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        margin-bottom: 30px;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
}

/* High DPI screens optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-logo i,
    .feature-icon,
    .download-icon {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Touch device optimizations */
.touch-device .btn:hover,
.touch-device .feature-card:hover,
.touch-device .nav-link:hover,
.touch-device .phone-mockup:hover {
    transform: none;
    box-shadow: inherit;
}

.touch-device .btn:active,
.touch-device .feature-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Better focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.download-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Prevent text selection on UI elements */
.btn,
.nav-link,
.hamburger,
.feature-icon {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* Optimize for very small screens */
@media (max-width: 320px) {
    .container {
        padding: 0 15px;
    }

    .about-content,
    .download-content {
        padding: 0 15px;
        max-width: 320px;
    }
    
    .hero {
        padding: 70px 0 30px;
        padding-top: 90px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 6px;
    }
    
    .gradient-text {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
        max-width: 280px;
        text-align: center;
        word-spacing: 0.05em;
        letter-spacing: 0.01em;
        line-height: 1.6;
        padding: 0 10px;
    }
    
    .btn {
        padding: 16px 25px;
        font-size: 0.9rem;
        max-width: 260px;
        text-align: center;
        letter-spacing: 0.02em;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 250px;
    }
    
    .stat {
        padding: 15px 10px;
    }
    
    .stat h3 {
        font-size: 1.5rem;
    }
    
    .stat p {
        font-size: 0.8rem;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
        padding: 10px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
        max-width: 280px;
        padding: 0 10px;
        text-align: center;
        word-spacing: 0.05em;
        letter-spacing: 0.01em;
        line-height: 1.6;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 18px;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .download-content {
        max-width: 300px;
    }
    
    .download-text h2 {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .about-text h2 {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .about-text p,
    .download-text p {
        padding: 0 10px;
    }
    
    .download-btn {
        padding: 20px 25px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .download-info {
        text-align: center;
    }
    
    .download-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .footer-content {
        max-width: 280px;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Enhanced animations for very small screens */
    .hero::before {
        width: 100%;
        height: 60%;
    }
    
    .app-interface {
        padding: 8px;
    }
    
    .welcome-section {
        padding: 12px;
    }
    
    .action-item {
        padding: 8px;
        gap: 10px;
    }
    
    .action-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* Print styles */
@media print {
    .hamburger,
    .nav-menu,
    .btn,
    .social-links,
    .phone-mockup {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
} 