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

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Mobile-specific optimizations */
* {
    -webkit-tap-highlight-color: transparent;
}

button, input, select, textarea {
    -webkit-appearance: none;
    border-radius: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e7;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: #1d1d1f;
    text-decoration: none;
}

.logo-text {
    display: flex;
    align-items: baseline;
}

.logo-subtext {
    font-size: 0.75em;
    color: #6e6e73;
    font-weight: 400;
    margin-left: 0.25em;
}

.maker-gully-logo {
    height: 32px;
    width: auto;
    margin-left: 0.5rem;
    transition: opacity 0.2s ease;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.maker-gully-logo:hover {
    opacity: 1;
}

.logo-image {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 1rem;
}

.nav-link:hover {
    color: #ff0080; /* Neon pink */
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1d1d1f;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6e6e73;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
    min-width: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff0080, #ff6b9d); /* Neon pink gradient */
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 0, 128, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 128, 0.4);
}

.btn-primary:disabled {
    background: linear-gradient(135deg, #ff6b9d, #ff4d7a);
    color: #ffffff;
    cursor: not-allowed;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.2);
    opacity: 0.6;
    transform: none;
}

.coming-soon {
    font-size: 0.9rem;
    color: #6e6e73;
    font-style: italic;
    margin: 0;
}

.phone-image {
    max-width: 100%;
    height: auto;
    width: 280px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 30px;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #ffffff;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1d1d1f;
}

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

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff;
    position: relative;
}

.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #ff0080, #ff6b9d); /* Neon pink */
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #00d4ff, #0099cc); /* Neon cyan */
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #ffd700, #ffb347); /* Neon yellow */
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #00ff88, #00cc6a); /* Neon green */
}

.feature-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, #ff0080, #ff6b9d); /* Neon pink */
}

.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #00d4ff, #0099cc); /* Neon cyan */
}

.feature-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

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

.feature-card p {
    color: #6e6e73;
    line-height: 1.6;
    font-size: 1rem;
}

/* Only fade out Font Awesome icons for cards that have PNG images */
.feature-card:nth-child(1):hover .feature-icon i,
.feature-card:nth-child(2):hover .feature-icon i,
.feature-card:nth-child(3):hover .feature-icon i,
.feature-card:nth-child(4):hover .feature-icon i,
.feature-card:nth-child(6):hover .feature-icon i {
    opacity: 0;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1d1d1f;
}

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

.step {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0080, #ff6b9d);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.step-content p {
    color: #6e6e73;
    line-height: 1.6;
    font-size: 1rem;
}

/* App Tabs Section */
.app-tabs {
    padding: 6rem 0;
    background: #ffffff;
}

.app-tabs h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1d1d1f;
}

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

.tab-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.tab-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tab-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.tab-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff;
}

.tab-card:nth-child(1) .tab-icon {
    background: linear-gradient(135deg, #ff0080, #ff6b9d); /* Neon pink */
}

.tab-card:nth-child(2) .tab-icon {
    background: linear-gradient(135deg, #00d4ff, #0099cc); /* Neon cyan */
}

.tab-card:nth-child(3) .tab-icon {
    background: linear-gradient(135deg, #ffd700, #ffb347); /* Neon yellow */
}

.tab-card:nth-child(4) .tab-icon {
    background: linear-gradient(135deg, #00ff88, #00cc6a); /* Neon green */
}

.tab-card:nth-child(5) .tab-icon {
    background: linear-gradient(135deg, #ff0080, #ff6b9d); /* Neon pink */
}

.tab-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.tab-card p {
    color: #6e6e73;
    line-height: 1.6;
    font-size: 1rem;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #1d1d1f;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ff0080, #ff6b9d);
    color: #ffffff;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

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

.cta .btn-primary {
    background: #ffffff;
    color: #ff0080;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.cta .coming-soon {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: #ffffff;
    border-top: 1px solid #e5e5e7;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

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

.footer-link:hover {
    color: #ff0080;
}

.footer-copyright {
    text-align: center;
    color: #6e6e73;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid,
    .steps,
    .tabs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .step,
    .tab-card {
        padding: 1.5rem;
    }
    
    .features h2,
    .how-it-works h2,
    .app-tabs h2,
    .cta h2 {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .phone-image {
        width: 240px;
    }
    
    .btn {
        min-width: 180px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0 4rem;
    }
    
    .features,
    .how-it-works,
    .app-tabs,
    .cta {
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .features h2,
    .how-it-works h2,
    .app-tabs h2,
    .cta h2 {
        font-size: 1.75rem;
    }
    
    .phone-image {
        width: 200px;
    }
    
    .feature-card,
    .step,
    .tab-card {
        padding: 1.25rem;
    }
    
    .feature-icon,
    .tab-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Mobile-specific PNG image visibility */
@media (max-width: 768px) {
    .feature-card:nth-child(1) .feature-icon-img,
    .feature-card:nth-child(2) .feature-icon-img,
    .feature-card:nth-child(3) .feature-icon-img,
    .feature-card:nth-child(4) .feature-icon-img,
    .feature-card:nth-child(6) .feature-icon-img {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        width: 40px;
        height: 40px;
    }
    
    .feature-card:nth-child(1) .feature-icon i,
    .feature-card:nth-child(2) .feature-icon i,
    .feature-card:nth-child(3) .feature-icon i,
    .feature-card:nth-child(4) .feature-icon i,
    .feature-card:nth-child(6) .feature-icon i {
        opacity: 0;
    }
}
