/* 
* Metrics Mate AI - One-page stylesheet
* Modern, clean design for marketing metrics platform
*/

/* Ad Space Styles */
.ad-space {
    padding: 1rem 0;
    background-color: #f1f5f9;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ad-container {
    position: relative;
    margin: 0 auto;
    text-align: center;
}

.ad-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.ad-content {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.atf-ad .ad-placeholder {
    height: 90px;
    max-width: 728px;
    margin: 0 auto;
}

.btf-ad .ad-placeholder {
    height: 250px;
    max-width: 300px;
    margin: 0 auto;
}

.ad-position {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .atf-ad .ad-placeholder {
        height: 50px;
        max-width: 320px;
    }
    
    .ad-placeholder span:first-child {
        content: '320x50 Ad Space';
    }
}

/* Base styles and reset */
:root {
    --primary-color: #4f46e5;
    --primary-rgb: 79, 70, 229;
    --primary-hover: #4338ca;
    --secondary-color: #0ea5e9;
    --accent-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --neutral-color: #6b7280;
    --light-bg: #f9fafb;
    --dark-bg: #1f2937;
    --text-color: #374151;
    --text-light: #9ca3af;
    --border-color: #e5e7eb;
    --card-bg: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

button, .button {
    cursor: pointer;
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    border: 1px solid transparent;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    font-size: 1rem;
}

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

.button-primary:hover {
    background-color: var(--primary-hover);
    color: white;
}

.button-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.button-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.button-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.button-outline:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
}

.sign-in-btn {
    margin-right: 10px;
}

.sign-up-btn {
    font-weight: 600;
}

section {
    padding: 5rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    margin-bottom: 0.5rem;
}

.section-heading p {
    color: var(--neutral-color);
    font-size: 1.125rem;
}

/* Header and Navigation */
header {
    background: linear-gradient(to right, var(--dark-bg), var(--primary-color));
    color: white;
    padding: 1.5rem 0 5rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 3rem;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: white;
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-button span {
    height: 2px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Metrics Section */
.metrics-section {
    background-color: white;
}

.metrics-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.metric-category-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.metric-category {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-align: center;
}

.metric-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
}

.metric-category h3 {
    margin-bottom: 0.5rem;
}

.metric-category p {
    color: var(--neutral-color);
    margin-bottom: 0;
}

/* Calculator Section */
.calculator-section {
    background-color: var(--light-bg);
}

.calculator-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.calculator-sidebar {
    background-color: var(--dark-bg);
    color: white;
    padding: 1.5rem;
}

.selector-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.currency-selector-container,
.platform-selector-container {
    flex: 1;
    min-width: 120px;
}

.currency-selector-container label,
.platform-selector-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

#currency-selector,
#platform-selector {
    width: 100%;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.875rem;
}

.metrics-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.metric-item:hover, .metric-item.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.metric-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.metric-info h4 {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.metric-info p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.calculator-content {
    padding: 2rem;
}

.calculator-card {
    background-color: var(--card-bg);
}

.calculator-card h3 {
    margin-bottom: 0.5rem;
}

.calculator-card > p {
    color: var(--neutral-color);
    margin-bottom: 2rem;
}

.calculator-form {
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-group {
    position: relative;
}

.currency-symbol {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-color);
}

input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    padding-left: 1.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.calculator-result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.result-card {
    grid-column: 1 / 3;
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.result-label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
}

.benchmark-card {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.benchmark-label {
    font-size: 0.875rem;
    color: var(--neutral-color);
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.benchmark-value {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.benchmark-info {
    font-size: 0.75rem;
    color: var(--neutral-color);
}

.analysis-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

#cac-analysis, #roi-analysis {
    display: flex;
    align-items: center;
}

.analysis-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.analysis-icon.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.analysis-icon.warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.analysis-icon.neutral {
    background-color: rgba(107, 114, 128, 0.1);
    color: var(--neutral-color);
}

.analysis-text {
    font-size: 0.875rem;
}

/* Social Media Section */
.social-media-section {
    background-color: white;
}

.social-media-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.platform-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.platform-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
}

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

.platform-card.selected-platform {
    background-color: rgba(48, 86, 211, 0.05);
}

.platform-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.75rem;
}

.platform-card h3 {
    margin-bottom: 0.25rem;
}

.platform-card p {
    color: var(--neutral-color);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.platform-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.platform-metrics span {
    background-color: var(--light-bg);
    color: var(--neutral-color);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

/* Problem to Solution section styles */
.problem-solution-section {
    background-color: #f5f7fa;
    padding: 80px 0;
}

.search-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 8px 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
}

.search-icon {
    color: var(--neutral-color);
    font-size: 18px;
    margin-right: 12px;
}

#metric-search {
    flex: 1;
    border: none;
    padding: 12px 0;
    font-size: 16px;
    outline: none;
}

#search-button {
    margin-left: 16px;
    padding: 12px 24px;
    font-weight: 600;
}

.search-highlight {
    animation: highlight-pulse 1.5s ease;
    box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.5);
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.search-highlight::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: pop-in 0.4s ease forwards;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-highlight::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    opacity: 0;
    animation: pop-in 0.4s ease 0.1s forwards;
    z-index: 3;
}

