/* CSS Variables */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --bg-elevated: #1a1a1a;
    --accent-cyan: #cccccc;
    --accent-orange: #888888;
    --text-light: #ffffff;
    --text-muted: #bbbbbb;
    --border-sharp: #cccccc;
    --border-subtle: rgba(200, 200, 200, 0.15);
    --shadow-glow: rgba(255, 255, 255, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.8);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    filter: grayscale(100%);
}

/* Grain texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}

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

/* Typography */
h1, h2, h3 { font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
p { font-size: 1.1rem; line-height: 1.8; }

/* Hero Section */
.hero {
    padding: 120px 20px 180px;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, var(--bg-dark) 50%, rgba(10, 10, 10, 0.8) 80%, transparent 100%);
    position: relative;
    margin-bottom: -80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(200, 200, 200, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(150, 150, 150, 0.05) 0%, transparent 50%);
}

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

.feature-star {
    position: absolute;
    width: 4px;
    height: 4px;
    pointer-events: none;
}
.feature-star::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(200, 200, 200, 1), transparent 70%);
    border-radius: 50%;
}

.hero-headline {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-subhead {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: var(--accent-cyan);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.1em;
    box-shadow: 0 0 30px var(--shadow-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    animation: fadeIn 0.8s ease-out 0.6s both;
}
.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px var(--shadow-glow), 0 10px 30px var(--shadow-dark);
}

.limited-spots {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    animation: fadeIn 0.8s ease-out 0.8s both;
}

/* Animations */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Final CTA Section */
.final-cta {
    padding: 120px 20px 180px;
    text-align: center;
    background: var(--bg-dark);
}
.final-cta .container { position: relative; z-index: 1; }

/* Section Styles */
section { padding: 100px 20px; position: relative; }

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}
.section-title .prompt { color: var(--accent-cyan); }

/* Card Section */
.card-section { background: var(--bg-dark); position: relative; overflow: hidden; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}
.two-column-grid { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--bg-card);
    padding: 3rem 2.5rem;
    border: 2px solid var(--border-subtle);
    box-shadow: 0 10px 40px var(--shadow-dark);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-8px) translateX(3px);
    border-color: var(--border-sharp);
    box-shadow: 0 20px 60px var(--shadow-dark), 0 0 40px var(--shadow-glow);
}

.card-icon { font-size: 3.5rem; margin-bottom: 1.5rem; filter: grayscale(1) brightness(1.2); }
.card-label { font-size: 0.85rem; color: var(--accent-cyan); letter-spacing: 0.15em; font-weight: 600; margin-bottom: 1rem; }
.card h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.card p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.6; }

.card-features { list-style: none; margin-top: auto; }
.card-features li {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}
.card-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-cyan); font-weight: 700; }

.card-answer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-subtle);
    font-size: 1.05rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Course Timeline Section */
.course-timeline { background: var(--bg-dark); position: relative; overflow: hidden; }

.timeline { max-width: 800px; margin: 0 auto; position: relative; padding: 2rem 0; }
.timeline::before {
    content: '';
    position: absolute;
    left: 77px;
    top: 80px;
    bottom: 80px;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--border-subtle) 5%, var(--border-subtle) 95%, transparent 100%);
}

.timeline-item { display: flex; gap: 3rem; margin-bottom: 4rem; position: relative; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent-cyan);
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.timeline-number span { font-size: 1.8rem; font-weight: 700; color: var(--accent-cyan); }
.timeline-item:hover .timeline-number {
    box-shadow: 0 0 40px var(--shadow-glow);
    transform: scale(1.05);
}

.timeline-content { flex: 1; padding-top: 0.5rem; }
.timeline-content h3 { font-size: 2rem; margin-bottom: 0.5rem; }
.timeline-content p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; }

/* Tech Stack */
.tech-stack {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.stack-item {
    background: rgba(15, 23, 42, 0.9);
    border-top: 3px solid var(--accent-cyan);
    border-bottom: 1px solid rgba(200, 200, 200, 0.2);
    padding: 2rem 2.5rem;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.stack-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 40px rgba(200, 200, 200, 0.15);
}
.stack-item .tech-icon { margin-bottom: 1rem; filter: grayscale(1) brightness(1.2); }
.stack-item .tech-icon img { width: 2.5rem !important; height: 2.5rem !important; }
.stack-item h4 { font-size: 1.3rem; margin-bottom: 0.5rem; font-weight: 600; }
.stack-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* Work & Guarantee Sections */
.work { background: var(--bg-dark); }
.guarantee { background: var(--bg-dark); padding: 100px 20px; }
.guarantee-content { max-width: 800px; margin: 0 auto; }

.certificate {
    background: var(--bg-card);
    padding: 4rem 3.5rem;
    border: 2px solid var(--border-subtle);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.certificate:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--accent-cyan);
    transform: translateY(-4px);
}

