/* SEO & SEM Page Styles */

/* Hero Section */
.seo-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.seo-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.seo-hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    margin-bottom: 3rem;
}

.hero-actions .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Search Results Mockup */
.hero-visual {
    position: relative;
    padding: 2rem 0;
}

.search-results {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
    transition: transform 0.3s ease;
}

.search-results:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}

.search-bar {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.search-input {
    background: white;
    border: 2px solid #4285f4;
    border-radius: 24px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    color: #333;
    font-size: 0.95rem;
}

.search-input i {
    color: #4285f4;
    margin-right: 12px;
}

.search-result {
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result.featured {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
}

.result-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.result-badge {
    background: #333;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.result-url {
    color: #1a73e8;
    font-size: 0.85rem;
}

.search-result.organic .result-url {
    color: #1a73e8;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.result-title {
    color: #1a0dab;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.result-description {
    color: #545454;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Floating SEO Icons */
.floating-seo-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.floating-icon:nth-child(odd) {
    animation-delay: -1.5s;
}

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

/* Section Headers */
.section-badge {
    display: inline-block;
    background: linear-gradient(45deg, #dc3545, #6366f1);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f8f9fa;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card.seo {
    border-top: 4px solid #28a745;
}

.service-card.sem {
    border-top: 4px solid #dc3545;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.seo .service-icon {
    background: linear-gradient(45deg, #28a745, #20c997);
}

.sem .service-icon {
    background: linear-gradient(45deg, #dc3545, #6366f1);
}

.service-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

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

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #495057;
    font-size: 0.95rem;
}

.service-features i {
    color: #28a745;
    margin-right: 0.75rem;
    font-size: 0.8rem;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #dc3545, #6366f1);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

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

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #dc3545, #6366f1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    margin: 0 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 300px;
}

.step-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.step-content p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Result Cards */
.result-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.result-header i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.result-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.result-metrics {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.metric-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #dc3545, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metric-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.result-description {
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45dc, #dc3545, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.feature-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.feature-card p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Feature Box Large - For service descriptions */
.feature-box-large {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-box-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #6366f1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-box-large:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.feature-box-large:hover::before {
    transform: scaleX(1);
}

.feature-box-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-box-header .feature-icon-wrapper,
.feature-box-header .feature-box-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    flex-shrink: 0;
}

.feature-box-header .feature-icon-wrapper.green,
.feature-box-header .feature-box-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.feature-box-header h4,
.feature-box-header h5 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1e293b;
}

.feature-box-large p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.feature-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #475569;
    font-size: 0.95rem;
}

.checklist-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
    flex-shrink: 0;
}

/* Feature Card Modern - For feature highlights */
.feature-card-modern {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-card-modern .feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: white;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.feature-card-modern .feature-icon-wrapper.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.feature-card-modern .feature-icon-wrapper.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.feature-card-modern .feature-icon-wrapper.orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.feature-card-modern .feature-icon-wrapper.pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.feature-card-modern h5 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.feature-card-modern p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Premium Pricing Cards */
.pricing-card-premium {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.pricing-card-premium.featured {
    border: 2px solid #6366f1;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.pricing-card-premium.featured:hover {
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.25);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 24px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.pricing-card-header {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, white 100%);
    border-bottom: 1px solid #f1f5f9;
}

.pricing-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.pricing-card-premium.featured .pricing-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.pricing-amount .from {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.pricing-amount .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -1px;
}

.pricing-amount .period {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.ad-spend-note {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.pricing-tagline {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.pricing-card-body {
    padding: 2rem;
    flex-grow: 1;
}

.feature-group {
    margin-bottom: 1.5rem;
}

.feature-group:last-child {
    margin-bottom: 0;
}

.feature-group h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-group h5 i {
    color: #6366f1;
}

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

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-list .check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list .check-icon i {
    font-size: 0.65rem;
    color: white;
}

.pricing-card-footer {
    padding: 1.5rem 2rem 2rem;
}

.btn-pricing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-pricing-cta:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    color: white;
}

.pricing-card-premium.featured .btn-pricing-cta {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.pricing-card-premium.featured .btn-pricing-cta:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Audit Form Card */
.audit-form-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.form-card-header {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    padding: 2.5rem 2rem;
    text-align: center;
    color: white;
}

.form-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    backdrop-filter: blur(10px);
}

.form-card-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-card-header p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.audit-form {
    padding: 2.5rem;
}

.form-floating-custom {
    margin-bottom: 0;
}

.form-floating-custom label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.form-floating-custom label i {
    color: #6366f1;
}

.form-floating-custom .form-control,
.form-floating-custom .form-select {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.form-floating-custom .form-control:focus,
.form-floating-custom .form-select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: white;
}

.form-floating-custom .form-control::placeholder {
    color: #94a3b8;
}

.form-floating-custom textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-submit-audit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.75rem;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    margin-top: 1rem;
}

.btn-submit-audit:hover {
    background: linear-gradient(135deg, #c82333, #a71d2a);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.4);
}

.btn-submit-audit .btn-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-submit-audit:hover .btn-arrow {
    transform: translateX(4px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions .btn {
    margin-bottom: 1rem;
}

/* Responsive Design */

/* Large Screens and Tablets */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .cta-title {
        font-size: 2.25rem;
    }
    
    .service-card {
        padding: 1.75rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .floating-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .result-metrics {
        gap: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Make floating elements responsive */
    .floating-seo-icons {
        position: relative;
        display: none;
    }
    
    .result-metrics {
        gap: 1.25rem;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
    .seo-hero {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .cta-title {
        font-size: 1.875rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .cta-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        text-align: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 0.75rem auto;
        touch-action: manipulation;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        flex: 0 0 auto;
        margin-bottom: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .search-results {
        transform: none;
        margin-top: 2rem;
        padding: 1rem;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step {
        flex-direction: row !important;
        padding-left: 4rem;
    }
    
    .process-step:nth-child(even) {
        flex-direction: row !important;
    }
    
    .step-number {
        position: absolute;
        left: 0;
        margin: 0;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .step-content {
        max-width: none;
        padding: 1.5rem;
    }
    
    .result-metrics {
        gap: 1rem;
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
        touch-action: manipulation;
    }
    
    .service-card:active {
        transform: scale(0.98);
    }
    
    .search-result-item {
        touch-action: manipulation;
    }
    
    .search-result-item:active {
        transform: scale(0.98);
    }
    
    /* Prevent zoom on inputs */
    input, textarea, select, button {
        font-size: 16px;
    }
    
    /* Better touch targets */
    .btn {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    /* Improve text readability */
    .service-card p {
        line-height: 1.6;
        font-size: 0.95rem;
    }
    
    /* SEO tools grid */
    .seo-tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Keywords list */
    .keywords-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* Search ranking table */
    .ranking-table {
        overflow-x: auto;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .seo-hero {
        min-height: 60vh;
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.1;
    }
    
    .cta-title {
        font-size: 1.75rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .service-card {
        padding: 1.25rem 0.75rem;
    }
    
    .search-results {
        padding: 0.75rem;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .step-content {
        padding: 1.25rem;
    }
    
    .keywords-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .search-result-item {
        padding: 1rem 0.75rem;
    }
    
    .section-spacing {
        padding: 3rem 0;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 1rem 0.5rem;
    }
    
    .search-results {
        padding: 0.5rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .hero-badge,
    .section-badge {
        padding: 4px 12px;
        font-size: 0.7rem;
    }
    
    .search-result-item {
        padding: 0.75rem 0.5rem;
    }
    
    .keyword-tag {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
}

/* Touch Improvements */
@media (max-width: 768px) {
    .btn:active {
        transform: scale(0.95);
    }
    
    .btn:focus {
        outline: 3px solid rgba(99, 102, 241, 0.5);
        outline-offset: 2px;
    }
    
    .service-card:focus,
    .search-result-item:focus {
        outline: 2px solid rgba(99, 102, 241, 0.5);
        outline-offset: 2px;
    }
    
    /* Better scrolling for search results */
    .search-results-container {
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .ranking-table {
        min-width: 600px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .brand-logo,
    .search-result-favicon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .floating-icon {
        animation: none !important;
    }
    
    .search-results {
        transform: none;
    }
    
    .search-results:hover {
        transform: none;
    }
    
    .service-card:hover,
    .search-result-item:hover {
        transform: none;
    }
    
    .progress-bar {
        animation: none;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .seo-hero {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .section-spacing {
        padding: 2rem 0;
    }
}

/* Print Styles */
@media print {
    .floating-seo-icons,
    .floating-icon {
        display: none;
    }
    
    .seo-hero,
    .cta-section {
        background: white !important;
        color: black !important;
    }
    
    .service-card,
    .search-result-item {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    
    .btn {
        background: transparent !important;
        color: black !important;
        border: 1px solid black !important;
    }
    
    .progress-bar {
        background: #ddd !important;
    }
}
