/* 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: #111827;
    background: #ffffff;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

a:not(.btn-download-nav):not(.btn-primary):not(.btn-secondary):not(.btn-cta):not(.logo) {
    text-decoration: underline;
    text-underline-offset: 2px;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Icons */
.icon {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4ade80 0%, #facc15 35%, #fb923c 65%, #dc2626 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.35);
    pointer-events: none;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.nav {
    padding: 1.5rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: none;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #4ade80 0%, #facc15 35%, #fb923c 65%, #dc2626 100%);
    padding: 1rem;
    gap: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links a {
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.btn-download-nav {
    background: white;
    color: #ea580c;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    transition: background-color 0.3s;
}

.btn-download-nav:hover {
    background: #fffbeb;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: white;
    display: block;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero-content {
    padding: 5rem 0;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: #F9FAFB;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background: white;
    color: #ea580c;
    padding: 1rem 2rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background: #fed7aa;
}

.btn-secondary {
    border: 2px solid white;
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #fed7aa;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    background: white;
    border-radius: 50%;
    filter: blur(80px);
}

.decoration-circle-1 {
    top: 5rem;
    right: 5rem;
    width: 18rem;
    height: 18rem;
}

.decoration-circle-2 {
    bottom: 5rem;
    right: 10rem;
    width: 24rem;
    height: 24rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: #FCF9F9;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-description {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 42rem;
    margin: 1rem auto 0;
}

.features-grid {
    display: grid;
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.bg-green {
    background: #d1fae5;
    color: #059669;
}

.bg-yellow {
    background: #fef3c7;
    color: #ca8a04;
}

.bg-orange {
    background: #fed7aa;
    color: #ea580c;
}

.bg-red {
    background: #fecaca;
    color: #dc2626;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #4b5563;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 5rem 0;
    /* background: #f9fafb; */
}

.about-story {
    max-width: 56rem;
    margin: 0 auto 4rem;
    text-align: center;
}

.about h2 {
    margin-bottom: 1.5rem;
}

.about-main {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 1rem;
}

.about-mission {
    font-size: 1.125rem;
    color: #4b5563;
}

.values-grid {
    display: grid;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.value-card {
    text-align: center;
}

.value-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.value-card h4 {
    margin-bottom: 0.5rem;
}

.value-card p {
    color: #4b5563;
}

/* App Preview Section */
.app-preview {
    padding: 5rem 0;
    background: #FCF9F9;
}

.preview-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.preview-content h2 {
    margin-bottom: 1.5rem;
}

.preview-description {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.check-icon svg {
    width: 16px;
    height: 16px;
    color: #059669;
}

.highlight-item span {
    font-size: 1.125rem;
    color: #374151;
}

.preview-image-wrapper {
    position: relative;
}

.preview-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4ade80, #facc15, #fb923c);
    border-radius: 1.5rem;
    transform: rotate(3deg);
}

.preview-image {
    position: relative;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: #f9fafb;
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    width: 20px;
    height: 20px;
    color: #facc15;
}

.testimonial-content {
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.author-name {
    color: #111827;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-role {
    color: #6b7280;
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #4ade80 0%, #facc15 35%, #fb923c 65%, #dc2626 100%);
    position: relative;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.35);
    pointer-events: none;
}

.cta > * {
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    color: #fef3c7;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: center;
}

.btn-cta {
    background: white;
    color: #ea580c;
    padding: 1rem 2rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 300px;
}

.btn-cta:hover {
    background: #fffbeb;
}

.cta-note {
    color: #fef3c7;
}

/* Footer */
.footer {
    background: #111827;
    color: #d1d5db;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9ca3af;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-placeholder {
    color: #9ca3af;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    color: #9ca3af;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #d1d5db;
    transition: color 0.3s;
}

.social-links a:hover {
    color: white;
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -80px;
    background: #111827;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    z-index: 1000;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    top: 1rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons,
    .cta-buttons {
        flex-direction: row;
    }

    .btn-cta {
        width: auto;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.75rem;
    }

    h2 {
        font-size: 3rem;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
    }

    .nav-links.active {
        position: static;
        padding: 0;
        box-shadow: none;
        background: transparent;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-content {
        padding: 8rem 0;
    }

    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features {
        padding: 8rem 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        padding: 8rem 0;
    }

    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .app-preview {
        padding: 8rem 0;
    }

    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials {
        padding: 8rem 0;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta {
        padding: 8rem 0;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Accessibility: visible focus states for keyboard users */
a:focus-visible,
button:focus-visible,
.mobile-menu-btn:focus-visible {
    outline: 3px solid rgba(59,130,246,0.8);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