.cert-header { text-align: center; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-subtle); }
.cert-label { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-cyan); font-weight: 700; }

.cert-body { text-align: center; }
.cert-title { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin: 0 0 2rem; }
.cert-statement { margin: 2rem auto; max-width: 600px; }
.cert-main { font-size: 1.15rem; line-height: 1.7; color: var(--text-muted); font-weight: 500; }

.cert-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border-subtle); display: flex; justify-content: center; }
.cert-stamp {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--accent-cyan);
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--accent-cyan);
    background: rgba(200, 200, 200, 0.05);
}

/* Problem Section */
.problem { background: var(--bg-dark); position: relative; overflow: hidden; }

.problem-warning {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 3px solid var(--accent-orange);
    box-shadow: 0 0 60px rgba(136, 136, 136, 0.2), 0 20px 80px var(--shadow-dark);
    position: relative;
    overflow: hidden;
}

.warning-header {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #999999 100%);
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 2px solid rgba(136, 136, 136, 0.5);
}
.warning-icon { font-size: 2.5rem; filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5)); }
.warning-label { font-family: 'Courier New', monospace; font-size: 1.4rem; font-weight: 800; letter-spacing: 0.3em; color: var(--bg-dark); }

.problem-content-wrapper { padding: 4rem 3rem; position: relative; z-index: 1; }
.problem-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 3rem; line-height: 1.2; }

.glitch { color: var(--accent-orange); font-style: italic; }

.terminal-text { font-family: 'Courier New', monospace; margin-bottom: 3rem; }
.terminal-line { font-size: 1.2rem; line-height: 2; color: var(--text-muted); margin-bottom: 1rem; display: flex; gap: 1rem; }
.terminal-line.critical { color: var(--accent-orange); font-weight: 600; }
.prompt-symbol { color: var(--accent-orange); font-weight: 800; font-size: 1.4rem; flex-shrink: 0; }
.emphasize { color: var(--text-light); font-weight: 800; text-decoration: underline; text-decoration-color: var(--accent-orange); }

.platform-fade { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; padding: 2rem 0 0; border-top: 1px solid rgba(136, 136, 136, 0.3); }
.fading-platform { font-size: 1.5rem; font-weight: 700; color: var(--text-muted); opacity: 0.6; }

/* About Section */
.about { text-align: center; padding: 120px 20px 100px; background: var(--bg-dark); position: relative; }
.about::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at center, rgba(200, 200, 200, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
}

.about-headline { font-size: 3rem; margin-bottom: 3rem; max-width: 900px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.about-content { max-width: 800px; text-align: left; margin: 0 auto; position: relative; z-index: 1; }
.about-content p { font-size: 1.3rem; line-height: 1.9; color: var(--text-muted); margin-bottom: 2rem; }
.about-content .highlight { color: var(--accent-cyan); font-weight: 600; }
.about-content .bold-highlight { color: var(--text-light); font-weight: 600; }

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}
.footer p { font-size: 0.95rem; color: var(--text-muted); letter-spacing: 0.1em; }

