/* ==========================================================================
   IN2IN GLOBAL SEO Auditor - High-Converting Agency Landing Page Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --font-heading: 'Open Sans', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-handwritten: 'Open Sans', sans-serif;

    /* Standardized Reduced Typography Tokens */
    --fs-h1: 1.75rem;
    --fs-h2: 1.35rem;
    --fs-h3: 1.15rem;
    --fs-body: 0.875rem;
    --fs-sub: 0.8125rem;
    --fs-sm: 0.75rem;

    /* Theme Color Tokens */
    --bg-page: #ffffff;
    --bg-surface-light: #f8fafc;
    --bg-surface-white: #ffffff;

    /* Primary Accent Colors */
    --orange-primary: #f97316;
    --orange-hover: #ea580c;
    --orange-soft: #fff7ed;
    --border-orange: #fdba74;

    --blue-primary: #2563eb;
    --blue-hover: #1d4ed8;
    --blue-soft: #eff6ff;

    --emerald-primary: #10b981;
    --emerald-hover: #059669;
    --emerald-soft: #ecfdf5;

    /* Text Colors */
    --text-dark: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Borders & Shadows */
    --border-light: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
    --shadow-orange: 0 10px 25px -5px rgba(249, 115, 22, 0.3);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* Global Reset & Body Setup */
body.landing-page {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    background-color: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* Handwritten Crayon Style Typography */
.handwritten-text {
    font-family: var(--font-handwritten);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--orange-primary);
    line-height: 1;
}

