.outline {
    outline: 1px dashed #f0f;
}

section {
    /* outline: 1px dashed #f0f; */
}

:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --accent-color: #e74c3c;
    --heading-color: #fefefe;
    --text-color: #2c3e50;
    --light-text: #7f8c8d;
    --background: #ffffff;
    --light-gray: #f5f7fa;
    --border-color: #ecf0f1;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;

    /* Blueprint colors */
    --blueprint-line: rgba(52, 152, 219, 0.15);
    --blueprint-grid: rgba(52, 152, 219, 0.05);
    --blueprint-dot: rgba(52, 152, 219, 0.2);

    /* Dark mode colors */
    --dark-background: #1a1e24;
    --dark-surface: #272e36;
    --dark-text: #ecf0f1;
    --dark-border: #34495e;
    --dark-light-text: #bdc3c7;
}

/* Dark Mode */
body.dark-mode {
    --text-color: var(--dark-text);
    --light-text: var(--dark-light-text);
    --background: var(--dark-background);
    --light-gray: var(--dark-surface);
    --border-color: var(--dark-border);
    --blueprint-line: rgba(52, 152, 219, 0.2);
    --blueprint-grid: rgba(52, 152, 219, 0.05);
    --blueprint-dot: rgba(52, 152, 219, 0.3);
}

body.dark-mode .blueprint-bg {
    background-color: #272e36;
    background-image: linear-gradient(0deg, rgba(150, 150, 150, 0.07) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(150, 150, 150, 0.07) 1px, transparent 1px);

    opacity: 0.3;
}

body.dark-mode header {
    background-color: rgba(26, 30, 36, 0.95);
}

body.dark-mode .feature-card,
body.dark-mode .docs-card,
body.dark-mode pre,
body.dark-mode .testimonial-card,
body.dark-mode .sponsor-card {
    background-color: var(--dark-surface);
}

/* Theme Toggle */
#theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

#theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

body.dark-mode #theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#theme-toggle .sun {
    display: none;
}

#theme-toggle .moon {
    display: block;
}

body.dark-mode #theme-toggle .sun {
    display: block;
}

body.dark-mode #theme-toggle .moon {
    display: none;
}

/* Blueprint Background */
.blueprint-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-color: #fefefe;
    background-image: linear-gradient(0deg, rgba(150, 150, 150, 0.07) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(150, 150, 150, 0.07) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    /* color: var(--heading-color) */
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    /* color: var(--heading-color); */
}

h3 {
    font-size: 2rem);
}

section {
    padding: 5rem 2rem;
}

.shadow {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.shadow-light {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    opacity: 0.2;
    border-radius: 2px;
}

/* Header and Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo svg {
    margin-right: 0.5rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 15px;
}

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

.nav-links a {
    font-weight: 500;
}

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

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background-color: var(--text-color);
    margin: 2px 0;
    border-radius: 1px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 2rem;
    min-height: calc(100vh - 70px);
}

.hero-content {
    max-width: 600px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

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

.primary-button, .secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

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

.primary-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.secondary-button:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    /* width: 300px; */
    height: 600px;
}

.hero-image img {
    border-radius: 50px;
}

.code-result img {
    border-radius: 50px;
}

.iphone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background-color: #1e1e1e;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background-color: #1e1e1e;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.screen {
    width: 100%;
    height: 100%;
    background-color: var(--light-gray);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.app-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3498db, #8e44ad);
    opacity: 0.9;
    animation: app-demo 10s infinite alternate;
}

@keyframes app-demo {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.home-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background-color: white;
    border-radius: 2.5px;
}

/* Features Section */
.features {
    background-color: var(--light-gray);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    background-color: rgba(52, 152, 219, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

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

/* Code Demo Section */
.code-demo {
    max-width: 1200px;
    margin: 0 auto;
}

.code-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

pre {
    background-color: #2c3e50;
    padding: 2rem;
    border-radius: var(--radius);
    overflow-x: auto;
    max-width: 600px;
    width: 100%;
}

code {
    color: #f1f1f1;
    font-family: 'SF Mono', monospace;
    font-size: 0.9rem;
}

.code-result {
    flex: 1;
    display: flex;
    justify-content: center;
}

.device-frame {
    width: 280px;
    height: 500px;
    background: #1e1e1e;
    border-radius: 30px;
    padding: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

.app-header {
    background-color: #f8f8f8;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.back-button {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transform: rotate(45deg);
}

.title {
    font-weight: 600;
    font-size: 1.1rem;
}

.action-button {
    width: 24px;
    height: 24px;
}

.app-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    text-align: center;
    border-radius: var(--radius);
    font-weight: 500;
}

.app-map {
    width: 100%;
    height: 200px;
    background: #eee url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%23f4f4f4" width="50" height="50" x="0" y="0" /><rect fill="%23f9f9f9" width="50" height="50" x="50" y="0" /><rect fill="%23f9f9f9" width="50" height="50" x="0" y="50" /><rect fill="%23f4f4f4" width="50" height="50" x="50" y="50" /></svg>');
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.app-map::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Download Section */
.download {
    background-color: var(--light-gray);
    text-align: center;
}

.download p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    color: var(--light-text);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.download-button, .github-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

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

.download-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.github-button {
    background-color: var(--light-gray);
    border: 2px solid var(--border-color);
    color: var(--text-color);
}

.github-button:hover {
    background-color: var(--border-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Documentation Preview Section */
.docs-preview {
    background-color: var(--light-gray);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.docs-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.docs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.docs-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

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

.newsletter h2, .newsletter p {
    color: white;
}

.newsletter .highlight::after {
    background-color: white;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
}

.newsletter-form button {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo svg {
    margin-right: 0.5rem;
}

.footer-logo-image {
    border-radius: 25px;
    max-width: 120px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: #ecf0f1;
    transition: var(--transition);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

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

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* App Showcase Section */
.showcase {
    padding: 5rem 2rem;
    background-color: var(--light-gray);
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}

.app-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: left; /* Center horizontally */
    gap: 20px; /* Space between items */
    padding: 20px;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center icon and text */
    text-align: center;
}

.app-showcase {
    border-radius: 15px;
    max-width: 90px; /* Adjust size as needed */
    height: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.app-name {
    margin-top: 10px;
    font-size: 0.8em; /* Adjust font size */
}

/* Sponsors Section */
.sponsors {
    padding: 5rem 2rem;
    text-align: center;
}

.sponsors p {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--light-text);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.sponsor-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/2;
    transition: var(--transition);
}

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

.sponsor-logo {
    max-width: 150px;
    max-height: 60px;
    margin-bottom: 1rem;
}

.sponsor-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sponsor-tier {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.sponsor-cta {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background-color: var(--light-gray);
    border-radius: var(--radius);
}

.sponsor-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.sponsor-cta p {
    margin-bottom: 2rem;
}

.become-sponsor-btn {
    display: inline-flex;
    padding: 0.75rem 1.5rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding-top: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .code-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .feature-grid, .docs-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .showcase-container {
        flex-direction: column;
    }

    .app-list {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .app-icon {
        width: 80px;
        height: 80px;
        border-radius: 16px;
    }

    .sponsors-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
