/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6B7280;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6B7280;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
}

/* Gradients and colors */
.text-gradient {
    background: linear-gradient(135deg, #059669 0%, #10B981 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #F3F4F6;
    z-index: 100;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

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

.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(16, 185, 129, 0.35);
}

.btn-secondary {
    background: white;
    color: #374151;
    border: 1px solid #E5E7EB;
}

.btn-secondary:hover {
    background: #F9FAFB;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #059669;
    border: 1px solid #059669;
}

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

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

/* Hero section */
.hero {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6B7280;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-app-icon {
    width: 280px;
    height: 280px;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.hero-app-icon:hover {
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Features section */
.features {
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.feature-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: #E5E7EB;
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.icon-circle.green {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
}

.icon-circle.orange {
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111827;
}

.feature-card p {
    color: #6B7280;
    line-height: 1.7;
}

/* How it works section */
.how-it-works {
    padding: 5rem 2rem;
    background: #F9FAFB;
}

/* Workflow sections */
.workflow-sections {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.workflow-section {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
}

.workflow-title {
    font-size: 2rem;
    color: #111827;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.workflow-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    border-radius: 2px;
}

.workflow-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.workflow-description {
    padding-right: 2rem;
}

.workflow-description p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #6B7280;
}

.description-slide {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.description-slide.active {
    opacity: 1;
    position: relative;
}

.description-slide h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

/* GIF Carousel */
.gif-carousel {
    position: relative;
    background: #F8F9FA;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-container {
    position: relative;
    width: 480px;
    height: 500px;
    min-height: 300px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.gif-placeholder {
    width: 90%;
    height: 80%;
    background: linear-gradient(135deg, #f0f8ec 0%, #e8f5e0 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6ba347;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
    border: 2px dashed #a8d982;
}

.demo-video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D1D5DB;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    transform: scale(1.2);
}

/* CTA section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-actions {
    margin-bottom: 1rem;
}

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Footer */
footer {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand .brand-name {
    color: white;
}

.footer-logo {
    width: 32px;
    height: 32px;
}

.footer-text {
    color: white;
    text-align: right;
}

.footer-text p {
    margin: 0;
}

.release-note {
    color: white;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .workflow-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .workflow-description {
        padding-right: 0;
    }
    
    .workflow-section {
        padding: 2rem;
    }
    
    .carousel-container {
        height: 400px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-app-icon {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem;
    }
    
    .features, .how-it-works, .cta-section {
        padding: 3rem 1rem;
    }
    
    .nav-content {
        padding: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-app-icon {
        width: 160px;
        height: 160px;
    }
    
    .workflow-sections {
        gap: 3rem;
    }
    
    .workflow-section {
        padding: 1.5rem;
    }
    
    .workflow-title {
        font-size: 1.5rem;
    }
    
    .carousel-container {
        height: 350px;
    }
    
    .carousel-controls {
        padding: 0.5rem 1rem;
        gap: 0.75rem;
    }
    
    .carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
}