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

:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-red: #dc2626;
    --accent-gold: #fbbf24;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --border-subtle: #374151;
    --gradient-primary: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient-accent: linear-gradient(135deg, #dc2626 0%, #fbbf24 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 10%, rgba(220, 38, 38, 0.02) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(251, 191, 36, 0.02) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.01) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.hero-only {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

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

.dojo-title {
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    margin: 0 0 1rem 0;
    line-height: 1.1;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 1px;
    margin-bottom: 3rem;
}

.philosophy-quote {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.author {
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 3rem;
    font-style: italic;
}

.author a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.author a:hover {
    color: var(--accent-red);
}

.description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}


.the-code {
    padding: 3rem 0;
    background: var(--secondary-dark);
    border-bottom: 1px solid var(--border-subtle);
}

.code-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.code-item {
    text-align: center;
    padding: 2rem;
    background: var(--primary-dark);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.code-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-red);
}

.code-symbol {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.code-item h3 {
    font-size: 1.3rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--secondary-dark);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(220, 38, 38, 0.08));
    border-radius: 8px;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--accent-gold);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(251, 191, 36, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: var(--text-muted);
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-red);
}

.team {
    background: var(--secondary-dark);
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(251, 191, 36, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(220, 38, 38, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.team .container {
    position: relative;
    z-index: 1;
}

.team-description {
    text-align: center;
    margin-bottom: 3rem;
}

.team-description p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.team-description a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
}

.team-description a:hover {
    color: var(--accent-red);
}

.team-roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.role {
    text-align: center;
    padding: 2rem;
    background: var(--primary-dark);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.role::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.05), rgba(251, 191, 36, 0.05));
    border-radius: 8px;
    z-index: -1;
}

.role::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.role:hover::before {
    left: 100%;
}

.role:hover {
    transform: translateY(-4px);
    border-color: var(--accent-red);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.role h3 {
    font-size: 1.3rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.role p {
    color: var(--text-secondary);
}

.contact {
    text-align: center;
}

.contact-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-info strong {
    color: var(--accent-gold);
}

.footer {
    background: var(--primary-dark);
    border-top: 1px solid var(--border-subtle);
    padding: 2rem 0;
}

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

.footer-content {
    text-align: center;
}

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

.footer-logo .logo-icon {
    font-size: 1.8rem;
}

.footer-logo .logo-text {
    color: var(--text-primary);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-only {
        padding: 0 15px;
    }
    
    .dojo-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .tagline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .philosophy-quote {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .author {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .description {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .dojo-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .philosophy-quote {
        font-size: 1.5rem;
    }
    
    .description {
        font-size: 1rem;
    }
}