/* Accordion */
.accordion { margin-top: 2rem; }
.accordion-item {
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.accordion-item:hover { border-color: var(--border-sharp); box-shadow: 0 10px 40px var(--shadow-dark); }
.accordion-item.active { border-color: var(--border-sharp); box-shadow: 0 0 40px var(--shadow-glow); }

.accordion-header {
    padding: 2rem 2.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background-color 0.3s ease;
}
.accordion-header:hover { background: rgba(200, 200, 200, 0.05); }
.accordion-header h3 { margin: 0; font-size: 1.4rem; }

.accordion-icon { font-size: 1.5rem; color: var(--accent-cyan); transition: transform 0.3s ease; }
.accordion-item.active .accordion-icon { transform: rotate(180deg); }

.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-item.active .accordion-content { max-height: 3000px; }
.accordion-body { padding: 1.5rem 2.5rem 2.5rem; }

/* Responsive - Tablet */
@media (max-width: 768px) {
    .hero { padding: 80px 20px 60px; }
    .hero-headline { font-size: 3rem; }
    .hero-subhead { font-size: 1.2rem; }

    section { padding: 80px 20px; }
    .section-title { font-size: 2.2rem; }

    .card-grid, .two-column-grid { grid-template-columns: 1fr; gap: 2rem; }

    .timeline::before { left: 60px; }
    .timeline-number { width: 70px; height: 70px; }
    .timeline-number span { font-size: 1.5rem; }
    .timeline-item { gap: 2rem; margin-bottom: 3rem; }
    .timeline-content h3 { font-size: 1.6rem; }
    .timeline-content p { font-size: 1.05rem; }

    .tech-stack { max-width: 100%; padding: 1.5rem 1rem; gap: 0.75rem; }
    .stack-item { padding: 1.75rem 1.5rem; }

    .guarantee { padding: 60px 20px; }
    .certificate { padding: 3rem 2.5rem; }
    .cert-title { font-size: 2rem; }
    .cert-main { font-size: 1.05rem; }

    .warning-header { padding: 1.2rem 2rem; gap: 1rem; }
    .warning-icon { font-size: 2rem; }
    .warning-label { font-size: 1.1rem; letter-spacing: 0.2em; }
    .problem-content-wrapper { padding: 3rem 2rem; }
    .problem-title { font-size: 2.5rem; }
    .terminal-line { font-size: 1.1rem; gap: 0.8rem; }
    .fading-platform { font-size: 1.3rem; }

    .about-headline { font-size: 2.5rem; }
    .about-content p { font-size: 1.15rem; }

    .accordion-header { padding: 1.5rem 2rem; }
    .accordion-header h3 { font-size: 1.2rem; }
    .accordion-body { padding: 1.25rem 2rem 2rem; }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .hero { padding: 60px 15px 50px; }
    .hero-headline { font-size: 2.2rem; margin-bottom: 1.5rem; }
    .hero-subhead { font-size: 1.1rem; margin-bottom: 2rem; }
    .cta-button { padding: 16px 35px; font-size: 0.9rem; }
    section { padding: 60px 15px; }
    .section-title { font-size: 1.8rem; }
    .card { padding: 2.5rem 2rem; }
    .card h3 { font-size: 1.5rem; }
    .timeline::before { left: 35px; }
    .timeline-number { width: 60px; height: 60px; }
    .timeline-number span { font-size: 1.3rem; }
    .timeline-item { gap: 1.5rem; margin-bottom: 2.5rem; }
    .timeline-content h3 { font-size: 1.4rem; }
    .timeline-content p { font-size: 1rem; }
    .guarantee { padding: 40px 15px; }
    .certificate { padding: 2.5rem 1.5rem; }
    .cert-label { font-size: 0.6rem; letter-spacing: 0.25em; }
    .cert-title { font-size: 1.65rem; }
    .cert-main, .about-content p { font-size: 1rem; }
    .cert-footer { margin-top: 2rem; padding-top: 1.5rem; }
    .cert-stamp { font-size: 0.6rem; padding: 0.6rem 1rem; }
    .problem-warning { border-width: 2px; }
    .warning-header { padding: 1rem 1.5rem; gap: 0.8rem; }
    .warning-icon { font-size: 1.8rem; }
    .warning-label { font-size: 0.9rem; letter-spacing: 0.15em; }
    .problem-content-wrapper { padding: 2rem 1.5rem; }
    .problem-title { font-size: 1.8rem; margin-bottom: 2rem; }
    .terminal-text { margin-bottom: 2rem; }
    .terminal-line { font-size: 1rem; gap: 0.5rem; flex-direction: column; }
    .prompt-symbol, .accordion-header h3 { font-size: 1rem; }
    .platform-fade { gap: 1rem; padding: 1.5rem 0 0; }
    .fading-platform { font-size: 1.1rem; }
    .about-headline { font-size: 1.8rem; }
    .accordion-header { padding: 1.2rem 1.5rem; }
    .accordion-body { padding: 1rem 1.5rem 1.5rem; }
    p { font-size: 1rem; }
}
