/* 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, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
    text-align: center;
}

.section__description {
    font-size: 1.125rem;
    color: #6b7280;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.section__header {
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
}

.btn--secondary {
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.btn--secondary:hover {
    border-color: #059669;
    color: #059669;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn__icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav__logo {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
}

.nav__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #059669;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav__link:hover {
    color: #059669;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav__toggle span {
    width: 1.5rem;
    height: 2px;
    background: #374151;
    transition: all 0.2s ease;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23059669" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23047857" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero__highlight {
    color: #059669;
    position: relative;
}

.hero__highlight::after {
    content: '';
    position: absolute;
    bottom: 0.2em;
    left: 0;
    width: 100%;
    height: 0.3em;
    background: linear-gradient(135deg, #86efac 0%, #6ee7b7 100%);
    z-index: -1;
    transform: skew(-12deg);
}

.hero__description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.hero__stat {
    text-align: center;
}

.hero__stat strong {
    display: block;
    font-weight: 700;
    color: #059669;
    margin-bottom: 0.25rem;
}

.hero__stat span {
    font-size: 0.875rem;
    color: #6b7280;
}

.hero__image {
    position: relative;
}

.hero__mockup {
    width: 100%;
    max-width: 1400px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.hero__badges {
    position: absolute;
    top: 1rem;
    right: -2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.badge {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

.badge:nth-child(2) {
    animation-delay: 0.5s;
}

.badge:nth-child(3) {
    animation-delay: 1s;
}

.badge svg {
    width: 1rem;
    height: 1rem;
    color: #059669;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: white;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.feature {
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    background: white;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #059669;
}

.feature__icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature__icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.feature__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.feature__description {
    color: #6b7280;
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 0;
    background: #f9fafb;
}

.steps {
    max-width: 1550px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 3fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 6rem;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: calc(100% + 2rem);
    background: #e5e7eb;
    z-index: 0;
}

.step:last-child::after {
    display: none;
}

.step--reverse {
    grid-template-columns: 80px 1fr 3fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.step--reverse .step__content {
    order: 2;
}

.step--reverse .step__image {
    order: 1;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    width: 700px;
    height: 400px;
}

.step__number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
    margin-top: 1rem;
}

.step__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.step__description {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1.125rem;
}

.step__image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    width: 700px;
    height: 400px;
}

.step__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.cta-section {
    margin-top: 4rem;
}

.cta-box {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    padding: 3rem;
    border-radius: 1.5rem;
    text-align: center;
    color: white;
}

.cta-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-box .btn--primary {
    background: white;
    color: #059669;
}

.cta-box .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

.about__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__description {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about__feature {
    display: flex;
    gap: 1rem;
}

.about__feature svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #059669;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.about__feature strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #111827;
}

.about__feature p {
    color: #6b7280;
    line-height: 1.6;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 1rem;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #059669;
    margin-bottom: 0.5rem;
}

.stat__label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: #f9fafb;
}

.faq__grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    margin-bottom: 1rem;
}

.faq__question {
    width: 100%;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    transition: all 0.2s ease;
}

.faq__question:hover {
    border-color: #059669;
}

.faq__question.active {
    border-color: #059669;
    background: #f0fdf4;
}

.faq__question svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
}

.faq__question.active svg {
    transform: rotate(180deg);
}

.faq__answer {
    background: white;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 0.75rem 0.75rem;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq__answer.active {
    max-height: 200px;
    padding: 1.5rem;
    border-color: #059669;
}

.faq__answer p {
    color: #6b7280;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 4rem 0 2rem 0;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__brand h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer__brand p {
    color: #9ca3af;
    line-height: 1.7;
}

.footer__logo {
    width: 50px;
    height: 50px;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.footer__section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer__section ul {
    list-style: none;
}

.footer__section ul li {
    margin-bottom: 0.5rem;
}

.footer__section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__section ul li a:hover {
    color: #059669;
}

.footer__bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

.footer__bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero__image {
        order: -1;
    }

    .hero__badges {
        position: static;
        margin-top: 2rem;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .step {
        grid-template-columns: 80px 1fr;
        gap: 2rem;
    }

    .step--reverse {
        grid-template-columns: 80px 1fr;
    }

    .step--reverse .step__content,
    .step--reverse .step__image {
        order: 0;
    }

    .step__image {
        grid-column: 1 / -1;
        margin-top: 2rem;
    }

    .about__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about__stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer__content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav__links {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .hero {
        padding: 6rem 0 4rem 0;
    }

    .hero__stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .btn--large {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }

    .features__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step {
        grid-template-columns: 60px 1fr;
    }

    .step__image {
        display: none;
    }

    .step__number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .about__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section__title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }

    .cta-box h3 {
        font-size: 1.5rem;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav__links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav__link {
        padding: 0.75rem 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav__link:last-child {
        border-bottom: none;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .btn,
    .nav__toggle {
        display: none;
    }

    .hero {
        padding: 2rem 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}