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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #f4e088 0%, #e6d17a 100%);
    color: #2d3748;
    box-shadow: 0 4px 15px rgba(244, 224, 136, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 224, 136, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #f4e088;
    border: 2px solid #f4e088;
}

.btn-secondary:hover {
    background: #f4e088;
    color: #2d3748;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-icon {
    font-size: 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
}

.logo-icon {
    font-size: 32px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
}

.lang-btn:hover {
    border-color: #f4e088;
    color: #f4e088;
}

.lang-btn.active {
    background: #f4e088;
    border-color: #f4e088;
    color: #2d3748;
}

.lang-btn.active:hover {
    background: #e6d17a;
    border-color: #e6d17a;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.highlight {
    background: linear-gradient(135deg, #f4e088 0%, #e6d17a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

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

.app-preview {
    padding: 20px;
    height: 100%;
}

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

.app-title {
    font-size: 20px;
    font-weight: 700;
    color: #f4e088;
    margin-bottom: 4px;
}

.app-status {
    font-size: 14px;
    color: #666;
}

.station-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.station-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    border-left: 4px solid #f4e088;
}

.station-item.best-price {
    background: linear-gradient(135deg, #f4e088 0%, #e6d17a 100%);
    color: #2d3748;
    position: relative;
}

.station-brand {
    font-weight: 600;
    margin-bottom: 8px;
}

.station-prices {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.price {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.best-badge {
    position: absolute;
    top: -8px;
    right: 16px;
    background: #ff6b6b;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

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

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

.section-title {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

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

/* Features Section */
.features {
    background: white;
}

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

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

/* How It Works Section */
.how-it-works {
    background: #f8f9fa;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.step-description {
    color: #666;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    background: #f8f9fa;
    padding: 80px 0;
}

.screenshot-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.screenshot-wrapper {
    padding: 40px;
    display: flex;
    justify-content: center;
}

.screenshot-frame {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    transition: all 0.3s ease;
}

.screenshot-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.screenshot-header {
    text-align: center;
    margin-bottom: 30px;
}

.screenshot-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.screenshot-subtitle {
    color: #666;
    font-size: 1rem;
}

.screenshot-image {
    display: flex;
    justify-content: center;
}

.mockup-screen {
    width: 280px;
    height: 400px;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Home Screen Mockup */
.home-screen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mockup-header {
    text-align: center;
    margin-bottom: 30px;
}

.mockup-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.mockup-location {
    font-size: 0.9rem;
    opacity: 0.9;
}

.mockup-stations {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-station {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    position: relative;
}

.mockup-station.best {
    background: rgba(72, 187, 120, 0.2);
    border: 2px solid rgba(72, 187, 120, 0.5);
}

.station-brand {
    font-weight: 600;
    margin-bottom: 8px;
}

.station-prices {
    display: flex;
    gap: 10px;
}

.price {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.best-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #48bb78;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Map Screen Mockup */
.map-screen {
    background: #e8f4fd;
}

.mockup-map {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container {
    text-align: center;
}

.map-points {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.map-point {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-point.shell { background: #ff6b35; }
.map-point.total { background: #48bb78; }
.map-point.aral { background: #667eea; }

.map-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #666;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-color.shell { background: #ff6b35; }
.legend-color.total { background: #48bb78; }
.legend-color.aral { background: #667eea; }

/* Alerts Screen Mockup */
.alerts-screen {
    background: #fff5f5;
}

.mockup-alerts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.alert-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.alert-icon {
    font-size: 1.5rem;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.alert-status {
    font-size: 0.8rem;
    color: #666;
}

/* History Screen Mockup */
.history-screen {
    background: #f0fff4;
}

.mockup-chart {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-container {
    text-align: center;
}

.chart-line {
    position: relative;
    height: 100px;
    margin-bottom: 20px;
}

.chart-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #f4e088;
    border-radius: 50%;
    animation: chartPoint 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

.chart-point:nth-child(1) { left: 10%; top: 80%; }
.chart-point:nth-child(2) { left: 30%; top: 60%; }
.chart-point:nth-child(3) { left: 50%; top: 40%; }
.chart-point:nth-child(4) { left: 70%; top: 50%; }
.chart-point:nth-child(5) { left: 90%; top: 30%; }

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.carousel-btn {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    color: #f4e088;
}

.carousel-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #f4e088;
    transform: scale(1.2);
}

.dot:hover {
    background: #f4e088;
}

/* Chart Animation */
@keyframes chartPoint {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.5); opacity: 1; }
}

/* Carousel slide entrance animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.carousel-slide.active {
    animation: slideIn 0.6s ease-out;
}

/* Enhanced button hover effects */
.carousel-btn:hover {
    background: #f4e088;
    color: #2d3748;
    border-color: #f4e088;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(244, 224, 136, 0.3);
}

/* Dot hover animation */
.dot:hover {
    background: #667eea;
    transform: scale(1.3);
}

/* Screenshot frame entrance effect */
.screenshot-frame {
    animation: fadeInUp 0.8s ease-out;
}







/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .language-switcher {
        display: none;
    }

    .mobile-language-switcher {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    justify-content: center;
}

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }



    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }



    .screenshot-carousel {
        max-width: 100%;
        padding: 0 20px;
    }

    .screenshot-wrapper {
        padding: 20px;
    }

    .screenshot-frame {
        padding: 20px;
    }

    .mockup-screen {
        width: 240px;
        height: 320px;
    }

    .carousel-nav {
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

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

.feature-card,
.step,
.screenshot {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }

.screenshot:nth-child(1) { animation-delay: 0.1s; }
.screenshot:nth-child(2) { animation-delay: 0.2s; }
.screenshot:nth-child(3) { animation-delay: 0.3s; }

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #f4e088;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #000;
    }

    .feature-card {
        border: 2px solid #000;
    }
}
