/* ===== CSS Variables ===== */
:root {
    --primary: #00C853;
    --primary-dark: #00A043;
    --secondary: #FFD600;
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.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);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero .container {
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-video {
    max-width: 900px;
    margin: 30px auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-video video {
    width: 100%;
    display: block;
}

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

/* ===== Features Section ===== */
.features {
    padding: 6rem 0;
    background: var(--white);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
}

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

.feature-card {
    background: var(--light-gray);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 200, 83, 0.2);
}

.feature-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.05) 0%, var(--light-gray) 100%);
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-desc {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    color: var(--dark);
    padding: 8px 0;
    font-size: 0.95rem;
}

/* ===== Highlights Section ===== */
.highlights {
    padding: 100px 0;
    background: var(--light-gray);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-align: center;
}

.highlight-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 200, 83, 0.2);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.highlight-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.highlight-card p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.highlight-card ul {
    list-style: none;
    text-align: left;
}

.highlight-card ul li {
    color: var(--gray);
    padding: 8px 0;
    font-size: 0.95rem;
}

/* ===== App Section ===== */
.app-section {
    background: var(--light-gray);
    padding: 100px 0;
}

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

.app-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.app-intro > p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.platform-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.badge {
    background: var(--white);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 200, 83, 0.3);
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.app-feature-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.app-feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.app-feature-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.app-feature-item p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
}

.app-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--dark);
    color: var(--white);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

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

.app-gallery {
    position: relative;
}

.app-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.app-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.app-slide {
    min-width: 100%;
    text-align: center;
}

.app-slide-image {
    width: 100%;
    height: 500px;
    object-fit: contain;
    display: block;
    background: #f8f9fa;
}

.app-slide-label {
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

.app-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    user-select: none;
}

.app-slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.app-slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

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

.app-slider-btn.prev {
    left: 15px;
}

.app-slider-btn.next {
    right: 15px;
}

.app-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary);
    width: 16px;
    height: 16px;
    border-color: white;
}

.dot::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
}

/* ===== Demo Section ===== */
.demo {
    padding: 100px 0;
    background: var(--white);
}

.demo-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.video-container {
    background: var(--light-gray);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.video-container video {
    width: 100%;
    display: block;
}

.demo-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.demo-feature {
    display: flex;
    gap: 15px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.demo-feature:hover {
    border-color: var(--primary);
}

.demo-feature-icon {
    font-size: 2rem;
}

.demo-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.demo-feature p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== Tech Section ===== */
.tech {
    background: var(--light-gray);
    padding: 100px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.tech-item {
    text-align: center;
    padding: 30px 20px;
}

.tech-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.tech-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tech-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

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

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

.cta .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

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

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    color: var(--gray);
    margin-left: 10px;
}

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-icp {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-icp a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-icp a:hover {
    color: var(--primary);
}

.separator {
    margin: 0 10px;
    opacity: 0.5;
}

/* ===== Buttons ===== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 200, 83, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

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

    .app-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .app-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .app-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .demo-content {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 100px;
        min-height: auto;
    }

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

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

    .hero-desc {
        font-size: 1rem;
    }

    .hero-video {
        margin: 20px auto 0;
    }

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

    .nav-links {
        gap: 15px;
    }

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

    .app-slide-image {
        height: 300px;
    }

    .app-slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
}
