/* ===========================================
   Premagic Integration Pages Styles
   Extends Premagic Brand Guidelines
   =========================================== */

/* CSS Variables - Premagic Brand Colors */
:root {
    /* Primary Colors */
    --primary-deep-blue: #1f0f61;
    --primary-coral: #ff6550;
    --primary-gradient: linear-gradient(154.5deg, #ff957d 16.98%, #d9629f 49.08%, #2b4bc3 83.85%);

    /* Secondary Colors */
    --bg-light-blue: #f1f4ff;
    --bg-light-cyan: #f3faff;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a68;
    --text-light: #6b6b8a;

    /* Accent Colors */
    --accent-pink: #ff957d;
    --accent-purple: #d9629f;
    --accent-blue: #2b4bc3;
    --accent-teal: #00b4a0;

    /* Neutral */
    --white: #ffffff;
    --gray-100: #f8f9fc;
    --gray-200: #e9ecf2;
    --gray-300: #d1d5e0;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(31, 15, 97, 0.08);
    --shadow-md: 0 4px 16px rgba(31, 15, 97, 0.12);
    --shadow-lg: 9px 12px 24px rgba(31, 15, 97, 0.15);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px;
    --card-radius: 16px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.625;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-deep-blue);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 24px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

h4 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
    color: var(--text-medium);
}

/* Links & Buttons */
a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-coral);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-coral);
    color: var(--white);
}

.btn-primary:hover {
    background: #e85540;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-deep-blue);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--primary-deep-blue);
    color: var(--primary-deep-blue);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: var(--bg-light-blue);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 149, 125, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(43, 75, 195, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 24px;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.hero-description {
    max-width: 720px;
    margin: 0 auto 32px;
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Sections */
.section {
    padding: var(--section-padding) 0;
}

.section-light {
    background: var(--gray-100);
}

.section-dark {
    background: var(--primary-deep-blue);
    color: var(--white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.85);
}

.section-intro {
    font-size: 1.25rem;
    max-width: 800px;
    margin-bottom: 48px;
}

/* =========================================
   INTEGRATIONS MASTER PAGE STYLES
   ========================================= */

/* Integration Cards Grid */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.integration-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
}

.integration-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.integration-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.integration-logo {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.integration-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.integration-connector {
    color: var(--gray-300);
    font-size: 1.25rem;
    font-weight: 700;
}

.integration-logo-premagic {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.integration-logo-premagic img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.integration-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.integration-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.integration-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.integration-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-light-blue);
    color: var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.integration-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-coral);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
}

.integration-link:hover {
    color: #e85540;
}

.integration-link svg {
    transition: transform 0.2s ease;
}

.integration-link:hover svg {
    transform: translateX(4px);
}

/* Coming Soon Card */
.integration-card.coming-soon {
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    box-shadow: none;
}

.integration-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.coming-soon-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

/* Integration Categories */
.integration-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 32px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-medium);
    cursor: default;
    transition: all 0.2s ease;
}

.category-pill.active {
    background: var(--primary-deep-blue);
    color: var(--white);
    border-color: var(--primary-deep-blue);
}

/* Stats Bar */
.stats-bar {
    background: var(--primary-deep-blue);
    padding: 40px 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* How It Works */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.how-step {
    text-align: center;
    padding: 32px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-coral);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 20px;
}

.how-step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.how-step p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* =========================================
   CHILD PAGE (INTEGRATION DETAIL) STYLES
   ========================================= */

/* Detail Hero */
.hero-detail {
    padding: 160px 0 80px;
    background: var(--bg-light-blue);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-detail::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 149, 125, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-detail::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43, 75, 195, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.hero-logo-box {
    width: 84px;
    height: 84px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    padding: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-logo-box:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
}

.hero-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hero-connector {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--text-light);
    font-weight: 500;
}

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

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

/* Feature Sections */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    position: relative;
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Gradient top accent on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light-blue);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--accent-blue);
    transition: all 0.35s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-deep-blue);
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Flywheel / Process Visual */
.flywheel-container {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.flywheel-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0;
    position: relative;
    counter-reset: flywheel;
}

/* Connecting line behind steps */
.flywheel-steps::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg,
        rgba(255, 149, 125, 0.2),
        rgba(217, 98, 159, 0.5),
        rgba(43, 75, 195, 0.5),
        rgba(255, 149, 125, 0.2));
    z-index: 0;
    border-radius: 2px;
}

.flywheel-step {
    text-align: center;
    padding: 24px 12px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.flywheel-step:hover {
    transform: translateY(-6px);
}

.flywheel-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 101, 80, 0.35), 0 0 40px rgba(217, 98, 159, 0.15);
    animation: flywheel-pulse 3s ease-in-out infinite;
}

/* Outer ring on flywheel numbers */
.flywheel-step-number::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255, 149, 125, 0.35);
    animation: flywheel-ring 3s ease-in-out infinite;
}