/* Helpers & Utilities */
.text-orange { color: var(--orange-primary) !important; }
.text-blue { color: var(--blue-primary) !important; }
.text-emerald { color: var(--emerald-primary) !important; }
.text-amber { color: #f59e0b !important; }
.text-purple { color: #8b5cf6 !important; }
.text-pink { color: #ec4899 !important; }
.text-indigo { color: #6366f1 !important; }

.bg-orange-soft { background-color: var(--orange-soft) !important; }
.bg-blue-soft { background-color: var(--blue-soft) !important; }
.bg-emerald-soft { background-color: var(--emerald-soft) !important; }
.bg-emerald-light { background-color: #d1fae5 !important; }
.bg-light-surface { background-color: var(--bg-surface-light) !important; }
.bg-orange { background-color: var(--orange-primary) !important; }

.border-orange { border: 1.5px solid var(--border-orange) !important; }
.max-w-700 { max-width: 700px; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.fs-7 { font-size: 0.875rem; }
.fs-8 { font-size: 0.775rem; }

/* Sticky Top Navigation Bar */
.landing-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.85rem 0;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.brand-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--orange-primary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-links-wrapper {
    gap: 1.5rem;
}

.nav-item-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-item-link:hover {
    color: var(--orange-primary);
}

.nav-phone-btn {
    text-decoration: none;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-light);
    border: 1px solid var(--border-light);
}

.btn-orange-pill {
    background: var(--orange-primary);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
    transition: all 0.25s ease;
}

.btn-orange-pill:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 4.5rem 0 5rem 0;
    background: radial-gradient(circle at 70% 20%, rgba(249, 115, 22, 0.06) 0%, rgba(37, 99, 235, 0.03) 50%, rgba(255, 255, 255, 0) 100%);
    overflow: hidden;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
}

.badge-accent {
    background: var(--orange-primary);
    color: #ffffff;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
}

.badge-text {
    font-weight: 600;
    color: var(--text-dark);
}

.hero-title {
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
}

.highlight-orange {
    color: var(--orange-primary);
    position: relative;
    display: inline-block;
}

.crayon-underline-svg {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 18px;
    pointer-events: none;
}

.highlight-blue {
    color: var(--blue-primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.6;
}

.bullet-item {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Hero Audit Form Card */
.audit-form-card {
    background: #ffffff;
    border: 2px solid var(--orange-primary);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: var(--shadow-orange);
    transition: all 0.3s ease;
}

.url-input-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-icon-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    padding-left: 12px;
}

.input-icon {
    font-size: 1.25rem;
    color: var(--orange-primary);
    margin-right: 8px;
}

.landing-url-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
    padding: 10px 0;
}

.landing-url-input::placeholder {
    color: var(--text-muted);
    font-weight: 500;
}

.btn-analyze-primary {
    background: var(--orange-primary);
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-analyze-primary:hover {
    background: var(--orange-hover);
    transform: scale(1.02);
}

.btn-three-dots {
    background: var(--bg-surface-light);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.btn-three-dots:hover {
    background: #e2e8f0;
    color: var(--text-dark);
}

/* Call Hint & Crayon Arrow */
.hero-call-wrapper {
    font-size: 0.95rem;
}

.call-text {
    font-weight: 600;
    color: var(--text-secondary);
}

.phone-number-link {
    color: var(--text-dark);
    font-weight: 700;
    text-decoration: none;
}

.phone-number-link:hover {
    color: var(--orange-primary);
}

.crayon-arrow-svg {
    transform: none;
}

/* Hero Visual Mockup Card */
.hero-visual-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.card-top-bar {
    background: #f1f5f9;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-light);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot.green { background: #10b981; }

.svg-chart-wrapper {
    overflow: hidden;
}

/* Score Circle Widget */
.score-circle-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: conic-gradient(#10b981 0% 92%, #e2e8f0 92% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.score-circle-inner {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: #10b981;
    line-height: 1;
}

.score-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Animated SVG Stroke Draw & Pulse for Business Report */
@keyframes strokeDraw {
    from { stroke-dashoffset: 300; }
    to { stroke-dashoffset: 0; }
}

@keyframes pulseBeacon {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.6); opacity: 0.8; }
}

.animated-line.line-sales {
    animation: strokeDraw 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animated-line.line-reach {
    animation: strokeDraw 2.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pulse-ring {
    transform-origin: center;
    animation: pulseBeacon 2s infinite ease-in-out;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.pulse-dot.bg-emerald {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

/* Hero Slide Panning & Shimmer Skeleton Loading */
.hero-slide-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.hero-slide-pane.active {
    display: block;
    opacity: 1;
}

.hero-slide-pill {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.25s ease;
}

.hero-slide-pill.active, .hero-slide-pill:hover {
    background: #f97316;
    color: #ffffff;
    border-color: #ea580c;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    display: inline-block;
    transition: all 0.25s ease;
}

.hero-dot.active {
    background: #ea580c;
    width: 22px;
    border-radius: 10px;
}

/* Skeleton Loading Shimmer Keyframes */
@keyframes skeletonShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-shimmer-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: skeletonShimmer 1.8s infinite;
    pointer-events: none;
}

.skeleton-box {
    background: #e2e8f0;
    border-radius: 6px;
}

.skeleton-circle {
    background: #e2e8f0;
    border-radius: 50%;
}

/* Partner Trust Badges Ribbon */
.partner-ribbon-section {
    background: var(--bg-surface-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 0;
}

.partner-logos-wrapper {
    opacity: 0.9;
}

.partner-img {
    height: 28px;
    width: auto;
}

.partner-badge-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--blue-primary);
    background: #dbeafe;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-left: 6px;
}

.avatars-group .avatar {
    font-size: 1.2rem;
    margin-right: -6px;
}

/* Why Choose Section */
.why-card {
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1 !important;
}

.why-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orange-bg { background: #fff7ed; color: var(--orange-primary); }
.pink-bg { background: #fdf2f8; color: #ec4899; }
.green-bg { background: #ecfdf5; color: var(--emerald-primary); }
.blue-bg { background: #eff6ff; color: var(--blue-primary); }
.purple-bg { background: #f3e8ff; color: #8b5cf6; }
.amber-bg { background: #fffbeb; color: #f59e0b; }

.section-tag-orange {
    color: var(--orange-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-tag-blue {
    color: var(--blue-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title-bold {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* Problems & Free Audit Box (Dual Section) */
.problem-item {
    background: #fef2f2;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid #fee2e2;
}

.corner-ribbon-tag {
    position: absolute;
    top: 18px;
    right: -30px;
    transform: rotate(45deg);
    background: #ef4444;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    letter-spacing: 0.05em;
}

.btn-orange {
    background: var(--orange-primary);
    color: #ffffff;
    border: none;
    transition: all 0.25s ease;
}

.btn-orange:hover {
    background: var(--orange-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.btn-emerald {
    background: var(--emerald-primary);
    color: #ffffff;
    border: none;
    transition: all 0.25s ease;
}

.btn-emerald:hover {
    background: var(--emerald-hover);
    color: #ffffff;
}

/* Services Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Process Timeline Section */
.process-step-card {
    transition: all 0.3s ease;
}

.process-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-num-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.bg-pink { background-color: #ec4899 !important; }
.bg-green { background-color: #10b981 !important; }
.bg-purple { background-color: #8b5cf6 !important; }
.bg-blue { background-color: #2563eb !important; }

/* Stat Highlights Ribbon */
.stats-highlight-ribbon {
    background: linear-gradient(135deg, #ea580c 0%, #d97706 40%, #2563eb 100%);
}

.fw-extrabold { font-weight: 800; }
.text-white-80 { color: rgba(255, 255, 255, 0.85); }

/* Success Stories / Case Studies */
.case-study-card {
    transition: all 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.case-trend-line {
    height: 3px;
    background: linear-gradient(90deg, var(--orange-primary), var(--emerald-primary));
    border-radius: var(--radius-full);
}

/* Lead Form Section */
.contact-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pricing Section */
.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.popular-ribbon {
    position: absolute;
    top: 18px;
    right: -32px;
    transform: rotate(45deg);
    width: 140px;
    letter-spacing: 0.05em;
}

/* Testimonials */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

/* Footer Links */
.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover, .hover-orange:hover {
    color: var(--orange-primary) !important;
}

/* Advanced Settings Modal Processor Grid */
.modal-processor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
}

.modal-processor-card {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.modal-processor-card input[type="checkbox"] {
    display: none;
}

.modal-processor-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

.modal-processor-card.active {
    background: #ffffff;
    border-color: var(--orange-primary);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.12);
}

.modal-processor-card .card-icon {
    font-size: 1.5rem;
    margin-right: 14px;
}

.modal-processor-card .card-info {
    flex: 1;
}

.modal-processor-card .card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.modal-processor-card .card-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.modal-processor-card .card-check {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-left: 10px;
}

.modal-processor-card.active .card-check {
    color: var(--orange-primary);
}

/* Animations & Responsive Tweaks */
.input-shake {
    animation: shakeInput 0.5s ease-in-out;
}

@keyframes shakeInput {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .popular-ribbon {
        font-size: 0.7rem;
    }
}
