/* Enhanced Styles for DASPR Website */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --pulse-blue: #2979FF;
    --pulse-blue-dark: #1565C0;
    --health-green: #00C853;
    --neutral-dark: #121212;
    --caution-yellow: #FFD600;
    --alert-orange: #FF3D00;
    --background-light: #F8F9FA;
    --text-primary: #333333;
    --text-secondary: #555555;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--background-light);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--neutral-dark);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: var(--pulse-blue);
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--pulse-blue-dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enhanced Header */
header {
    background-color: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0; /* Added more padding for prominence */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 56px; /* Increased logo size for better prominence */
    margin-right: 12px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Logo hover effect */
.logo:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

.logo h1 {
    font-size: 30px; /* Increased font size */
    font-weight: 700;
    color: var(--pulse-blue);
    margin-bottom: 0;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--pulse-blue) 0%, var(--pulse-blue-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* We've removed the hero-logo to avoid layout issues */

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--neutral-dark);
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    font-size: 15px;
}

nav ul li a:hover {
    color: var(--pulse-blue);
}

nav ul li a.active {
    color: var(--pulse-blue);
}

nav ul li a.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--pulse-blue);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--neutral-dark);
}

/* Acronym Styles */
.acronym-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.clarity-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin: 16px 0 20px;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.acronym-highlight {
    font-size: 18px;
    color: var(--pulse-blue);
    font-weight: 500;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: rgba(41, 121, 255, 0.05);
    border-radius: 25px;
    display: inline-block;
}

.acronym-detail {
    font-size: 16px;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

/* Enhanced Hero Section */
.hero {
    background: linear-gradient(135deg, var(--pulse-blue) 0%, var(--pulse-blue-dark) 100%);
    color: white;
    padding: 70px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-pattern.svg');
    background-size: cover;
    opacity: 0.05;
    pointer-events: none;
}

.hero h2 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: white;
}

.hero .subtitle {
    font-size: 26px;
    margin-bottom: 24px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.hero-text {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

.app-preview {
    position: relative;
    margin: 20px auto;
    max-width: 280px;
    transform: translateY(15px);
}

.phone-frame {
    position: absolute;
    top: -24px;
    left: -24px;
    width: calc(100% + 48px);
    height: calc(100% + 48px);
    pointer-events: none;
    z-index: 2;
}

.phone-mockup {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.app-stores {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.app-store-btn {
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    height: 48px;
    position: relative;
    overflow: hidden;
}

.app-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: white;
}

.store-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-subtitle {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.85;
}

.store-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.2px;
}

/* Google Play specific styles */
.google-play {
    background-color: black;
}

.google-play .store-icon svg {
    width: 24px;
    height: 24px;
}

/* Apple App Store specific styles */
.apple-store {
    background-color: black;
}

.apple-store .store-icon svg {
    width: 20px;
    height: 24px;
}

/* Enhanced Pulse Animation */
.pulse-animation {
    display: block;
    margin: 60px auto;
    max-width: 800px;
    height: 60px;
    background-image: url('../images/pulse-line.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    position: relative;
}

.pulse-animation::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--background-light), transparent 20%, transparent 80%, var(--background-light));
    pointer-events: none;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background-color: var(--pulse-blue);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    animation: pulse-dot-move 4s linear infinite;
}

@keyframes pulse-dot-move {
    0% {
        left: 0;
    }
    100% {
        left: 100%;
    }
}

/* Enhanced Features Section */
.features {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h3 {
    font-size: 38px;
    color: var(--pulse-blue);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 40px 30px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(41, 121, 255, 0.1);
    margin-bottom: 25px;
}

.feature-icon img {
    width: 32px;
    height: 32px;
}

.feature-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--neutral-dark);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Enhanced Comparison Section */
.comparison {
    padding: 100px 0;
    background-color: var(--background-light);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 50px;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.comparison-table th, .comparison-table td {
    padding: 24px;
    text-align: left;
}

.comparison-table th {
    background-color: var(--pulse-blue);
    color: white;
    font-weight: 600;
    font-size: 17px;
}

.comparison-table th:first-child {
    border-top-left-radius: 16px;
}

.comparison-table th:last-child {
    border-top-right-radius: 16px;
}

.comparison-table tr:not(:last-child) td {
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table td strong {
    color: var(--neutral-dark);
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

/* Enhanced Science Section */
.science {
    padding: 100px 0;
    background-color: white;
}

/* Science content styles */
.science-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}

.science-image {
    flex: 1;
    max-width: 500px;
}

.science-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

.science-text {
    flex: 1;
}

.science-text h3 {
    font-size: 38px;
    color: var(--pulse-blue);
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.science-text p {
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 17px;
}

.science-list {
    list-style: none;
    margin-top: 35px;
}

.science-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.science-list li .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(0, 200, 83, 0.1);
    margin-right: 18px;
    flex-shrink: 0;
}

.science-list li .icon img {
    width: 18px;
    height: 18px;
}

.science-list li .text h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--neutral-dark);
}

