/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

/* Skip to main content */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.skip-to-main:focus {
    top: 6px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-brand:hover {
    color: #0073aa;
}

.nav-menu-toggle {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    color: #333;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: #ffffff;
    color: #333333;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: #333333;
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.hero-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    aspect-ratio: 2400 / 1384;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Statistics Section */
.statistics-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0073aa;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #0073aa;
    color: white;
}

.btn-primary:hover {
    background: #005177;
    transform: none;
    box-shadow: none;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: #ffffff;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 5rem;
    padding: 3rem;
    background: #f9f9f9;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: none;
}

.feature-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.feature-item:nth-child(even) .feature-content {
    order: 2;
}

.feature-item:nth-child(even) .feature-image {
    order: 1;
}

.feature-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon-large {
    font-size: 3rem;
    opacity: 0.8;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Battery Indicator */
.battery-indicator {
    position: relative;
    width: 200px;
    height: 80px;
    border: 3px solid #0073aa;
    border-radius: 8px;
    background: #f0f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.battery-level {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.battery-percent {
    position: relative;
    z-index: 2;
    font-weight: bold;
    color: #333;
}

/* Control Modes */
.control-modes {
    display: flex;
    gap: 0.5rem;
}

.mode-item {
    padding: 0.8rem 1.5rem;
    background: #e8f4f8;
    border: 2px solid transparent;
    border-radius: 25px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.mode-item.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* Schedule Display */
.schedule-display {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.time-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f0f8ff;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
    min-width: 150px;
}

.time {
    font-weight: bold;
    color: #333;
}

.target {
    color: #0073aa;
    font-weight: 600;
}

/* Status Display */
.status-display {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    background: #f0f8ff;
    border-radius: 8px;
    min-width: 120px;
}

.status-icon {
    font-size: 1.5rem;
}

.status-text {
    font-weight: 600;
    color: #333;
}

.feature-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.feature-image {
    height: 300px;
    background: #e8f4f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #d0e6f0;
}

/* FAQ Section */
.faq-section {
    padding: 3rem 0;
    background: white;
}

.faq-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem 1.5rem;
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    padding: 1.2rem 1.5rem;
    color: #666;
    line-height: 1.6;
    background: white;
}

/* Advanced Features Section */
.advanced-features-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
}

.advanced-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advanced-feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advanced-feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.advanced-feature h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.advanced-feature p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #0073aa;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background: #e8f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.2rem;
}

.author-title {
    font-size: 0.9rem;
    color: #666;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: #f0f8ff;
    color: #333333;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333333;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666666;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-link {
    color: #0073aa;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-device {
    font-size: 0.8rem;
    opacity: 0.6;
    background: #444;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .hero-image {
        max-width: 90%;
    }
    
    .hero-cta {
        gap: 2.5rem;
    }
    
    .statistics-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }
    
    .feature-item:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .feature-item:nth-child(even) .feature-content {
        order: 1;
    }
    
    .feature-item:nth-child(even) .feature-image {
        order: 2;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
    
    .feature-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .feature-icon-large {
        font-size: 2.5rem;
    }
    
    .feature-img {
        max-width: 90%;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    
    .feature-image {
        height: auto;
        min-height: 200px;
        padding: 1rem;
    }
    
    .feature-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .advanced-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advanced-feature {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-item {
        margin-bottom: 1rem;
    }
    
    .faq-question,
    .faq-answer {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-cta {
        gap: 2rem;
    }
    
    .hero-image {
        max-width: 95%;
    }
    
    .statistics-section {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
        gap: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .feature-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon-large {
        font-size: 2rem;
    }
    
    .feature-img {
        max-width: 85%;
        height: auto;
        margin: 1rem auto;
        display: block;
    }
    
    .feature-image {
        height: auto;
        min-height: 150px;
        padding: 0.5rem;
        margin-top: 1rem;
    }
    
    .feature-header {
        margin-bottom: 1rem;
    }
    
    .advanced-feature {
        padding: 1.2rem;
    }
    
    .advanced-feature h3 {
        font-size: 1.1rem;
    }
    
    .advanced-feature p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.2rem;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .author-name {
        font-size: 0.9rem;
    }
    
    .author-title {
        font-size: 0.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 200px;
    }
    
    .faq-question,
    .faq-answer {
        padding: 0.8rem;
    }
    
    .faq-question {
        font-size: 0.9rem;
    }
    
    .faq-answer {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .nav-brand {
        font-size: 1.3rem;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .footer-link {
        display: inline-block;
        margin: 0.2rem 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-brand:focus,
.nav-menu-toggle:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-item {
        border: 2px solid #333;
    }
    
    .btn-primary {
        border: 2px solid #fff;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-brand {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .feature-img:hover {
        transform: none;
    }
    
    .hero-image:hover {
        transform: none;
    }
    
    .advanced-feature:hover {
        transform: none;
    }
}

/* Very small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .statistics-section {
        gap: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .feature-item {
        padding: 1rem 0.8rem;
    }
    
    .feature-img {
        max-width: 80%;
        margin: 0.8rem auto;
    }
    
    .feature-image {
        min-height: 120px;
        padding: 0.3rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .advanced-feature {
        padding: 1rem;
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .container {
        padding: 0 10px;
    }
}