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

:root {
    --primary-color: #141414;
    --secondary-color: #1a1a1a;
    --accent-color: #8ed500;
    --accent-hover: #7bc400;
    --text-primary: #f3f3f3;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    --border-color: #8ed500;
    --bg-card: #141414;
    --bg-card-hover: #1f1f1f;
    --shadow-sm: rgba(142, 213, 0, 0.2) 0px 7px 10px -10px;
    --shadow-md: rgba(142, 213, 0, 0.3) 0px 17px 10px -10px;
    --shadow-lg: rgba(142, 213, 0, 0.3) 0px 30px 30px -10px;
    --shadow-xl: rgba(142, 213, 0, 0.4) 0px 40px 40px -15px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #0000 18.75%, #1a1a1a 0 31.25%, #0000 0),
                repeating-linear-gradient(45deg, #1a1a1a -6.25% 6.25%, #141414 0 18.75%);
    background-size: 80px 80px;
    background-position: 0 0, 0 0;
    background-color: #141414;
    transition: background-position 0.5s ease-in-out;
}

.hero:hover {
    background-position: -100px 100px, -100px 100px;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    perspective: 1000px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
}

.hero-title:hover {
    transform: translate3d(0px, 0px, 30px);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
}

.hero-subtitle:hover {
    transform: translate3d(0px, 0px, 20px);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    perspective: 1000px;
}

.stat-item {
    text-align: center;
    background: var(--accent-color);
    padding: 1.5rem 2rem;
    border: 3px solid var(--primary-color);
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
}

.stat-item:hover {
    transform: translate3d(0px, 0px, 40px) rotate3d(0.5, 1, 0, 15deg);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 900;
}

.stat-divider {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 900;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
}

.scroll-indicator {
    width: 2px;
    height: 30px;
    background: var(--accent-color);
    margin: 1rem auto 0;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Styles */
.section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0000 18.75%, #1a1a1a 0 31.25%, #0000 0),
                repeating-linear-gradient(45deg, #1a1a1a -6.25% 6.25%, #141414 0 18.75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 0;
    background-color: #141414;
}

.section:nth-child(even) {
    background-position: -30px 30px, -30px 30px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    perspective: 1000px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
}

.section-header h2:hover {
    transform: translate3d(0px, 0px, 30px);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 700;
}

/* Team Vision */
.team-vision {
    background: var(--primary-color);
}

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

.vision-card {
    background: var(--accent-color);
    border: 3px solid var(--primary-color);
    padding: 2rem;
    text-align: center;
    transition: all 0.5s ease-in-out;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-lg);
}

.vision-card:hover {
    transform: rotate3d(0.5, 1, 0, 15deg) translate3d(0px, 0px, 30px);
}

.vision-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in-out;
    transform-style: preserve-3d;
}

.vision-icon:hover {
    transform: translate3d(0px, 0px, 20px);
}

.vision-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--accent-color);
}

.vision-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.vision-card p {
    color: var(--primary-color);
    line-height: 1.7;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Leader Profile */
.leader-profile {
    background: var(--primary-color);
}

.profile-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.profile-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.profile-header h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.profile-role {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.experience-timeline {
    margin: 2rem 0;
}

.timeline-item {
    border-left: 2px solid var(--accent-color);
    padding-left: 1.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.tech-stack {
    margin: 2rem 0;
}

.tech-stack h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

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

.profile-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--accent-color);
    text-decoration: none;
    border: 1px solid var(--accent-color);
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.profile-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Projects Showcase */
.projects-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card {
    background: var(--accent-color);
    border: 3px solid var(--primary-color);
    padding: 2rem;
    transition: all 0.5s ease-in-out;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-md);
}

.project-card:hover {
    transform: rotate3d(0.5, 1, 0, 20deg);
}

.project-card h4 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
}

.project-card h4:hover {
    transform: translate3d(0px, 0px, 30px);
}

.project-card .project-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    position: absolute;
    top: 20px;
    right: 20px;
    transform: translate3d(0px, 0px, 40px);
}

.project-card .project-status {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 900;
    background: var(--primary-color);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    text-transform: uppercase;
}

.project-card .project-status.beta {
    background: #ff9500;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.project-card .project-status.dev {
    background: #64748b;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.project-card p {
    color: var(--primary-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    margin-top: 3rem;
    font-size: 0.875rem;
    font-weight: 700;
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
}

.project-card p:hover {
    transform: translate3d(0px, 0px, 20px);
}

.project-card .project-link {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    background: var(--primary-color);
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: all 0.5s ease-in-out;
    transform-style: preserve-3d;
    border: 1px solid var(--accent-color);
}

.project-card .project-link:hover {
    transform: translate3d(0px, 0px, 40px);
}

.project-card .project-link svg {
    display: none;
}

/* Flowing Links Banner */
.flowing-banner {
    background: var(--primary-color);
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
}

.banner-track {
    display: flex;
    width: fit-content;
    animation: scroll-left 30s linear infinite;
}

.banner-track:hover {
    animation-play-state: paused;
}

.banner-content {
    display: flex;
    gap: 3rem;
    padding: 0 1.5rem;
    white-space: nowrap;
}

.banner-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: var(--accent-color);
    border: 3px solid var(--primary-color);
    text-decoration: none;
    transition: all 0.5s ease-in-out;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-md);
    perspective: 1000px;
}

.banner-link:hover {
    transform: rotate3d(0.5, 1, 0, 20deg) translate3d(0px, 0px, 30px);
    box-shadow: var(--shadow-xl);
}

/* GitHub link is clickable, others are display only */
a.banner-link {
    cursor: pointer;
}

a.banner-link:hover {
    background: var(--primary-color);
}

