
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

/* Hero section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.bg-decoration {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2334d399' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 4rem 0;
    }
}

/* Content styles */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1f2937;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.brand-text {
    color: #059669;
}

.hero-description {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
    max-width: 32rem;
}

.cta-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta-section {
        flex-direction: row;
    }
}

.cta-button {
    background: #059669;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #047857;
    transform: translateY(-2px);
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* Mobile mockup */
.mockup-container {
    display: flex;
    justify-content: center;
    position: relative;
}

@media (min-width: 1024px) {
    .mockup-container {
        justify-content: end;
    }
}

.phone-frame {
    position: relative;
    width: 320px;
    background: #1f2937;
    border-radius: 3rem;
    padding: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.phone-screen {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 2.5rem;
    overflow: hidden;
    padding: 1.5rem;
    height: 600px;
    position: relative;
}

/* Status bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.time {
    font-size: 0.75rem;
    font-weight: 500;
}

.signal-bars {
    display: flex;
    gap: 0.25rem;
}

.bar {
    width: 1rem;
    height: 0.5rem;
    background: #9ca3af;
    border-radius: 0.125rem;
}

.bar.active {
    background: #059669;
}

/* App content */
.app-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.app-header {
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

.app-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.app-subtitle {
    font-size: 0.875rem;
    color: #4b5563;
}

/* Product cards */
.product-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #d1fae5;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
}

.card-1 {
    animation: slideInRight 0.6s ease-out 0.2s both;
}

.card-2 {
    animation: slideInRight 0.6s ease-out 0.4s both;
}

.product-image {
    width: 3rem;
    height: 3rem;
    background: #ecfdf5;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: bounceIn 0.8s ease-out 0.4s both;
}

.card-2 .product-img {
    animation-delay: 0.6s;
}

.product-info {
    flex: 1;
}

.product-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.product-quantity {
    font-size: 0.875rem;
    color: #4b5563;
}

.search-button {
    width: 100%;
    background: #059669;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.search-button:hover {
    background: #047857;
    transform: scale(1.05);
}

/* Bottom navigation */
.bottom-nav {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: white;
    border-radius: 1rem;
    padding: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    animation: slideInRight 0.6s ease-out 1s both;
}

.nav-item {
    padding: 0.5rem;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item.active {
    color: #059669;
}

.nav-item:nth-child(1) { animation: scaleIn 0.4s ease-out 1.2s both; }
.nav-item:nth-child(2) { animation: scaleIn 0.4s ease-out 1.3s both; }
.nav-item:nth-child(3) { animation: scaleIn 0.4s ease-out 1.4s both; }
.nav-item:nth-child(4) { animation: scaleIn 0.4s ease-out 1.5s both; }
.nav-item:nth-child(5) { animation: scaleIn 0.4s ease-out 1.6s both; }

/* Floating elements */
.floating-element {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: white;
    border-radius: 50%;
    padding: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #d1fae5;
    animation: scaleIn 0.6s ease-out 1.8s both;
}

.pulse-dot {
    width: 1.5rem;
    height: 1.5rem;
    background: #059669;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Stats section */
.stats-section {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .stat-number {
        font-size: 2.5rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    color: #4b5563;
}

@media (min-width: 1024px) {
    .stat-label {
        font-size: 1rem;
    }
}

/* Process section */
.process-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    color: white;
    font-weight: 600;
}

.step-icon.blue { background: #3b82f6; }
.step-icon.green { background: #10b981; }
.step-icon.green-dark { background: #059669; }
.step-icon.teal { background: #14b8a6; }

.step-number {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: white;
    color: #1f2937;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.step-description {
    color: #4b5563;
    line-height: 1.5;
}

.cta-center {
    text-align: center;
}

/* Features section */
.features-section {
    padding: 5rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: #d1fae5;
    color: #059669;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #4b5563;
    line-height: 1.5;
}

/* CTA section */
.cta-section-main {
    padding: 5rem 0;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .cta-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.cta-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.cta-card-description {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-card-button {
    background: white;
    color: #059669;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.cta-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
}

.newsletter {
    max-width: 32rem;
    margin: 0 auto;
}

.newsletter-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.newsletter-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-description {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #1f2937;
}

.newsletter-input::placeholder {
    color: #6b7280;
}

.newsletter-button {
    background: white;
    color: #059669;
    border: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-button:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
}

.footer-brand {
    max-width: 24rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #10b981;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #10b981;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-made {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Loading states */
.loading {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}
