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

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background-color: rgba(18, 18, 18, 0.9);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(38, 166, 154, 0.3);
}

.lang-link {
    color: #90a4ae;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-link:hover {
    color: #26a69a;
    background-color: rgba(38, 166, 154, 0.1);
}

.lang-link.active {
    color: #121212;
    background-color: #26a69a;
}

.lang-link.active:hover {
    background-color: #00695c;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #121212;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    min-width: 160px;
}

.btn-primary {
    background-color: #26a69a;
    color: white;
    border-color: #26a69a;
    box-shadow: 0 8px 16px rgba(38, 166, 154, 0.3);
}

.btn-primary:hover {
    background-color: #00695c;
    border-color: #00695c;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(38, 166, 154, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #26a69a;
    border-color: #26a69a;
}

.btn-secondary:hover {
    background-color: #26a69a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(38, 166, 154, 0.3);
}

.btn-premium {
    background: linear-gradient(45deg, #ffc107, #ff8f00);
    color: #121212;
    border-color: #ffc107;
    box-shadow: 0 8px 16px rgba(255, 193, 7, 0.3);
}

.btn-premium:hover {
    background: linear-gradient(45deg, #ff8f00, #ffc107);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 193, 7, 0.4);
}

/* Hero Section */
.hero {
    display: block;
    text-align: center;
}

.hero-image {
    width: 100%;
}

.app-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.hero-title {
    background: linear-gradient(45deg, #26a69a, #4db6ac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #b0bec5;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #90a4ae;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot-placeholder {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #263238, #37474f);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.app-screenshot-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(38, 166, 154, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.placeholder-content {
    text-align: center;
    z-index: 1;
}

.placeholder-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: #26a69a;
    margin-bottom: 1rem;
}

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

/* Features Section */
.features {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

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

.feature-card {
    background: linear-gradient(145deg, #263238, #37474f);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(38, 166, 154, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(38, 166, 154, 0.2);
    border-color: rgba(38, 166, 154, 0.5);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    color: #26a69a;
    margin-bottom: 1rem;
}

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

/* Time Modes Section */
.time-modes {
    padding: 80px 20px;
    background-color: #1a1a1a;
}

.mode-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.mode-card {
    background: linear-gradient(145deg, #263238, #37474f);
    padding: 32px;
    border-radius: 20px;
    border-left: 4px solid #26a69a;
    transition: all 0.3s ease;
    border: 1px solid rgba(38, 166, 154, 0.2);
}

.mode-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(38, 166, 154, 0.2);
    border-color: rgba(38, 166, 154, 0.5);
}

.mode-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #26a69a;
    margin-bottom: 12px;
}

.mode-card p {
    color: #b0bec5;
    line-height: 1.6;
}

/* Operation Section */
.operation {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.operation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.operation-card {
    background: linear-gradient(145deg, #1e3a5f, #2c5282);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(100, 181, 246, 0.3);
    transition: all 0.3s ease;
}

.operation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(100, 181, 246, 0.3);
    border-color: rgba(100, 181, 246, 0.6);
}

.operation-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #64b5f6;
    margin-bottom: 16px;
}

.operation-card p {
    color: #b0bec5;
    line-height: 1.6;
}

.operation-card strong {
    color: #ff7043;
    font-weight: 600;
}

/* Screenshots Section */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.screenshot-placeholder {
    aspect-ratio: 9/16;
    background: linear-gradient(145deg, #263238, #37474f);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(38, 166, 154, 0.2);
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder.tension {
    background: linear-gradient(145deg, #ff8f00, #ffc107);
    border: 1px solid rgba(255, 193, 7, 0.5);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
    animation: pulse 2s infinite;
}

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

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(38, 166, 154, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.screenshot-placeholder:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(38, 166, 154, 0.2);
    border-color: rgba(38, 166, 154, 0.5);
}

.screenshot-placeholder .placeholder-content {
    z-index: 1;
    text-align: center;
}

.screenshot-placeholder .placeholder-icon {
    font-size: 2.5rem;
}

.screenshot-placeholder small {
    display: block;
    margin-top: 8px;
    opacity: 0.8;
    font-size: 0.9rem;
    color: #b0bec5;
}

.screenshot-placeholder.tension small {
    color: #000;
    opacity: 0.7;
}

/* Premium Section */
.premium {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    text-align: center;
}

.premium-content h2 {
    color: #ffc107;
    margin-bottom: 1rem;
}

.premium-content p {
    font-size: 1.2rem;
    color: #90a4ae;
    margin-bottom: 2rem;
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.premium-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(145deg, #263238, #37474f);
    border-radius: 15px;
    border: 1px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
}

.premium-feature:hover {
    border-color: rgba(255, 193, 7, 0.5);
    transform: translateY(-5px);
}

.premium-icon {
    font-size: 2rem;
    color: #ffc107;
}

.premium-feature span {
    color: #ffffff;
    font-weight: 500;
}

/* CTA Section */
.cta {
    text-align: center;
    background: linear-gradient(135deg, #26a69a, #4db6ac);
    color: white;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background-color: white;
    color: #26a69a;
    border-color: white;
}

.cta .btn-primary:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.cta .btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.cta .btn-secondary:hover {
    background-color: white;
    color: #26a69a;
}

/* Footer */
.footer {
    background-color: #0d0d0d;
    padding: 40px 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-links a {
    color: #90a4ae;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #26a69a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .app-screenshot-placeholder {
        width: 250px;
        height: 500px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .mode-list {
        grid-template-columns: 1fr;
    }
    
    .operation-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .premium-features {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
        min-width: 140px;
    }
    
    .app-screenshot-placeholder {
        width: 200px;
        height: 400px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .premium-feature {
        flex-direction: column;
        text-align: center;
    }
}