.science-list li .text p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.learn-more-btn {
    display: inline-block;
    margin-top: 35px;
    padding: 14px 28px;
    background-color: var(--pulse-blue);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(41, 121, 255, 0.25);
}

.learn-more-btn:hover {
    background-color: var(--pulse-blue-dark);
    color: white;
    box-shadow: 0 6px 16px rgba(41, 121, 255, 0.3);
    transform: translateY(-2px);
}

/* Enhanced CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--pulse-blue) 0%, var(--pulse-blue-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-pattern.svg');
    background-size: cover;
    opacity: 0.05;
    pointer-events: none;
}

.cta h3 {
    font-size: 38px;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -0.5px;
}

.cta p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced Feature Pages */
.page-header {
    background: linear-gradient(135deg, var(--pulse-blue) 0%, var(--pulse-blue-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-pattern.svg');
    background-size: cover;
    opacity: 0.05;
    pointer-events: none;
}

.page-header h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.feature-highlight {
    padding: 100px 0;
}

.feature-highlight:nth-child(odd) {
    background-color: white;
}

.feature-highlight:nth-child(even) {
    background-color: var(--background-light);
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Ensure proper alternating pattern */
/* Clear the existing layouts for features */
.feature-highlight .feature-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Safe Spend - Text left, Image right */
.feature-highlight.safe-spend .feature-content {
    flex-direction: row;
}

/* Spend Pulse - Image left, Text right */
.feature-highlight.spend-pulse .feature-content {
    flex-direction: row-reverse;
}

/* Flex Buffer - Text left, Image right */
.feature-highlight.flex-buffer .feature-content {
    flex-direction: row;
}

/* Exception Handling - Image left, Text right */
.feature-highlight.exception-handling .feature-content {
    flex-direction: row-reverse;
}

/* Quick Add - Text left, Image right */
.feature-highlight.quick-add .feature-content {
    flex-direction: row;
}

/* Removed legacy class for features */

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 34px;
    color: var(--pulse-blue);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.feature-text p {
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
}

.feature-benefits {
    list-style: none;
    margin: 30px 0;
}

.feature-benefits li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
}

.feature-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    background-image: url('../images/icons/check-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.feature-quote {
    background-color: rgba(41, 121, 255, 0.05);
    border-left: 4px solid var(--pulse-blue);
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;
    margin-top: 30px;
}

.feature-quote p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--text-secondary);
}

.feature-image {
    flex: 1;
    max-width: 320px;
    margin: 0 auto;
}

.feature-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Enhanced Footer */
footer {
    background-color: var(--neutral-dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 48px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
}

.footer-logo h4 {
    color: white;
    font-size: 24px;
    margin-bottom: 5px;
}

.footer-acronym {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #bbb;
    transition: var(--transition-smooth);
    font-size: 15px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #aaa;
    font-size: 14px;
}

/* Custom animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* About, Mission and Values pages */
.about-content, .mission-content {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 100px 0;
}

.about-text, .mission-text {
    flex: 1;
}

.about-image, .mission-image {
    flex: 1;
}

.about-image img, .mission-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

.mission-points {
    list-style: none;
    margin: 30px 0;
}

.mission-points li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
}

.mission-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    background-image: url('../images/icons/check-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 30px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.value-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--pulse-blue);
}

.core-values {
    padding: 100px 0;
    background-color: var(--background-light);
}

/* Approach Page Styling */
.daily-focus, .privacy-approach {
    padding: 100px 0;
    position: relative;
}

.daily-focus {
    background-color: #f8f9fa;
}

.privacy-approach {
    background-color: white;
}

/* Content layout styles */
.daily-content, .privacy-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}

/* Privacy content styles */

/* Reverse content ordering */
/* Removed approach legacy classes */

/* Create alternating pattern for approach sections */
/* Clear approach layout styles */
.science-content, .daily-content, .privacy-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Science - Text left, Image right */
.behavioral-science .science-content {
    flex-direction: row;
}

/* Daily Focus - Image left, Text right */
.daily-focus .daily-content {
    flex-direction: row-reverse;
}

/* Privacy - Text left, Image right */
.privacy-approach .privacy-content {
    flex-direction: row;
}

