@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* Hide the call-to-action section for logged-in users */
body.logged-in #adv-call-to-action-section {
  display: none !important;
}
:root {
    --primary-color: #5865F2;
    --background-color: #181a1b;
    --surface-color: #25282b;
    --surface-border-color: #383d42;
    --text-primary-color: #FFFFFF;
    --text-secondary-color: #b0b7c1;
}
.elementor-widget-container, .elementor-heading-title {
    font-family: 'Poppins', sans-serif;
}

/* --- 2. Generic Helper Classes --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.section-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: 600;
    color: var(--text-primary-color);
    margin-bottom: 15px;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: var(--text-secondary-color);
}
/* --- 3. Section-Specific Styles --- */
/* Hero Section */
.hero-section-container h1 {
    font-size: 3.5em;
    font-weight: 700;
    color: var(--text-primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: center;
}
.hero-section-container p.hero-subtitle {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    text-align: center;
    color: var(--text-secondary-color);
}
.hero-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.hero-content-wrapper .adv-omnisearch-container {
    margin-bottom: 40px;
}
/* "How It Works" Section */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.step-card {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--surface-border-color);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.step-card i {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.step-card h3 {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--text-primary-color);
    margin-bottom: 10px;
}
.step-card p {
    color: var(--text-secondary-color);
}
.step-card a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.step-card a:hover {
    text-decoration: underline;
}
/* "Explore Our Tools" Section */
.tools-section-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}
/* Replace your old .tool-card styles with this block */

.tool-card {
    background-color: var(--surface-color);
    padding: 35px;
    border: 1px solid var(--surface-border-color);
    border-radius: 8px;
    text-align: center;

    /* --- Key Fixes --- */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers items horizontally */
    justify-content: flex-start; /* Groups all items at the top */
}

/* 1. Reset default browser margins */
.tool-card h3,
.tool-card p {
    margin: 0;
}

/* 2. Add back YOUR desired spacing */
.tool-card i {
    font-size: 3em;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 15px; /* SPACE: Icon to Heading */
}

.tool-card h3 {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--text-primary-color);
    margin-bottom: 10px; /* SPACE: Heading to Paragraph */
}

.tool-card p {
    color: var(--text-secondary-color);
    margin-bottom: 30px; /* SPACE: Paragraph to Button */
}

/* --- Original Button Styles --- */
.tool-card .tool-button {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-size: 1em;
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tool-card .tool-button:hover {
    background-color: var(--primary-color);
    color: var(--text-primary-color);
}
/* "Stats" Section */
.stats-section-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}
.stat-card {
    background-color: #181a1b;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--surface-border-color);
    text-align: center;
}
.stat-card .stat-number {
    font-size: 3em;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}
.stat-card .stat-label {
    font-size: 1.1em;
    font-weight: 500;
    color: var(--text-primary-color);
    margin-top: 5px;
}
/* --- 4. Responsive Media Queries (Consolidated) --- */
/* For Tablets and Smaller Desktops */
@media (max-width: 992px) {
    .hero-section-container h1 {
        font-size: 2.8em;
    }
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* For Mobile Devices */
@media (max-width: 768px) {
    .hero-section-container h1 {
        font-size: 2.2em;
    }
    .section-title {
        font-size: 2em;
    }
    /* FIX: Add horizontal padding to grids on mobile */
    .how-it-works-grid,
    .tools-section-grid,
    .stats-section-grid,
    .hero-content-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
    .how-it-works-grid,
    .tools-section-grid,
    .stats-section-grid {
        grid-template-columns: 1fr;
    }
    .tool-card h3 {
        font-size: 1.5em;
    }
}
.section-hero {
  --grid-spacing: 40px;
  --grid-color: rgba(255, 255, 255, 0.07);
  background-image: repeating-radial-gradient(
    circle at center,
    var(--grid-color),
    var(--grid-color) 1px,
    transparent 1px,
    transparent 100%
  );
  background-size: var(--grid-spacing) var(--grid-spacing);
}