a.banner-link:hover .link-text {
    color: var(--accent-color);
}

a.banner-link:hover .link-icon {
    color: var(--accent-color);
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: var(--primary-color);
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
}

.link-icon svg {
    width: 100%;
    height: 100%;
}

.banner-link:hover .link-icon {
    transform: translate3d(0px, 0px, 40px) scale(1.2);
}

.link-text {
    font-size: 1rem;
    font-weight: 900;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
}

.banner-link:hover .link-text {
    transform: translate3d(0px, 0px, 20px);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Requirements */
.requirements {
    background: var(--primary-color);
}

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

.requirement-card {
    background: var(--accent-color);
    border: 3px solid var(--primary-color);
    padding: 2rem;
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
    box-shadow: var(--shadow-lg);
}

.requirement-card:hover {
    transform: rotate3d(0.5, 1, 0, 15deg);
}

.requirement-card.positive {
    border-color: var(--accent-color);
}

.requirement-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
}

.requirement-card h3:hover {
    transform: translate3d(0px, 0px, 30px);
}

.requirement-card ul {
    list-style: none;
    padding: 0;
}

.requirement-card li {
    padding: 0.75rem 0;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
    line-height: 1.6;
    font-weight: 700;
    font-size: 0.875rem;
}

.requirement-card li:last-child {
    border-bottom: none;
}

.cta-section {
    text-align: center;
    background: var(--accent-color);
    border: 3px solid var(--primary-color);
    padding: 3rem 2rem;
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
    box-shadow: var(--shadow-lg);
}

.cta-section:hover {
    transform: rotate3d(0.5, 1, 0, 10deg);
}

.cta-section h3 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.cta-section p {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    font-size: 0.875rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    text-transform: uppercase;
    transform-style: preserve-3d;
}

.cta-button:hover {
    transform: translate3d(0px, 0px, 40px);
}

/* Form Section */
.form-section {
    background: var(--primary-color);
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-container h2,
.preview-container h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    border: 2px solid var(--accent-color);
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    font-weight: 700;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(142, 213, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Photo Upload */
.photo-upload {
    position: relative;
    width: 100%;
    height: 200px;
    border: 3px dashed var(--accent-color);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--primary-color);
}

.photo-upload:hover {
    border-color: var(--accent-color);
    background: rgba(142, 213, 0, 0.1);
}

.upload-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--accent-color);
}

.upload-area svg {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.upload-area span {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.photo-preview.show {
    display: block;
}

/* Preview Card */
.preview-card {
    background: var(--accent-color);
    border: 3px solid var(--primary-color);
    padding: 2rem;
    margin-bottom: 2rem;
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
    box-shadow: var(--shadow-md);
}

.preview-card:hover {
    transform: rotate3d(0.5, 1, 0, 10deg);
}

.card-photo {
    width: 100px;
    height: 100px;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-color);
}

.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.card-photo img.show {
    display: block;
}

.photo-placeholder {
    color: var(--accent-color);
    opacity: 0.5;
}

.photo-placeholder svg {
    width: 2.5rem;
    height: 2.5rem;
}

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

.card-name {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.card-email {
    font-size: 0.875rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--primary-color);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .label {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 900;
    text-transform: uppercase;
}

.detail-item .value {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 700;
}

.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    font-size: 0.875rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    text-transform: uppercase;
    transform-style: preserve-3d;
}

.submit-btn:hover {
    transform: translate3d(0px, 0px, 30px);
}

.submit-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--secondary-color);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid var(--accent-color);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.dual-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Flip Card Animation */
.flip-card {
    perspective: 1000px;
    height: 450px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 0.75rem;
    padding: 1.5rem;
    background: var(--secondary-color);
    border: 2px solid var(--accent-color);
    overflow: hidden;
}

.flip-card-front {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.flip-card-back .card-info {
    font-size: 0.875rem;
    color: var(--text-primary);
}

.flip-card-back .card-info p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: var(--text-primary);
}

.flip-card-back .card-info strong {
    color: var(--accent-color);
    font-weight: 700;
    display: inline-block;
    min-width: 60px;
}

.flip-card-back .card-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.flip-card-back .card-email {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.editable-card input,
.editable-card textarea {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.8125rem;
    background: var(--primary-color);
    border: 1px solid var(--accent-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    margin-top: 0.25rem;
}

.editable-card textarea {
    min-height: 60px;
    resize: vertical;
}

.editable-card .edit-field {
    margin-bottom: 0.75rem;
}

.editable-card .edit-field label {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.flip-card-front {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.loading-shimmer {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 简化版加载动画用于按钮 */
.loading-shimmer-simple {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 0.5rem;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.lang-badge {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.edit-btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--accent-color);
    font-weight: 700;
}

.edit-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cancel-btn,
.confirm-btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.cancel-btn:hover {
    background: var(--bg-card-hover);
}

.confirm-btn {
    background: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.confirm-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.success-modal.show {
    display: flex;
}

.success-content {
    text-align: center;
    padding: 3rem;
    background: var(--secondary-color);
    border-radius: 1rem;
    border: 2px solid var(--accent-color);
}

.success-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.success-content p {
    color: var(--text-primary);
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.checkmark {
    width: 100%;
    height: 100%;
}

.checkmark-circle-bg {
    stroke: var(--accent-color);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    stroke: var(--accent-color);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        transform: rotate(90deg);
    }

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

    .profile-layout,
    .form-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .dual-cards {
        grid-template-columns: 1fr;
    }

    .flip-card {
        height: 350px;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .vision-card,
    .requirement-card {
        padding: 1.5rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hide scrollbar but keep functionality */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--secondary-color);
}

*::-webkit-scrollbar {
    width: 6px;
}

*::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

*::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}