.daily-image, .privacy-image, .science-image {
    flex: 1;
    max-width: 45%;
    position: relative;
}

.daily-image img, .privacy-image img, .science-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.daily-image::before, .privacy-image::before, .science-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--pulse-blue);
    border-radius: 16px;
    z-index: 0;
    opacity: 0.3;
}

.daily-image:hover img, .privacy-image:hover img, .science-image:hover img {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.daily-text, .privacy-text, .science-text {
    flex: 1;
}

.daily-text h3, .privacy-text h3, .science-text h3 {
    font-size: 38px;
    color: var(--pulse-blue);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.daily-text h3::after, .privacy-text h3::after, .science-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--pulse-blue);
}

.daily-benefits, .privacy-features {
    list-style: none;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.daily-benefits li, .privacy-features li {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--pulse-blue);
}

.privacy-features li {
    background-color: #f8f9fa;
}

.daily-benefits li:hover, .privacy-features li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Privacy approach link */
.privacy-link {
    margin-top: 30px;
}

/* Secondary button style */
.btn-secondary {
    background-color: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #ff6b6b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.daily-benefits h4, .privacy-features h4 {
    color: var(--pulse-blue);
    margin-bottom: 10px;
    font-size: 20px;
}

.daily-benefits p, .privacy-features p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Why We're Different Page Styling */
.different-intro {
    padding: 60px 0 30px;
    background-color: white;
    text-align: center;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-intro p {
    font-size: 18px;
    color: var(--text-secondary);
}

.difference {
    padding: 80px 0;
    position: relative;
}

.difference::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pulse-blue), transparent);
}

.difference:last-of-type::after {
    display: none;
}

.difference:nth-child(odd) {
    background-color: white;
}

.difference:nth-child(even) {
    background-color: var(--background-light);
}

.difference-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Ensure proper alternating pattern for differences */
/* Clear the existing layouts */
.difference .difference-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Manual Entry - Text left, Image right */
.difference.manual-entry .difference-content {
    flex-direction: row;
}

/* Ballpark Precision - Image left, Text right */
.difference.ballpark-precision .difference-content {
    flex-direction: row-reverse;
}

/* Daily Monthly - Text left, Image right */
.difference.daily-monthly .difference-content {
    flex-direction: row;
}

/* Privacy Monetization - Image left, Text right */
.difference.privacy-monetization .difference-content {
    flex-direction: row-reverse;
}

/* Complementary - Text left, Image right */
.difference.complementary .difference-content {
    flex-direction: row;
}

/* Removed legacy class for manual overrides */

.difference-text {
    flex: 1.2;
}

.difference-text h3 {
    font-size: 32px;
    color: var(--pulse-blue);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.difference-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--pulse-blue);
}

.difference-text > p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.comparison-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.comparison-item {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.difference:nth-child(even) .comparison-item {
    background-color: white;
}

.difference:nth-child(odd) .comparison-item {
    background-color: var(--background-light);
}

.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.comparison-item:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--alert-orange);
}

.comparison-item:last-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--health-green);
}

.comparison-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--neutral-dark);
}

.comparison-item:first-child h4 {
    color: var(--alert-orange);
}

.comparison-item:last-child h4 {
    color: var(--health-green);
}

.comparison-item ul {
    list-style: none;
}

.comparison-item ul li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
}

.comparison-item:first-child ul li::before {
    content: "✕";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--alert-orange);
    font-weight: bold;
}

.comparison-item:last-child ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--health-green);
    font-weight: bold;
}

.difference-quote {
    background-color: rgba(41, 121, 255, 0.05);
    border-left: 4px solid var(--pulse-blue);
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
    font-style: italic;
    font-size: 17px;
    color: var(--text-secondary);
    position: relative;
}

.difference-quote::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 10px;
    font-size: 40px;
    color: var(--pulse-blue);
    opacity: 0.2;
}

.difference-image {
    flex: 0.8;
    max-width: 400px;
    position: relative;
}

.difference-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.difference-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--pulse-blue);
    border-radius: 16px;
    z-index: 0;
    opacity: 0.3;
}

.difference-image:hover img {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.complementary-text {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.difference:nth-child(odd) .complementary-text {
    background-color: var(--background-light);
}

.complementary-text p {
    margin-bottom: 15px;
}

.complementary-text p:last-child {
    margin-bottom: 0;
}

/* Extra utilities */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 4rem;
}

.pb-0 {
    padding-bottom: 0;
}

.pt-0 {
    padding-top: 0;
}/* App Store Buttons Responsive */
@media (max-width: 480px) {
    .app-stores {
        flex-direction: column;
        gap: 12px;
    }
    
    .app-store-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}
