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

:root {
    --cosmic-purple: #9b88ff;
    --nebula-pink: #ff88c5;
    --star-white: #ffffff;
    --void-black: #000000;
    --space-dark: #0a0a0f;
    --space-gray: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--void-black);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Starfield Background */
.starfield-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.starfield-static {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../images/starrybg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
}

/* Hero-specific starfield */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section .starfield-container {
    opacity: 0.6;
}

/* Gradient overlay for smooth transition */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0, 0, 0, 0.4) 30%,
        rgba(0, 0, 0, 0.8) 70%,
        var(--void-black) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Ensure hero content is above the gradient */
.hero-container {
    position: relative;
    z-index: 2;
}

/* Footer subtle starfield */
.main-footer .starfield-container {
    opacity: 0.25;
}

/* Content sections - clean background */
.content-section {
    background: var(--void-black);
    position: relative;
}

/* Alternate section backgrounds for visual interest */
.content-section:nth-child(even) {
    background: linear-gradient(180deg, var(--void-black) 0%, #0a0a12 100%);
}

.projects-section {
    background: linear-gradient(135deg, var(--void-black) 0%, #0f0f1a 100%);
}

.download-section {
    background: radial-gradient(circle at center, #0a0a12 0%, var(--void-black) 100%);
}

.contact-section {
    background: linear-gradient(180deg, var(--void-black) 0%, #080810 100%);
    border-top: 1px solid var(--border-color);
}

/* Sparkle Animation */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    animation: sparkle-animation 3s ease-in-out;
}

@keyframes sparkle-animation {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                    0 0 20px rgba(155, 136, 255, 0.6);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* Comet Trail Effect */
.comet-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--star-white);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 6px rgba(155, 136, 255, 0.2),
                0 0 12px rgba(155, 136, 255, 0.15);
    animation: comet-fade 1s ease-out forwards;
}

@keyframes comet-fade {
    0% {
        opacity: 1;
        transform: scale(1) translate(0, 0);
    }
    100% {
        opacity: 0;
        transform: scale(0) translate(-10px, -10px);
    }
}

/* Header Navigation */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 1200px;
    transition: all 0.3s ease;
}

.main-header.scrolled .nav-container {
    background: linear-gradient(
        to bottom,
        rgba(20, 20, 30, 0.6),
        rgba(10, 10, 20, 0.5)
    );
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-container {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 15, 0.3);
    transition: all 0.3s ease;
}

.nav-brand {
    font-size: 20px;
    font-weight: bold;
}

.brand-text {
    font-family: 'Forum', serif;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--cosmic-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    display: inline-block;
}

.brand-text:hover {
    transform: translateY(-1px);
    filter: brightness(1.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    font-family: 'Ubuntu Mono', monospace;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--cosmic-purple);
}

.nav-download-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-download-btn:hover {
    background: rgba(155, 136, 255, 0.15);
    border-color: rgba(155, 136, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(155, 136, 255, 0.08);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-family: 'Forum', serif;
    font-size: 72px;
    font-weight: normal;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--cosmic-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-announcement {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding: 15px 20px;
    background: rgba(155, 136, 255, 0.1);
    border: 1px solid rgba(155, 136, 255, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-announcement:hover {
    background: rgba(155, 136, 255, 0.15);
    border-color: rgba(155, 136, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(155, 136, 255, 0.1);
}

.announcement-badge {
    font-family: 'Ubuntu Mono', monospace;
    background: var(--cosmic-purple);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.announcement-text {
    color: var(--text-secondary);
    font-size: 14px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 14px 32px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: rgba(155, 136, 255, 0.15);
    border-color: rgba(155, 136, 255, 0.3);
    box-shadow: 0 10px 30px rgba(155, 136, 255, 0.15);
}

.btn-purple {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-purple:hover {
    background: rgba(155, 136, 255, 0.15);
    border-color: rgba(155, 136, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(155, 136, 255, 0.15);
}

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

.btn-secondary:hover {
    border-color: rgba(155, 136, 255, 0.3);
    color: rgba(155, 136, 255, 0.5);
    background: rgba(155, 136, 255, 0.05);
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    opacity: 0.9;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Content Sections */
.content-section {
    padding: 100px 0;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Forum', serif;
    font-size: 48px;
    font-weight: normal;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--cosmic-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Message Grid */
.message-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.message-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 2px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.message-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.02),
        transparent
    );
    pointer-events: none;
}

.message-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2),
                inset 0 2px 0 rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.message-card h3 {
    font-family: 'Forum', serif;
    color: var(--cosmic-purple);
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.message-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Signature Section */
.signature-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 20, 0.8) 0%,
        rgba(20, 20, 30, 0.7) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.signature-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.signature {
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.signature-name {
    color: var(--cosmic-purple);
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(155, 136, 255, 0.4);
}

/* Projects Section */
.projects-section {
    background: rgba(10, 10, 15, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.project-card-link {
    text-decoration: none;
    display: block;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card.project-card-horizontal {
    flex-direction: row !important;
    gap: 30px;
    align-items: center;
    padding: 30px;
}

.project-card.project-card-horizontal .project-screenshot {
    flex: 0 0 300px;
    width: 300px;
    height: 300px;
    margin-bottom: 0 !important;
    border-radius: 8px;
}

.project-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-name {
    font-family: 'Forum', serif;
    font-size: 28px;
    color: var(--text-primary);
}

.project-badge {
    font-family: 'Ubuntu Mono', monospace;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.badge-beta {
    background: rgba(136, 197, 255, 0.2);
    color: #88c5ff;
    border: 1px solid rgba(136, 197, 255, 0.3);
}

.badge-alpha {
    background: rgba(255, 136, 197, 0.2);
    color: var(--nebula-pink);
    border: 1px solid rgba(255, 136, 197, 0.3);
}

.badge-stable {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.badge-experimental {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

.project-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.project-link {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.project-card:hover .project-link {
    color: var(--text-primary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 0;
    color: var(--text-muted);
    font-style: italic;
}

/* E1 Project Page Styles */
.project-hero {
    padding-top: 80px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: var(--cosmic-purple);
    transform: translateX(-5px);
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 30px 0;
}

.project-badges-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.changelog-link {
    font-family: 'Ubuntu Mono', monospace;
    color: var(--cosmic-purple);
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border: 1px solid rgba(155, 136, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.changelog-link:hover {
    background: rgba(155, 136, 255, 0.1);
    border-color: var(--cosmic-purple);
}

.status-badge {
    font-family: 'Ubuntu Mono', monospace;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    display: inline-block;
}

.badge-beta {
    background: rgba(136, 197, 255, 0.2);
    color: #88c5ff;
    border: 1px solid rgba(136, 197, 255, 0.3);
}

.badge-version {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-logo {
    border-radius: 30px;
    filter: drop-shadow(0 0 30px rgba(155, 136, 255, 0.3));
}

/* Glass Card Base */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 2px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.02),
        transparent
    );
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2),
                inset 0 2px 0 rgba(255, 255, 255, 0.1);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    text-align: left;
}

.feature-card h3 {
    font-family: 'Forum', serif;
    color: var(--text-primary);
    font-size: 22px;
    margin: 15px 0 10px;
}

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

.feature-icon {
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
}

/* Download Grid */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.download-card {
    text-align: center;
}

.download-card h3 {
    font-family: 'Forum', serif;
    font-size: 26px;
    color: var(--text-primary);
    margin: 15px 0 10px;
}

.download-card.disabled {
    opacity: 0.5;
}

.platform-icon {
    color: var(--text-secondary);
}

.version-info {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.requirements {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 25px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 200px;
}

.file-size {
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Specs Card */
.specs-card {
    max-width: 900px;
    margin: 40px auto 0;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.spec-label svg {
    color: var(--text-secondary);
}

.spec-value {
    color: var(--text-secondary);
    text-align: right;
    flex: 1;
    margin-left: 20px;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.use-case-card {
    text-align: left;
}

.use-case-card h3 {
    font-family: 'Forum', serif;
    color: var(--text-primary);
    font-size: 22px;
    margin: 15px 0 10px;
}

.use-case-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Screenshots */
.project-screenshot {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.project-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.project-card:hover .project-screenshot img {
    transform: scale(1.05);
}

.main-screenshot {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.main-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

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

.screenshot-item {
    text-align: center;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.screenshot-item:hover img {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(155, 136, 255, 0.1);
}

.screenshot-caption {
    font-family: 'Ubuntu Mono', monospace;
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Screenshot Placeholder */
.screenshot-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(
        135deg,
        rgba(155, 136, 255, 0.1),
        rgba(255, 136, 197, 0.1)
    );
    border: 2px dashed rgba(155, 136, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.screenshot-placeholder-text {
    color: var(--cosmic-purple);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: rgba(10, 10, 15, 0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.mailing-list-card h3,
.contact-card h3 {
    font-family: 'Forum', serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.mailing-list-card p,
.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.mailing-list-form {
    display: flex;
    gap: 15px;
}

.email-input,
.form-input,
.form-textarea {
    font-family: 'DM Sans', sans-serif;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.email-input::placeholder,
.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.email-input:focus,
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--cosmic-purple);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(155, 136, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'DM Sans', sans-serif;
}

/* Footer */
.main-footer {
    background: var(--void-black);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

/* Footer gradient overlay for smooth transition */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, 
        transparent 0%, 
        rgba(0, 0, 0, 0.7) 50%,
        var(--void-black) 100%);
    pointer-events: none;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-content p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cosmic-purple);
}

/* Email Capture Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(
        135deg,
        rgba(20, 20, 30, 0.95) 0%,
        rgba(10, 10, 20, 0.95) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--cosmic-purple), var(--nebula-pink));
    border-radius: 50%;
    margin-bottom: 20px;
}

.download-icon {
    color: white;
}

.modal-title {
    font-family: 'Forum', serif;
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--cosmic-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

.email-capture-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-label svg {
    color: var(--cosmic-purple);
}

.checkbox-group {
    margin: 10px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    accent-color: var(--cosmic-purple);
    cursor: pointer;
}

.submit-button {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error-message {
    background: rgba(255, 88, 88, 0.1);
    border: 1px solid rgba(255, 88, 88, 0.3);
    color: #ff5858;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.privacy-note {
    color: var(--text-muted);
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        gap: 20px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .message-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .mailing-list-form {
        flex-direction: column;
    }
}

/* Screenshot Carousel Styles */
.screenshot-carousel {
    margin-top: 3rem;
}

.carousel-main {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 2rem;
}

.carousel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.carousel-image-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(155, 136, 255, 0.1), rgba(255, 136, 197, 0.05));
    border: 1px solid var(--border-color);
}

.carousel-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.carousel-description {
    text-align: center;
    padding: 0 2rem;
}

.carousel-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--cosmic-purple), var(--nebula-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.carousel-text {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    flex-shrink: 0;
    align-self: center;
}

.carousel-control:hover {
    background: rgba(155, 136, 255, 0.2);
    border-color: var(--cosmic-purple);
    transform: scale(1.1);
}

.carousel-control:active {
    transform: scale(0.95);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--cosmic-purple);
    border-color: var(--cosmic-purple);
    transform: scale(1.2);
}

.carousel-indicator:hover:not(.active) {
    background: rgba(155, 136, 255, 0.5);
}

/* Mobile responsiveness for carousel */
@media (max-width: 768px) {
    .carousel-main {
        flex-direction: column;
        gap: 1rem;
    }
    
    .carousel-control {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        z-index: 10;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .carousel-description {
        padding: 0 1rem;
    }
    
    .carousel-title {
        font-size: 1.25rem;
    }
}
/* Removed duplicate CSS - headers now use section-title class directly */

/* Keep only feature/use-case card titles white (not main section titles) */
.feature-card h3,
.use-case-card h3 {
    color: var(--text-primary) !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
}

/* Force gradient on parallax headers */
.parallax-content h2.section-title,
.screenshot-description h3.section-title {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--cosmic-purple) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}
