/* Code Designer Custom Styles */

:root {
    --cd-primary: #8b5cf6;
    --cd-secondary: #06b6d4;
    --cd-accent: #ec4899;
    --cd-dark: #0f0f23;
    --cd-darker: #0a0a1a;
    --cd-light: #f8fafc;
    --cd-muted: #cbd5e1;
}

body {
    background: radial-gradient(circle at top, #1e293b 0, #020617 45%, #000 100%);
    color: #e5e7eb;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}

/* Navigation */
.cursy-nav {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.cursy-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cursy-logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cd-primary) 0%, var(--cd-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.cursy-nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.cursy-nav-link {
    color: var(--cd-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cursy-nav-link:hover,
.cursy-nav-link.active {
    color: var(--cd-primary);
}

/* Hero Section */
.hero-section {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--cd-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--cd-primary) 0%, var(--cd-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    display: block;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--cd-secondary);
    margin-top: 0.5rem;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--cd-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-description strong {
    color: var(--cd-primary);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--cd-muted);
    font-weight: 500;
}

/* Sections */
.section-main,
.section-alt {
    padding: 5rem 2rem;
}

.section-alt {
    background: rgba(15, 15, 35, 0.5);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--cd-primary) 0%, var(--cd-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.125rem;
    color: var(--cd-muted);
    line-height: 1.7;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.4);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--cd-light);
}

.feature-text {
    color: var(--cd-muted);
    line-height: 1.7;
}

.feature-text strong {
    color: var(--cd-primary);
    font-weight: 600;
}

/* Notation Grid */
.notation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.notation-card {
    padding: 2.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.notation-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: var(--cd-primary);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.notation-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--cd-light);
}

.notation-description {
    color: var(--cd-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.notation-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.notation-features li {
    color: var(--cd-muted);
    padding: 0.5rem 0;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.feature-item {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    text-align: center;
}

.feature-icon-small {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--cd-light);
}

.feature-item p {
    font-size: 0.875rem;
    color: var(--cd-muted);
    line-height: 1.6;
}

.section-cta {
    text-align: center;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-item {
    padding: 2rem;
    border-radius: 0.75rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    text-align: center;
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tech-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--cd-light);
}

.tech-item p {
    font-size: 0.875rem;
    color: var(--cd-muted);
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-top: 2px solid rgba(139, 92, 246, 0.3);
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--cd-light);
}

.cta-description {
    font-size: 1.125rem;
    color: var(--cd-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.cursy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cursy-btn-primary {
    background: linear-gradient(135deg, var(--cd-primary) 0%, var(--cd-secondary) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.cursy-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.cursy-btn-secondary {
    background: rgba(30, 41, 59, 0.8);
    color: var(--cd-light);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.cursy-btn-secondary:hover {
    background: rgba(30, 41, 59, 1);
    border-color: rgba(139, 92, 246, 0.5);
}

.cursy-btn-outline {
    background: transparent;
    color: var(--cd-primary);
    border: 1px solid rgba(139, 92, 246, 0.5);
}

.cursy-btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
}

.cursy-btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-icon {
    font-size: 1.25rem;
}

/* Footer */
.cursy-footer {
    background: rgba(15, 15, 35, 0.95);
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--cd-light);
}

.footer-section p {
    color: var(--cd-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--cd-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cd-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--cd-muted);
    font-size: 0.875rem;
}

.footer-attribution {
    margin-top: 0.5rem;
}

.footer-attribution a {
    color: var(--cd-primary);
    text-decoration: none;
}

.footer-attribution a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1.5rem;
    }
    
    .section-main,
    .section-alt {
        padding: 3rem 1.5rem;
    }
    
    .notation-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
    }
    
    .cursy-btn {
        width: 100%;
        justify-content: center;
    }
}