@keyframes highlight-pulse {
    0% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }
    50% { box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.5); }
    100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); }
}

@keyframes pop-in {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.no-results-message {
    background-color: #fff3cd;
    color: #856404;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    display: none;
    line-height: 1.5;
    animation: fadeIn 0.3s ease-in-out;
}

.no-results-message i {
    margin-right: 8px;
    font-size: 16px;
}

.no-results-message strong {
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.problem-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.problem-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.problem-header i {
    font-size: 24px;
}

.problem-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.problem-description {
    font-size: 16px;
    color: #4b5563;
    padding: 20px 20px 0;
    margin: 0;
}

.solution {
    padding: 15px 20px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.solution h4 {
    font-size: 16px;
    margin: 10px 0;
    color: #374151;
}

.solution-metrics {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.solution-metrics li {
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: baseline;
    line-height: 1.4;
}

.solution-metrics .metric {
    background-color: #e5f1ff;
    color: var(--primary-color);
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
    font-size: 13px;
}

.problem-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.problem-cta:hover {
    background-color: var(--primary-dark);
}

.dashboard-preview {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.dashboard-preview h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1f2937;
}

.dashboard-preview p {
    color: #6b7280;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-image {
    margin: 20px auto 30px;
    max-width: 850px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Blog Section */
.blog-section {
    background-color: white;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
}

.blog-category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-date {
    color: var(--neutral-color);
}

.blog-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    line-height: 1.3;
}

.blog-content p {
    color: var(--neutral-color);
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

.blog-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.blog-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(3px);
}

.blog-cta {
    text-align: center;
}

/* Pricing Section */
.pricing-section {
    background-color: var(--light-bg);
}

.pricing-container {
    position: relative;
    padding: 2rem 0;
}

.pricing-scroll-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.pricing-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.pricing-card {
    flex: 0 0 300px;
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

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

.pricing-card.popular {
    border-color: var(--primary-color);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--neutral-color);
}

.pricing-header p {
    font-size: 0.875rem;
    color: var(--neutral-color);
    margin-bottom: 0;
}

.pricing-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.feature-item i {
    width: 20px;
    margin-right: 0.75rem;
    color: var(--success-color);
}

.feature-item.inactive {
    color: var(--text-light);
}

.feature-item.inactive i {
    color: var(--text-light);
}

.pricing-cta {
    text-align: center;
}

.pricing-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.pricing-nav-button {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    box-shadow: var(--shadow-sm);
}

.pricing-nav-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.pricing-nav-button.prev {
    margin-left: -20px;
}

.pricing-nav-button.next {
    margin-right: -20px;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--text-light);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-column a {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.footer-column a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: white;
}

/* Responsive styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-buttons {
        display: none;
    }
    
    .mobile-menu-button {
        display: flex;
    }
    
    .metrics-categories, .social-media-platforms {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .problems-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .dashboard-preview {
        padding: 30px 20px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dashboard-preview {
        padding: 20px 15px;
        margin-top: 30px;
    }
    
    .dashboard-preview h3 {
        font-size: 20px;
    }
    
    .calculator-sidebar {
        padding: 1rem;
    }
    
    .calculator-content {
        padding: 1rem;
    }
    
    .selector-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .currency-selector-container,
    .platform-selector-container {
        width: 100%;
    }
    
    .calculator-result {
        grid-template-columns: 1fr;
    }
    
    .result-card {
        grid-column: 1;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .pricing-nav-button.prev {
        margin-left: 0;
    }
    
    .pricing-nav-button.next {
        margin-right: 0;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .ad-container {
        padding: 0.5rem;
    }
}