/* ========================================
   Appsifys Landing Page Styles
   ======================================== */

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

:root {
    /* Colors */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: #eff6ff;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;
    --yellow-accent: #fbbf24;
    --yellow-light: #fffbeb;
    --yellow-dark: #78350f;
    
    /* Neutrals */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px;
    --card-radius: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
}

/* ========== Container ========== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== Header & Navigation ========== */
.header {
    background: var(--bg-white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.navbar {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 45px;
    width: auto;
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-buttons {
    display: flex;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--primary-blue);
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-signin {
    color: var(--primary-blue);
    background: transparent;
}

.btn-signin:hover {
    background: var(--primary-blue-light);
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-hero {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-dark) 100%);
    color: var(--bg-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, var(--whatsapp-dark) 0%, var(--whatsapp-green) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
}

.btn-cta {
    background: var(--bg-white);
    color: var(--primary-blue);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ========== Hero Section ========== */
.hero {
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, #dbeafe 100%);
    padding: 140px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.platform-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}

/* ========== Section Styles ========== */
.section {
    padding: var(--section-padding) 0;
}

.section-how-it-works {
    background: var(--bg-white);
}

.section-screenshots {
    background: var(--bg-light);
}

.section-revenue {
    background: var(--yellow-light);
}

.section-monetize {
    background: var(--bg-white);
}

.section-professional {
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, #dbeafe 100%);
}

.section-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--bg-white);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.section-subdescription {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-subtitle {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.link-primary {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.link-primary:hover {
    text-decoration: underline;
}

/* ========== Steps Grid ========== */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: var(--bg-white);
    border-radius: var(--card-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-arrow {
    font-size: 2.5rem;
    color: var(--border-color);
}

/* ========== Screenshots ========== */
.screenshots-wrapper {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.screenshots-wrapper::-webkit-scrollbar {
    height: 8px;
}

.screenshots-wrapper::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.screenshots-wrapper::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.screenshots-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.screenshot-item {
    flex: 0 0 220px;
    background: var(--bg-white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.screenshot-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.screenshot-info {
    padding: 1rem;
    background: var(--bg-white);
}

.screenshot-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.screenshot-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== Features List ========== */
.features-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.features-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

.features-list strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* ========== App Types Grid ========== */
.app-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.app-type-badge {
    background: var(--yellow-accent);
    color: var(--yellow-dark);
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.app-type-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ========== CTA Box ========== */
.cta-box {
    background: var(--bg-white);
    border-radius: var(--card-radius);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-top: 3rem;
}

.cta-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

/* ========== Features Cards ========== */
.features-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #fef9f3;
    padding: 2.5rem;
    border-radius: var(--card-radius);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========== Platforms Grid ========== */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.platform-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--card-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.platform-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.platform-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ========== CTA Content ========== */
.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ========== Footer ========== */
.footer {
    background: #1e293b;
    color: var(--bg-white);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column {
    /* Styling for footer columns */
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 968px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: left 0.3s ease;
        gap: 1.5rem;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem;
        font-size: 1.1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-arrow {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-cards {
        grid-template-columns: 1fr;
    }

    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .step-card {
        padding: 2rem 1.5rem;
        min-height: 240px;
    }

    .step-icon {
        font-size: 3rem;
    }

    .screenshot-item {
        flex: 0 0 180px;
    }

    .screenshot-item img {
        height: 320px;
    }

    .app-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .app-type-badge {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .btn-hero,
    .btn-cta {
        font-size: 1rem;
        padding: 0.9rem 2rem;
        width: 100%;
        max-width: 320px;
    }

    .btn-whatsapp {
        font-size: 0.95rem;
        padding: 0.9rem 1.5rem;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo {
        height: 35px;
    }

    .brand-name {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .step-card {
        min-height: 200px;
    }

    .screenshot-item {
        flex: 0 0 160px;
    }

    .screenshot-item img {
        height: 280px;
    }
}

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

.step-card,
.feature-card,
.platform-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(3) { animation-delay: 0.2s; }
.step-card:nth-child(5) { animation-delay: 0.3s; }