/* ============================================
   CoralAdPro - Premium Digital Marketing Agency
   Modern, professional design system
   ============================================ */

:root {
    --coral: #FF6B4A;
    --coral-dark: #E55A3A;
    --coral-light: #FF8A70;
    --coral-soft: rgba(255, 107, 74, 0.1);
    --navy: #0F172A;
    --navy-light: #1E293B;
    --slate: #334155;
    --slate-light: #64748B;
    --gray: #94A3B8;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --success: #10B981;
    --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--slate);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.25;
}
a { color: var(--coral); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coral-dark); }

/* ===== Header ===== */
.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: var(--shadow);
}
.navbar { padding: 0.75rem 0; }
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}
.brand-coral { color: var(--coral); }
.brand-ad { color: var(--white); }
.brand-pro { color: var(--coral-light); }
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem !important;
    transition: color var(--transition);
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--coral);
}
.dropdown-menu-dark {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}
.dropdown-item { font-size: 0.9rem; padding: 0.5rem 1rem; }
.dropdown-item:hover { background: rgba(255,107,74,0.15); color: var(--coral); }

/* Buttons */
.btn-coral {
    background: var(--coral);
    color: var(--white);
    border: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.6rem 1.4rem;
    transition: all var(--transition);
}
.btn-coral:hover {
    background: var(--coral-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 74, 0.35);
}
.btn-outline-coral {
    border: 2px solid var(--coral);
    color: var(--coral);
    background: transparent;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.55rem 1.35rem;
    transition: all var(--transition);
}
.btn-outline-coral:hover {
    background: var(--coral);
    color: var(--white);
}
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1.05rem; }
.btn-dark-navy {
    background: var(--navy);
    color: var(--white);
    border: none;
    font-weight: 600;
    border-radius: 8px;
}
.btn-dark-navy:hover { background: var(--navy-light); color: var(--white); }

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2744 50%, #0F172A 100%);
    color: var(--white);
    padding: 5.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(255,107,74,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,107,74,0.15);
    color: var(--coral-light);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}
.hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}
.hero .lead {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    max-width: 560px;
    margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
}
.hero-trust span { display: flex; align-items: center; gap: 0.4rem; }
.hero-trust i { color: var(--coral); }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 0.75rem;
}
.section-subtitle {
    color: var(--slate-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
.text-coral { color: var(--coral) !important; }
.bg-light-soft { background: var(--light); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }

/* Cards */
.service-card, .industry-card, .case-card, .blog-card, .pricing-card, .testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.service-card:hover, .industry-card:hover, .case-card:hover, .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255,107,74,0.25);
}
.service-icon {
    width: 52px;
    height: 52px;
    background: var(--coral-soft);
    color: var(--coral);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.15rem;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--slate-light); font-size: 0.95rem; margin-bottom: 1rem; }
.service-card .card-link {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Stats */
.stat-item { text-align: center; padding: 1.5rem; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--coral);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.stat-label { color: var(--slate-light); font-size: 0.95rem; }

/* Process steps */
.process-step {
    text-align: center;
    position: relative;
    padding: 1.5rem 1rem;
}
.process-num {
    width: 48px;
    height: 48px;
    background: var(--coral);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
}

/* Testimonials */
.testimonial-card {
    border-left: 3px solid var(--coral);
}
.testimonial-card .quote {
    font-size: 1.05rem;
    color: var(--slate);
    margin-bottom: 1.25rem;
    font-style: italic;
}
.testimonial-author { font-weight: 600; color: var(--navy); }
.testimonial-meta { font-size: 0.85rem; color: var(--slate-light); }
.stars { color: #F59E0B; font-size: 0.9rem; margin-bottom: 0.5rem; }

/* FAQ */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.faq-item .accordion-button {
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    box-shadow: none !important;
}
.faq-item .accordion-button:not(.collapsed) {
    color: var(--coral);
    background: var(--coral-soft);
}
.faq-item .accordion-body { color: var(--slate-light); }

/* Forms */
.form-control, .form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(255,107,74,0.15);
}
.form-label { font-weight: 500; color: var(--navy); font-size: 0.9rem; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Page headers */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2744 100%);
    color: white;
    padding: 4rem 0 3.5rem;
    text-align: center;
}
.page-header h1 { color: white; margin-bottom: 0.75rem; }
.page-header p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb { background: transparent; padding: 0; margin-bottom: 0; font-size: 0.9rem; }
.breadcrumb-item a { color: rgba(255,255,255,0.7); }
.breadcrumb-item.active { color: var(--coral-light); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); }
.footer-top { padding: 4rem 0 3rem; }
.footer-brand { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; }
.footer-desc { font-size: 0.95rem; line-height: 1.7; max-width: 320px; }
.footer-heading {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-links a:hover { color: var(--coral); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: 0.6rem; font-size: 0.95rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-contact a { color: rgba(255,255,255,0.75); }
.footer-contact a:hover { color: var(--coral); }
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    transition: all var(--transition);
}
.social-link:hover { background: var(--coral); color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0;
    font-size: 0.9rem;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--coral); }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 1040;
    transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); color: white; }

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}
.cta-banner h2 { color: white; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-white {
    background: white;
    color: var(--coral-dark);
    font-weight: 600;
    border: none;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
}
.cta-banner .btn-white:hover { background: var(--light); color: var(--coral-dark); }

/* Pricing */
.pricing-card.featured {
    border-color: var(--coral);
    box-shadow: var(--shadow-lg);
    position: relative;
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--coral);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
}
.price-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
}
.price-period { color: var(--slate-light); font-size: 0.95rem; }
.pricing-features { list-style: none; padding: 0; margin: 1.5rem 0; }
.pricing-features li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.pricing-features i { color: var(--success); margin-top: 0.2rem; }

/* Blog */
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}
.blog-meta { font-size: 0.85rem; color: var(--slate-light); margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--coral); }

/* Case study */
.case-card .case-industry {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

/* Industry cards */
.industry-card {
    text-align: center;
    padding: 2rem 1.5rem;
}
.industry-card i {
    font-size: 2rem;
    color: var(--coral);
    margin-bottom: 1rem;
}
.industry-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* Content pages */
.content-section { padding: 3rem 0; }
.content-section h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.5rem; }
.content-section h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; font-size: 1.25rem; }
.content-section ul { padding-left: 1.25rem; }
.content-section li { margin-bottom: 0.4rem; }

/* 404 */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
}
.error-page .error-code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--coral);
    line-height: 1;
}

/* Admin styles (shared) */
.alert { border-radius: var(--radius-sm); }

/* Responsive */
@media (max-width: 991.98px) {
    .hero { padding: 3.5rem 0 3rem; }
    .section { padding: 3.5rem 0; }
    .navbar-collapse {
        background: var(--navy-light);
        padding: 1rem;
        border-radius: var(--radius-sm);
        margin-top: 0.75rem;
    }
}
@media (max-width: 575.98px) {
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; }
    .stat-number { font-size: 2rem; }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
