/* ==============================================================================
   Ayadevhub Landing Page Styles
   Clean, Modern, Dark Theme Optimized, Zero-dependency CSS
   ============================================================================== */

:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #161f30;
    --bg-card-hover: #1c273c;
    --border-color: #243049;
    --border-highlight: #3b82f6;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-blue: #3b82f6;
    --accent-indigo: #6366f1;
    --accent-cyan: #06b6d4;
    --accent-glow: rgba(59, 130, 246, 0.25);
    
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --container-max: 1180px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
    
    --transition: all 0.25s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

/* Header & Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background-color: rgba(10, 14, 23, 0.85);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 800;
    box-shadow: 0 2px 8px var(--accent-glow);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-indigo));
    color: #fff;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background-color: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--text-muted);
}

.btn-block {
    width: 100%;
}

.tg-icon {
    width: 18px;
    height: 18px;
}

/* Badges */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.85rem;
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-pill);
    color: var(--accent-cyan);
    font-size: 0.825rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
}

.section-badge {
    display: inline-block;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 4rem;
    background: radial-gradient(circle at 50% 10%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

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

.hero-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.75rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-icon {
    color: var(--accent-blue);
    font-weight: 800;
}

/* Sections Common */
.section {
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
}

.section-header {
    max-width: 650px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

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

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.service-card:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-highlight);
    transform: translateY(-4px);
}

.service-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-icon-box svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.service-bullets {
    list-style: none;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.service-bullets li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-bullets li::before {
    content: "•";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-size: 1.25rem;
    line-height: 1;
}

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.process-step {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    position: relative;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 0.75rem;
}

.process-step h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Pricing */
.pricing-card-wrap {
    max-width: 640px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pricing-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-desc {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.milestone-block {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.75rem;
    gap: 1rem;
}

.m-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 0.35rem;
}

.milestone-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.milestone-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.milestone-separator {
    width: 1px;
    height: 100%;
    background-color: var(--border-color);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    color: var(--text-secondary);
    font-size: 0.925rem;
    margin-bottom: 0.65rem;
}

.pricing-note {
    display: block;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.775rem;
    margin-top: 0.75rem;
}

/* Portfolio Placeholders */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.placeholder-card {
    background-color: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.placeholder-notice {
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.825rem;
    font-family: monospace;
}

/* FAQ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.footer-links h5, .footer-contact h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-contact a {
    color: var(--accent-blue);
    font-size: 0.875rem;
    font-weight: 600;
}

.footer-subtext {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.825rem;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.active-lang {
    color: var(--text-primary);
    font-weight: 600;
}

.lang-sep {
    color: var(--border-color);
}

.muted-lang {
    color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .milestone-block {
        grid-template-columns: 1fr;
    }
    .milestone-separator {
        display: none;
    }
}

@media (max-width: 640px) {
    .main-nav {
        display: none;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