/* Arrow after each step except last */
.flywheel-step::after {
    content: '';
    position: absolute;
    top: 48px;
    right: -8px;
    width: 16px;
    height: 16px;
    border-right: 3px solid rgba(255, 149, 125, 0.6);
    border-bottom: 3px solid rgba(255, 149, 125, 0.6);
    transform: rotate(-45deg);
    z-index: 2;
}

.flywheel-step:last-child::after {
    display: none;
}

@keyframes flywheel-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 101, 80, 0.35), 0 0 40px rgba(217, 98, 159, 0.15); }
    50% { box-shadow: 0 0 28px rgba(255, 101, 80, 0.5), 0 0 56px rgba(217, 98, 159, 0.25); }
}

@keyframes flywheel-ring {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.5; }
}

/* Stagger pulse animation per step */
.flywheel-step:nth-child(2) .flywheel-step-number { animation-delay: 0.3s; }
.flywheel-step:nth-child(2) .flywheel-step-number::before { animation-delay: 0.3s; }
.flywheel-step:nth-child(3) .flywheel-step-number { animation-delay: 0.6s; }
.flywheel-step:nth-child(3) .flywheel-step-number::before { animation-delay: 0.6s; }
.flywheel-step:nth-child(4) .flywheel-step-number { animation-delay: 0.9s; }
.flywheel-step:nth-child(4) .flywheel-step-number::before { animation-delay: 0.9s; }
.flywheel-step:nth-child(5) .flywheel-step-number { animation-delay: 1.2s; }
.flywheel-step:nth-child(5) .flywheel-step-number::before { animation-delay: 1.2s; }
.flywheel-step:nth-child(6) .flywheel-step-number { animation-delay: 1.5s; }
.flywheel-step:nth-child(6) .flywheel-step-number::before { animation-delay: 1.5s; }
.flywheel-step:nth-child(7) .flywheel-step-number { animation-delay: 1.8s; }
.flywheel-step:nth-child(7) .flywheel-step-number::before { animation-delay: 1.8s; }
.flywheel-step:nth-child(8) .flywheel-step-number { animation-delay: 2.1s; }
.flywheel-step:nth-child(8) .flywheel-step-number::before { animation-delay: 2.1s; }

.flywheel-step h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 6px;
}

.flywheel-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.flywheel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    color: var(--primary-coral);
}

.flywheel-note {
    text-align: center;
    margin-top: 40px;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(255, 149, 125, 0.12) 0%, rgba(217, 98, 159, 0.12) 50%, rgba(43, 75, 195, 0.12) 100%);
    border: 1px solid rgba(255, 149, 125, 0.25);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

/* Decorative shimmer on flywheel note */
.flywheel-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    animation: flywheel-shimmer 4s ease-in-out infinite;
}

@keyframes flywheel-shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.flywheel-note p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* =========================================
   PARTNER LOGOS BAR
   ========================================= */
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 48px;
}

.partner-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(40%);
}

.partner-logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-4px);
}

.partner-logo-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    background: var(--white);
    padding: 8px;
}

.partner-logo-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Capabilities Table */
.capabilities-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.capabilities-table th,
.capabilities-table td {
    padding: 20px 28px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.capabilities-table thead th {
    background: var(--primary-deep-blue);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}

.capabilities-table tbody tr:last-child td {
    border-bottom: none;
}

.capabilities-table tbody tr:hover {
    background: var(--bg-light-blue);
}

.capabilities-table td:first-child {
    font-weight: 600;
    color: var(--primary-deep-blue);
    white-space: nowrap;
}

.capabilities-table td:last-child {
    color: var(--text-medium);
}

/* Audience Cards */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.audience-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.audience-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light-blue);
    border-radius: 16px;
    margin: 0 auto 20px;
    color: var(--accent-blue);
}

.audience-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.audience-card p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Setup Steps */
.setup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.setup-step {
    text-align: center;
    padding: 28px 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.setup-step:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 149, 125, 0.3);
    transform: translateY(-4px);
}

.setup-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(255, 101, 80, 0.3);
}

.setup-step h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.setup-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* CTA Section */
.section-cta {
    background: var(--primary-deep-blue);
    text-align: center;
    padding: 100px 0;
}

.section-cta h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.section-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.section-cta .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.section-cta .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-deep-blue);
}

/* Footer */
.footer {
    background: var(--gray-100);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

.footer-brand p {
    margin-top: 8px;
    margin-bottom: 0;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-medium);
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links {
        display: none;
    }

    .integrations-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        gap: 32px;
    }

    .hero-logos {
        gap: 16px;
    }

    .hero-logo-box {
        width: 60px;
        height: 60px;
    }

    .flywheel-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .flywheel-steps::before {
        display: none;
    }

    .flywheel-step::after {
        display: none;
    }

    .partner-logos {
        gap: 24px;
    }

    .partner-logo-item img {
        width: 48px;
        height: 48px;
    }

    .setup-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .capabilities-table td:first-child {
        white-space: normal;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        flex-direction: column;
        gap: 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .setup-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .flywheel-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .flywheel-step::after {
        display: none;
    }

    .partner-logos {
        gap: 24px;
    }

    .partner-logo-item img {
        width: 40px;
        height: 40px;
    }
}
