/* Extending existing CSS with new SEO-optimized sections */

:root {
    --primary: #0A2540;
    --secondary: #4A90E2;
    --accent: #9D65C9;
    --text: #333333;
    --text-light: #666666;
    --background: #F7F9FC;
    --light: #E5E9F0;
    --white: #FFFFFF;
    --success: #2C7A2C;
    --check-color: #2ecc71;
    --x-color: #e74c3c;
    --partial-color: #f39c12;
    --dark-purple: #6C5CE7;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: ui-rounded, 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1E88E5, #00BCD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 5rem 0;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-right: 1rem;
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.beta-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1E88E5, #00BCD4);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 1rem;
}

.headline {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #1E88E5, var(--dark-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    text-align: center;
    max-width: 450px;
    margin: 0 auto;
}

/* Featured In Section - UPDATED */
.featured-section {
    padding: 3rem 0;
    background-color: #f8f9ff;
    border-top: 1px solid rgba(108, 92, 231, 0.1);
    border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

.featured-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.logo-item {
    opacity: 0.8;
    transition: all 0.2s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-item:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.featured-tag {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.4rem 0.8rem;
    background-color: rgba(108, 92, 231, 0.1);
    color: var(--dark-purple);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial::before {
    content: """;
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 8rem;
    color: rgba(108, 92, 231, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote {
    font-size: 1.3rem !important;
    line-height: 1.5 !important;
    color: var(--primary) !important;
    font-style: italic;
    margin-bottom: 1rem !important;
}

.author {
    font-size: 0.95rem !important;
    color: var(--text-light) !important;
    font-weight: 500;
    margin-bottom: 0 !important;
}

.brain-rot-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base styles for brain-rot section */
.brain-rot-section {
    padding: 5rem 0;
    background-color: #f5f9ff;
    background-image: linear-gradient(to right, #f5f9ff, #f0f4ff);
    border-top: 1px solid rgba(108, 92, 231, 0.1);
    border-bottom: 1px solid rgba(108, 92, 231, 0.1);
    width: 100%;
    overflow: hidden; /* Prevent any issues with content overflow */
}

.brain-rot-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.brain-rot-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1E88E5, #00BCD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.brain-rot-container {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
    padding: 2rem 1rem;
    align-items: center;
    justify-content: space-between;
}

.brain-rot-content {
    flex: 1.5;
    min-width: 0; /* Prevent flex item from overflowing */
}

.brain-rot-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text, #333333); /* Fallback color in case var doesn't load */
    line-height: 1.7;
}

.brain-rot-content p:last-child {
    margin-bottom: 0;
}

.brain-rot-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0; /* Prevent flex item from overflowing */
    max-width: 40%; /* Limit width in desktop view */
}

.brain-image {
    max-width: 100%;
    height: auto; /* Ensure proper aspect ratio */
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.bill-link {
    color: var(--dark-purple);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 2px solid rgba(108, 92, 231, 0.3);
}

.bill-link:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

/* YouTube Video Container - Improved for mobile */
.youtube-shorts-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 177.8%; /* Aspect ratio for Shorts/vertical video (9:16) */
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(157, 101, 201, 0.2);
    background-color: #000;
    z-index: 10;
}

.youtube-shorts-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video overlay styles */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 20;
    border-radius: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.play-button {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.play-button-triangle {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid #1E88E5;
    margin-left: 5px;
}

.see-how-text {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 100px;
}

/* Limited beta message */
.limited-spots {
    margin-bottom: 1.5rem;
    text-align: left;
}

.beta-note {
    background-color: rgba(108, 92, 231, 0.1);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    color: var(--dark-purple);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

/* Sign-up Form with Discord button */
.signup-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    margin-top: 2rem;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.form-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--light);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.cta-button {
    cursor: pointer;
}

.submit-button, .cta-button {
    width: 100%;
    background: linear-gradient(135deg, #1E88E5, var(--dark-purple));
    color: white;
    padding: 1rem 0;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.submit-button:hover, .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.success-message {
    display: none;
    background: #E6F7E6;
    color: var(--success);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

.download-options {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.testflight-button, .discord-button {
    flex: 1;
    display: inline-block;
    text-align: center;
    padding: 1rem 0;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: white;
}

.testflight-button {
    background: linear-gradient(135deg, #1E88E5, var(--dark-purple));
}

.discord-button {
    background: #5865F2;
}

.testflight-button:hover, .discord-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.community-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

/* Evolution Section - With friction methods */
.evolution-section {
    padding: 5rem 0;
    background-color: #f5f9ff; 
    background-image: linear-gradient(to right, #f5f9ff, #f0f4ff);
}

.evolution-title {
    font-size: 2.5rem;
    color: var(--dark-purple);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.evolution-description {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.5;
}

.evolution-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto 2rem;
    gap: 2rem;
    padding: 0 1rem;
}

.evolution-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1.5;
}

.evolution-card {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    gap: 1rem;
    border-left: 3px solid #4A90E2;
    transition: all 0.3s ease;
}

.evolution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Friction method styles */
.friction-method {
    margin-top: 1rem;
    background-color: rgba(74, 144, 226, 0.08);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
}

.friction-label {
    font-weight: 700;
    color: var(--secondary);
    display: block;
    margin-bottom: 0.3rem;
}

.friction-description {
    color: #555;
}

/* Special styling for the final form card */
.final-form-card {
    background: linear-gradient(to right, #fff, #f8f9ff);
    border-left: 3px solid var(--dark-purple);
    position: relative;
    overflow: hidden;
}

.final-form-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(108, 92, 231, 0.1), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.final-form-card .friction-method {
    background-color: rgba(108, 92, 231, 0.08);
}

.final-form-card .friction-label {
    color: var(--dark-purple);
}

.stage-number {
    width: 40px;
    height: 40px;
    background-color: #4A90E2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(74, 144, 226, 0.3);
    z-index: 1;
}

.final-form-card .stage-number {
    background-color: var(--dark-purple);
    box-shadow: 0 3px 15px rgba(108, 92, 231, 0.4);
}

.stage-content {
    z-index: 1;
    flex: 1;
}

.stage-content h4 {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
    color: #333;
}

.final-form-card .stage-content h4 {
    color: var(--dark-purple);
    font-weight: 700;
}

.stage-description {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.stage-description strong {
    color: #333;
}

.final-form-card .stage-description strong {
    color: var(--dark-purple);
}

.evolution-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.evolution-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.evolution-note {
    text-align: center;
    font-size: 1rem;
    color: #666;
    font-style: italic;
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

/* App Comparison Section - Enhanced */
.app-comparison {
    max-width: 900px;
    margin: 4rem auto;
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.comparison-title {
    font-size: 2rem;
    color: var(--dark-purple);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.comparison-text {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    margin-bottom: 2.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.05rem;
}

.comparison-table th {
    text-align: left;
    padding: 1rem 1.2rem;
    border-bottom: 2px solid #eee;
    color: #222;
    font-weight: 700;
    background-color: #f8f9ff;
}

.comparison-table th:first-child {
    border-top-left-radius: 8px;
    width: 25%; /* Make feature column slightly wider */
}

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

.comparison-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eee;
    color: #444;
    vertical-align: middle;
}

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

.comparison-table td:first-child {
    font-weight: 600;
}

.price-tag {
    font-size: 0.8rem;
    color: #666;
    font-weight: normal;
}

.check-mark {
    color: var(--check-color);
    font-size: 1.6rem;
    font-weight: bold;
}

.x-mark {
    color: var(--x-color);
    font-size: 1.4rem;
}

.partial-mark {
    color: var(--partial-color);
    font-size: 1.4rem;
}

.free-price {
    color: var(--check-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.price-row {
    background-color: #f8f9ff;
}

.testflight-container {
    text-align: center;
}

.testflight-button {
    display: inline-block;
    width: 100%;
    background: linear-gradient(135deg, #1E88E5, var(--dark-purple));
    color: white;
    padding: 1rem 0;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    text-decoration: none;
}

.testflight-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
    color: white;
}

.total-savings {
    margin-top: 2rem;
    text-align: center;
    background-color: rgba(46, 204, 113, 0.1);
    padding: 1rem;
    border-radius: 8px;
}

.total-savings p {
    color: var(--check-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

/* Mid-page CTA */
.mid-page-cta {
    max-width: 500px;
    margin: 4rem auto;
    text-align: center;
}

.limited-offer {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* Features Section */
.features-section {
    position: relative;
    padding: 5rem 0;
}

.wave-divider {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.wave-divider svg {
    width: 100%;
    height: 100%;
}

.features-container {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05), rgba(108, 92, 231, 0.05));
    padding: 5rem 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--secondary);
}

.feature-icon {
    font-size: 3rem;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Final CTA section */
.final-cta {
    max-width: 600px;
    margin: 5rem auto 0;
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.final-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* FAQ Section - NEW */
.faq-section {
    padding: 5rem 0;
    background-color: #f5f9ff;
}

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

.faq-item {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(108, 92, 231, 0.1);
    background-color: white;
}

.faq-item summary {
    padding: 1.2rem 1.5rem;
    position: relative;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--dark-purple);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
}

.faq-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-light);
}

/* Blog Section - Modified without images */
.blog-section {
    padding: 5rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
}

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

.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    color: var(--dark-purple);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    align-self: flex-start;
    margin-top: auto;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--dark-purple);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: var(--dark-purple);
    color: white;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* Footer Section - Enhanced */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 1rem;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.social-link.discord {
    background-color: #5865F2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.x {
    background-color: #000;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: white;
    text-decoration: underline;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Navigation Bar Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
}

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

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

.nav-logo {
    border-radius: 10px;
    margin-right: 0.5rem;
}

.nav-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #1E88E5, var(--dark-purple));
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: var(--dark-purple);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-cta-button, .nav-discord-button {
    background: linear-gradient(135deg, #1E88E5, var(--dark-purple));
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-discord-button {
    background: #5865F2;
}

.nav-cta-button:hover, .nav-discord-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}

.nav-cta-button::after, .nav-discord-button::after {
    display: none !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Responsive Styles - Improved for video visibility and nav */
@media (max-width: 992px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 4rem 0;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .logo-container {
        justify-content: center;
    }
    
    .evolution-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .evolution-image-container {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Keep video visible */
    .hero-image {
        max-width: 380px; /* Keep original size */
        width: 100%;
        margin: 0 auto 2rem;
    }
    .brain-rot-container {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .brain-rot-content, .brain-rot-image {
        flex: none;
        width: 100%; /* Ensure full width on mobile */
    }
    
    .brain-rot-image {
        order: -1; /* Image on top for mobile */
        max-width: 500px; /* Limit maximum image width */
        margin: 0 auto; /* Center the image container */
    }
    
    .brain-image {
        width: 100%; /* Ensure image fills the container */
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .evolution-title {
        font-size: 2rem;
    }
    
    .comparison-title {
        font-size: 1.8rem;
    }

    .brain-rot-section {
        padding: 3.5rem 0;
    }
    
    .brain-rot-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .comparison-text {
        font-size: 1.1rem;
    }
    
    .app-comparison {
        padding: 2rem 1rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.6rem;
    }
    
    .headline {
        font-size: 2.4rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .final-cta {
        padding: 2rem 1rem;
    }
    
    /* Keep video visible */
    .hero-image {
        max-width: 350px;
        margin: 0 auto 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-logos {
        gap: 1.5rem;
    }
    
    .faq-item summary {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-content {
        padding: 0 1rem 1rem;
    }
}

/* Navigation Bar - Responsive Fixes */
@media (max-width: 992px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 4rem 0;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .logo-container {
        justify-content: center;
    }
    
    .evolution-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .evolution-image-container {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Keep video visible */
    .hero-image {
        max-width: 380px; /* Keep original size */
        width: 100%;
        margin: 0 auto 2rem;
    }
    .brain-rot-container {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .brain-rot-content, .brain-rot-image {
        flex: none;
        width: 100%; /* Ensure full width on mobile */
    }
    
    .brain-rot-image {
        order: -1; /* Image on top for mobile */
        max-width: 500px; /* Limit maximum image width */
        margin: 0 auto; /* Center the image container */
    }
    
    .brain-image {
        width: 100%; /* Ensure image fills the container */
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Navigation fixes */
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links li a {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        padding: 1rem 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        text-align: center;
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .nav-links li a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .evolution-title {
        font-size: 2rem;
    }
    
    .comparison-title {
        font-size: 1.8rem;
    }

    .brain-rot-section {
        padding: 3.5rem 0;
    }
    
    .brain-rot-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .comparison-text {
        font-size: 1.1rem;
    }
    
    .app-comparison {
        padding: 2rem 1rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.6rem;
    }
    
    .headline {
        font-size: 2.4rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .final-cta {
        padding: 2rem 1rem;
    }
    
    /* Keep video visible */
    .hero-image {
        max-width: 350px;
        margin: 0 auto 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-logos {
        gap: 1.5rem;
    }
    
    .faq-item summary {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-content {
        padding: 0 1rem 1rem;
    }
    
    .nav-cta-button, .nav-discord-button {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .brain-rot-section {
        padding: 2.5rem 0;
    }
    
    .brain-rot-container {
        padding: 1.5rem 1rem;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .brain-image {
        border-radius: 8px; /* Smaller radius on mobile */
    }

    .headline {
        font-size: 2rem;
    }
    
    .app-comparison {
        padding: 1.5rem 0.5rem;
        overflow-x: auto; /* Enable horizontal scrolling for table */
    }
    
    .comparison-table {
        font-size: 0.8rem;
        min-width: 500px; /* Ensure minimum width for readability */
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.4rem;
    }
    
    .check-mark {
        font-size: 1.3rem;
    }
    
    .x-mark, .partial-mark {
        font-size: 1.2rem;
    }
    
    /* Keep video visible */
    .hero-image {
        max-width: 90%;
        margin: 0 auto 2rem;
    }
    
    .hero {
        padding-top: 6rem; /* Additional space for fixed navigation */
    }
    
    .featured-logos {
        gap: 1.5rem;
    }
    
    .testimonial .quote {
        font-size: 1.1rem !important;
    }
}

/* Download Section Styles */
.download-section {
    padding: 5rem 0;
    background-color: var(--background);
    background-image: linear-gradient(to right, #f5f9ff, #f0f4ff);
    border-top: 1px solid rgba(108, 92, 231, 0.1);
    border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

.download-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1E88E5, var(--dark-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.testflight-button {
    background: linear-gradient(135deg, #1E88E5, var(--dark-purple));
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.2);
}

.discord-button {
    background-color: #5865F2;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.2);
}

.instagram-button {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.2);
}

.button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.download-note {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive styles */
@media (min-width: 768px) {
    .download-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .download-button {
        flex: 1;
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .download-wrapper {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .download-title {
        font-size: 2rem;
    }
    
    .download-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .download-title {
        font-size: 1.8rem;
    }
    
    .download-button {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    .button-icon img {
        width: 28px;
        height: 28px;
    }
}