/* Premium Digital Agency Modern CSS */
:root {
    --agency-primary: #231F20;
    --agency-secondary: #f8963e;
    --agency-accent: #F8A401;
    --agency-text-light: #f8fafc;
    --agency-text-muted: #94a3b8;
    --agency-bg-dark: #f8f9fa;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --glass-bg: #ffffff;
    --glass-border: #e9ecef;
    --glass-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.agency-hero {
    position: relative;
    padding: 180px 0 100px;
    background: #f8f9fa;
    color: var(--agency-primary);
    overflow: hidden;
}

.agency-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(248, 164, 1, 0.05) 0%, rgba(248, 249, 250, 0) 70%);
    z-index: 1;
}

.agency-hero .container {
    position: relative;
    z-index: 2;
}

.agency-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--agency-primary);
}

.agency-title span {
    background: linear-gradient(120deg, #f8c365, #F8A401);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.agency-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: #656565;
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Glassmorphism Cards */
.glass-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.glass-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(248, 164, 1, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--agency-accent);
    font-size: 28px;
    transition: all 0.3s ease;
}

.glass-card:hover .glass-icon-wrapper {
    background: var(--agency-accent);
    color: white;
}

/* Value Prop Section */
.value-prop-section {
    padding: 100px 0;
    background: var(--agency-bg);
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(248, 164, 1, 0.1);
    color: var(--agency-secondary);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--agency-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

/* Sub-services Grid */
.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    padding-top: 40px;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--agency-primary);
    margin-bottom: 16px;
}

.service-card-desc {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-meta {
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
    color: #64748b;
}

.service-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-meta-item i {
    color: var(--agency-accent);
}

/* Premium Process Section */
.process-section {
    padding: 100px 0;
    background: #fafbfe;
    color: var(--agency-primary);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(248, 164, 1, 0.03) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    border-radius: 50%;
    z-index: 0;
}

.process-section .container {
    position: relative;
    z-index: 2;
}

.process-step {
    position: relative;
    padding: 32px 32px 32px 80px;
    margin-bottom: 24px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(248, 164, 1, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

.process-step:hover {
    transform: translateX(8px) translateY(-4px);
    box-shadow: 0 15px 30px rgba(248, 164, 1, 0.08);
    border-color: rgba(248, 164, 1, 0.3);
}

.process-step::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 100%;
    bottom: -24px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(248, 164, 1, 0.3), transparent);
    z-index: -1;
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 2px solid var(--agency-accent);
    box-shadow: 0 8px 16px rgba(248, 164, 1, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--agency-accent);
    font-weight: 800;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    z-index: 3;
}

.process-step:hover .step-number {
    background: var(--agency-accent);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.premium-tech-badge {
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--agency-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.premium-tech-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(248, 164, 1, 0.1);
    border-color: rgba(248, 164, 1, 0.3);
}

/* Premium Glassmorphism Pricing */
.pricing-section {
    padding: 100px 0;
    position: relative;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    position: relative;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(248, 164, 1, 0.3);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--agency-primary);
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--agency-text-muted);
    font-weight: 500;
}

.pricing-card.popular {
    background: linear-gradient(145deg, var(--agency-primary) 0%, #111 100%);
    color: white !important;
    border: none;
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 30px 60px rgba(35, 31, 32, 0.2);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 40px 80px rgba(35, 31, 32, 0.3);
}

.pricing-card.popular h4,
.pricing-card.popular .price {
    color: white !important;
}

.pricing-card.popular p,
.pricing-card.popular .price span {
    color: rgba(255, 255, 255, 0.7) !important;
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(120deg, #f8c365, #F8A401);
    color: white;
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(248, 164, 1, 0.3);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    text-align: left;
}

.feature-list li {
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-weight: 500;
}

.pricing-card.popular .feature-list li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.feature-list i {
    color: var(--agency-accent);
    font-size: 1.1rem;
}

/* CTAs */
.btn-agency {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    gap: 12px;
    text-decoration: none;
}

.btn-agency-primary {
    background: var(--agency-accent);
    color: white !important;
    box-shadow: 0 10px 20px -10px var(--agency-accent);
}

.btn-agency-primary:hover {
    background: #e09300;
    transform: translateY(-2px);
    color: white !important;
}

.btn-agency-light {
    background: var(--agency-primary);
    color: white !important;
}

.btn-agency-light:hover {
    background: #f8fafc;
    color: var(--agency-primary) !important;
    transform: translateY(-2px);
}

.btn-agency-outline {
    border: 2px solid var(--agency-accent);
    color: var(--agency-accent) !important;
}

.btn-agency-outline:hover {
    background: var(--agency-accent);
    color: white !important;
}

/* FAQ */
.faq-section {
    padding: 100px 0;
}

.accordion-item {
    border: none;
    background: white;
    border-radius: 16px !important;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 24px;
    color: var(--agency-primary);
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: white;
    color: var(--agency-accent);
}

.accordion-body {
    padding: 0 24px 24px;
    color: #475569;
    line-height: 1.6;
}

/* Common elements */
.badge-tech {
    display: inline-block;
    padding: 6px 12px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 4px;
}

.text-gradient {
    background: linear-gradient(120deg, #f8c365, #F8A401);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Trust Badges */
.trust-badges {
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.trust-badges:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Premium Media Buying Case Studies */
.agency-case-studies {
    background: var(--agency-primary);
    position: relative;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.premium-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(248, 164, 1, 0.1);
    color: var(--agency-accent);
    border: 1px solid rgba(248, 164, 1, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.premium-case-card {
    background: rgba(25, 25, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 48px;
    height: 100%;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    z-index: 2;
}

.premium-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 164, 1, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.premium-case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(248, 164, 1, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(248, 164, 1, 0.1);
}

.premium-case-card:hover::before {
    opacity: 1;
}

.badge-glow {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.bg-primary-glow {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.bg-success-glow {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.premium-case-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.premium-progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
}

.premium-progress-bar {
    height: 100%;
    border-radius: 100px;
    box-shadow: 0 0 10px currentColor;
}

.premium-progress-bar.bg-blue {
    background: #3b82f6;
    color: #3b82f6;
}

.premium-progress-bar.bg-green {
    background: #10b981;
    color: #10b981;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.text-gradient-gold {
    background: linear-gradient(120deg, #f8c365, #F8A401);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.border-dark-subtle {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* CTA Modal Styles */
.glass-modal {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.4);
}

.glass-modal-content {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(248, 164, 1, 0.2);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 20px rgba(248, 164, 1, 0.1);
    overflow: hidden;
}

.glass-input-field {
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: 12px;
    color: #1e293b;
    transition: all 0.3s ease;
}

.glass-input-field:focus {
    background: #ffffff;
    border-color: var(--agency-accent);
    box-shadow: 0 0 0 4px rgba(248, 164, 1, 0.1);
    color: #0f172a;
}

#ctaModalMessageBox .alert {
    border-radius: 12px;
}