/* ==========================================
   DIGITAL ADS MANAGEMENT PAGE STYLES
   ========================================== */

/* Service Hero Section */
.service-hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background:  linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.breadcrumb-nav {
    display: flex;
    /* align-items: center; */
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb-nav a {
    color: var(--text-secondary);
    transition: var(--transition-base);
}

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

.breadcrumb-nav span {
    color: var(--text-light);
}

.page-title {
    font-size: 52px;
    font-weight:  700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.page-title .highlight {
    color: var(--primary-color);
    position: relative;
}

.page-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-stats-inline {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.stat-inline {
    display: flex;
    flex-direction: column;
}

.stat-inline .stat-number {
    font-size: 32px;
    font-weight:  700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-inline .stat-label {
    font-size:  13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

/* Hero Visual with Floating Cards */
.hero-visual {
    position: relative;
    padding: 40px 0;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow:  var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.floating-card.card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 30%;
    left: -20px;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 10%;
    right: -10px;
    animation-delay:  2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.floating-card .card-icon {
    font-size: 28px;
}

.floating-card .card-content {
    display: flex;
    flex-direction: column;
}

.floating-card .card-title {
    font-size:  12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.floating-card .card-value {
    font-size: 20px;
    font-weight:  700;
    color: var(--primary-color);
}

/* Platforms Section */
.platforms-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.platform-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    transition: var(--transition-base);
    margin-bottom: 30px;
}

.platform-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.platform-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.platform-icon svg {
    width: 32px;
    height: 32px;
    color: var(--bg-white);
}

.platform-icon.google {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
}

.platform-icon.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #E4405F 100%);
}

.platform-icon.linkedin {
    background: linear-gradient(135deg, #0077B5 0%, #00A0DC 100%);
}

.platform-icon.tiktok {
    background: linear-gradient(135deg, #000000 0%, #EE1D52 100%);
}

.platform-card h3 {
    font-size: 22px;
    font-weight:  700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.platform-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.platform-features {
    list-style: none;
    padding: 0;
    margin:  0;
}

.platform-features li {
    font-size: 14px;
    color: var(--text-primary);
    padding:  8px 0;
    padding-left: 20px;
    position: relative;
}

.platform-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Services Deep Dive */
.services-deep-dive {
    padding: 80px 0;
    background-color:  var(--bg-grey);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-detail-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 36px;
    border: 2px solid var(--border-color);
    transition: var(--transition-base);
}

.service-detail-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-detail-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-detail-icon svg {
    width: 28px;
    height: 28px;
    color: var(--bg-white);
}

.service-detail-card h3 {
    font-size:  22px;
    font-weight:  700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-detail-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-detail-card ul li {
    font-size:  14px;
    color:  var(--text-primary);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-detail-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background-color:  var(--bg-white);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom:  0;
    width: 2px;
    background:  var(--border-color);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom:  48px;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 8px var(--bg-white);
}

.step-content {
    flex: 1;
    background: var(--bg-grey);
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom:  8px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Results Section */
.results-section {
    padding: 80px 0;
    background-color:  var(--bg-grey);
}

.result-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    border: 2px solid var(--border-color);
    transition: var(--transition-base);
    margin-bottom: 30px;
}

.result-card:hover {
    border-color:  var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.result-industry {
    display: inline-block;
    background: var(--primary-light);
    color: var(--bg-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size:  12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.result-client {
    font-size: 22px;
    font-weight:  700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.result-challenge {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.result-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 28px;
    font-weight:  700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
}

.metric-label {
    font-size:  12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.why-choose-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
}

.image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
}

.image-badge svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.badge-title {
    font-size: 16px;
    font-weight:  700;
    color: var(--text-primary);
}

.badge-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

.why-choose-content {
    padding-left: 40px;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.why-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon svg {
    width: 18px;
    height: 18px;
    color: var(--bg-white);
}

.why-text h4 {
    font-size:  18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.why-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background-color: var(--bg-grey);
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px;
    border: 2px solid var(--border-color);
    transition: var(--transition-base);
    position: relative;
    height: 100%;
    margin-bottom: 30px;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform:  translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 6px 20px;
    border-radius:  20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header h3 {
    font-size: 28px;
    font-weight:  700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pricing-header p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

.pricing-price .currency {
    font-size: 28px;
    font-weight:  600;
    color: var(--text-primary);
    margin-top: 8px;
}

.pricing-price .amount {
    font-size: 56px;
    font-weight:  700;
    color: var(--primary-color);
    line-height: 1;
}

.pricing-price .amount-text {
    font-size: 48px;
    font-weight:  700;
    color: var(--primary-color);
    line-height: 1;
}

.pricing-price .period {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 20px;
    margin-left: 4px;
}

.pricing-subtext {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-primary);
}

.pricing-features svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.btn-block {
    width: 100%;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background:  linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 42px;
    font-weight:  700;
    color: var(--bg-white);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--bg-white);
    margin-bottom: 48px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.cta-form {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-primary);
    color: var(--text-primary);
    transition: var(--transition-base);
}

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

.cta-form textarea {
    resize: vertical;
    margin-bottom: 20px;
}

.cta-form button {
    margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-title {
        font-size: 42px;
    }
    
    .why-choose-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .process-timeline::before {
        left: 32px;
    }
    
    .process-step {
        flex-direction: row ! important;
        padding-left: 80px;
    }
    
    .step-content {
        max-width: 100%;
    }
}

@media (max-width:  768px) {
    .service-hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .page-subtitle {
        font-size: 18px;
    }
    
    .hero-stats-inline {
        gap: 24px;
    }
    
    .floating-card {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .result-metrics {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-form {
        padding:  28px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 28px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .cta-title {
        font-size: 26px;
    }
    
    .cta-subtitle {
        font-size: 16px;
    }
    
    .cta-form {
        padding: 20px;
    }
    
    .pricing-price .amount {
        font-size: 42px;
    }
}