/* ============================================
   Muneassh App Developer - Main Stylesheet
   ============================================ */

:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #764ba2;
    --accent: #43A047;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1 { font-size: 56px; }
h2 { font-size: 36px; margin-bottom: 20px; }
h3 { font-size: 24px; margin-bottom: 15px; }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Header & Navigation */
.header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
}

.logo a {
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: #2e7d32;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Stats Section */
.stats {
    background: var(--white);
    padding: 60px 0;
    margin-top: -40px;
    border-radius: 40px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--gray);
    font-weight: 500;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-icon {
    font-size: 64px;
    text-align: center;
    padding: 40px 20px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.product-content {
    padding: 24px;
}

.product-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.badge-published {
    background: var(--accent);
    color: var(--white);
}

.badge-soon {
    background: #FF9800;
    color: var(--white);
}

.product-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tech-tag {
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--gray);
}

.product-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.product-link {
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.product-link-play {
    background: #34A853;
    color: var(--white);
}

.product-link-web {
    background: #4285F4;
    color: var(--white);
}

.product-link-github {
    background: #333;
    color: var(--white);
}

.product-link:hover {
    transform: translateY(-2px);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.service-features li {
    padding: 8px 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 18px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.skill {
    background: #f0f0f0;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    color: var(--primary);
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 40px;
    border-radius: 30px;
    color: var(--white);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-detail i {
    font-size: 24px;
    width: 40px;
}

.contact-detail a {
    color: var(--white);
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-info p {
    opacity: 0.7;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 15px;
    color: var(--white);
}

.footer-links a,
.footer-contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: rgba(255,255,255,0.7);
    font-size: 24px;
    transition: color 0.3s;
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    .section { padding: 50px 0; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 18px; }
    .nav { flex-direction: column; text-align: center; }
    .about-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats { margin-top: -20px; }
}

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

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