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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Typography */
.text-accent {
    color: #F28B82;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
    justify-content: center;
}

@media (min-width: 640px) {
    .btn {
        width: auto;
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background-color: #F28B82;
    color: white;
}

.btn-primary:hover {
    background-color: #E0665E;
}

.btn-secondary {
    background-color: transparent;
    color: #6b7280;
    border: none;
}

.btn-secondary:hover {
    color: #1f2937;
}

.btn-white {
    background-color: white;
    color: #F28B82;
}

.btn-white:hover {
    background-color: #f9fafb;
}

.btn-ghost {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.8);
}

.btn-ghost:hover {
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn:hover {
    transform: scale(1.05);
}

/* Header */
.header {
    border-bottom: 1px solid #f3f4f6;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .header-content {
        padding: 1.5rem 0;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: #F28B82;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

@media (min-width: 768px) {
    .logo-text {
        font-size: 1.25rem;
    }
}

.nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1f2937;
}

/* Hero Section */
.hero {
    padding: 2rem 0 3rem;
}

@media (min-width: 768px) {
    .hero {
        padding: 4rem 0 5rem;
    }
}

.hero-content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero-content {
        max-width: 64rem;
    }
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
        max-width: 48rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        gap: 1.5rem;
    }
}

/* Intro Section */
.intro {
    padding: 3rem 0;
    background-color: #f9fafb;
}

@media (min-width: 768px) {
    .intro {
        padding: 5rem 0;
    }
}

.intro-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

@media (min-width: 1024px) {
    .intro-content {
        max-width: 64rem;
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.125rem;
        max-width: 48rem;
    }
}

.intro-cards {
    display: grid;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .intro-cards {
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .intro-cards {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
}

.intro-card {
    background-color: white;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
    .intro-card {
        padding: 1.5rem;
    }
}

.intro-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #ede9fe;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #F28B82;
}

@media (min-width: 640px) {
    .intro-card-icon {
        width: 3rem;
        height: 3rem;
    }
}

@media (min-width: 768px) {
    .intro-card-icon {
        margin: 0 0 1rem 0;
    }
}

.intro-card-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .intro-card-title {
        font-size: 1.125rem;
    }
}

.intro-card-text {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .intro-card-text {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Features Section */
.features {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .features {
        padding: 5rem 0;
    }
}

.features-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .features-header {
        margin-bottom: 4rem;
    }
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    transition: box-shadow 0.2s ease;
}

@media (min-width: 768px) {
    .feature-card {
        padding: 2rem;
    }
}

.feature-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: #ede9fe;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #F28B82;
}

@media (min-width: 768px) {
    .feature-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .feature-title {
        font-size: 1.25rem;
    }
}

.feature-text {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .feature-text {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 3rem 0;
    background-color: #f9fafb;
}

@media (min-width: 768px) {
    .how-it-works {
        padding: 5rem 0;
    }
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .how-it-works-header {
        margin-bottom: 4rem;
    }
}

.steps-grid {
    display: grid;
    gap: 2rem;
    position: relative;
}

@media (min-width: 640px) {
    .steps-grid {
        gap: 3rem;
    }
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Connection lines for desktop */
@media (min-width: 768px) {
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 4rem;
        left: 33.33%;
        right: 33.33%;
        height: 1px;
        background-color: #e5e7eb;
        z-index: 1;
    }
}

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

.step-number {
    width: 3rem;
    height: 3rem;
    background-color: #F28B82;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: white;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .step-number {
        width: 4rem;
        height: 4rem;
    }
}

.step-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .step-content {
        padding: 2rem;
    }
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .step-title {
        font-size: 1.25rem;
    }
}

.step-text {
    color: #6b7280;
    line-height: 1.5;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .step-text {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Final CTA Section */
.final-cta {
    padding: 3rem 0;
    background-color: #F28B82;
    color: white;
}

@media (min-width: 768px) {
    .final-cta {
        padding: 5rem 0;
    }
}

.final-cta-content {
    text-align: center;
}

.final-cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .final-cta-title {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .final-cta-title {
        font-size: 2.25rem;
    }
}

.final-cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .final-cta-subtitle {
        font-size: 1.25rem;
        max-width: 48rem;
    }
}

.final-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .final-cta-actions {
        flex-direction: row;
        gap: 1.5rem;
    }
}

/* Portfolio Section */
.portfolio {
    padding: 3rem 0;
    background-color: #f9fafb;
}

@media (min-width: 768px) {
    .portfolio {
        padding: 5rem 0;
    }
}

.portfolio-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

@media (min-width: 1024px) {
    .portfolio-content {
        max-width: 64rem;
    }
}

.portfolio-grid {
    display: grid;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .portfolio-grid {
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
}

.portfolio-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #f3f4f6;
}

@media (min-width: 640px) {
    .portfolio-image {
        height: 300px;
    }
}

.portfolio-card-content {
    padding: 1.25rem;
}

@media (min-width: 640px) {
    .portfolio-card-content {
        padding: 1.5rem;
    }
}

.portfolio-card-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .portfolio-card-title {
        font-size: 1.125rem;
    }
}

.portfolio-card-text {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .portfolio-card-text {
        font-size: 1rem;
        line-height: 1.6;
    }
}

.portfolio-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #F28B82;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.portfolio-card-link:hover {
    color: #E0665E;
}

/* Footer */
.footer {
    background-color: #f9fafb;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .footer {
        padding: 3rem 0;
    }
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-text {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-text {
        text-align: right;
    }
}

.copyright {
    color: #6b7280;
    font-size: 0.875rem;
}

.tagline {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 639px) {
    .hero-title {
        font-size: 1.875rem;
    }
    
    .section-title {
        font-size: 1.375rem;
    }
    
    .hero-subtitle,
    .section-subtitle {
        font-size: 0.9375rem;
    }
    
    .final-cta-subtitle {
        font-size: 1rem;
    }
    
    .btn-large {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
}