:root {
    --primary-accent: #dfbd4f;
    --primary-accent-light: #f4e4bc;
    --primary-accent-dark: #b8941f;
    --secondary-accent: #b8941f;
    --secondary-accent-light: #ff8a8a;
    --background-dark: #0A1D3A;
    --background-light: #FFFFFF;
    --text-dark: #0A1D3A;
    --text-light: #EBEBEB;
    --text-stable: #EBEBEB;
    --text-white: #FFFFFF;
    --background-gradient-start: #FFFFFF;
    --background-gradient-end: #f8f9fa;
    --shadow-main: rgba(0, 0, 0, 0.4);
    --glow-primary: rgba(212, 175, 55, 0.08);
    --glow-secondary: rgba(255, 107, 107, 0.06);
    --glow-secondary-strong: rgba(255, 107, 107, 0.3);
    --feature-hover-shadow: rgba(212, 175, 55, 0.15);
    --feature-icon-shadow: rgba(212, 175, 55, 0.2);
    --stats-background-gradient-start: #0A1D3A;
    --stats-background-gradient-end: #1a3a5a;
    --stats-shadow: rgba(0, 0, 0, 0.3);
    --input-border: #EBEBEB;
    --input-focus-shadow: rgba(212, 175, 55, 0.1);
    --input-placeholder: rgba(10, 29, 58, 0.4);
    --contributor-background: #f8f9fa;
    --button-shadow: rgba(255, 107, 107, 0.4);
    --button-hover-shadow: rgba(255, 107, 107, 0.5);
    --success-gradient-start: #d4af37;
    --success-gradient-end: #b8941f;
    --error-gradient-start: #FF6B6B;
    --error-gradient-end: #ff8a8a;
    --waiting-gradient-start: #cfb74c;
    --waiting-gradient-end: #ccaf09;
    --success-icon-background: #FFFFFF;
    --success-icon-color: #d4af37;
    --tooltip-background: #0A1D3A;
    --tooltip-text: #fff;
    --tooltip-shadow: rgba(0, 0, 0, 0.3);
    --tooltip-arrow: #0A1D3A;
}

[data-theme="dark"] {
    --background-light: #1a3a5a;
    --background-gradient-start: #0A1D3A;
    --background-gradient-end: #1a3a5a;
    --text-dark: #EBEBEB;
    --text-light: #0A1D3A;
    --shadow-main: rgba(0, 0, 0, 0.6);
    --input-border: #0A1D3A;
    --contributor-background: #0A1D3A;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background-dark);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 20% 50%, var(--primary-accent) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--secondary-accent) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, var(--primary-accent) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px;
}

.c-header {
    text-align: center;
    padding: 20px 20px 15px;
    padding-top: 10px;
    animation: fadeInDown 0.8s ease-out;
}

.c-logo-container {
    display: inline-block;
    position: relative;
}

.c-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.c-logo-accent {
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.c-logo-underline {
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 2px;
    margin-top: 5px;
    animation: expandWidth 1s ease-out 0.5s both;
}

.c-tagline {
    color: var(--text-stable);
    font-size: 0.95rem;
    font-weight: 300;
    margin-top: 10px;
    letter-spacing: 0.3px;
}

.c-hero {
    background: linear-gradient(135deg, var(--background-gradient-start) 0%, var(--background-gradient-end) 100%);
    border-radius: 24px;
    padding: 30px 35px;
    box-shadow: 0 30px 80px var(--shadow-main);
    margin: 2.5rem 0 5rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.c-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.c-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--glow-secondary) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.c-hero-content {
    position: relative;
    z-index: 2;
}

.c-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: var(--text-white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px var(--glow-secondary-strong);
    animation: pulse 2s ease-in-out infinite;
}

.c-main-heading {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin: 15px auto;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1.5px;
    text-align: center;
}

.c-highlight {
    background: linear-gradient(135deg, var(--primary-accent-dark), var(--primary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.c-subtitle {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.75;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.c-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0 0 0;
}

.c-feature {
    display: flex;
    flex-direction: column;
    padding: 25px 20px;
    background: var(--background-light);
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.c-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-accent-dark), var(--primary-accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.c-feature:hover::before {
    transform: scaleX(1);
}

.c-feature:hover {
    transform: translateY(-8px);
    border-color: var(--primary-accent);
    box-shadow: 0 20px 40px var(--feature-hover-shadow);
}

.c-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-accent-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.4rem;
    box-shadow: 0 10px 30px var(--feature-icon-shadow);
    transition: transform 0.4s ease;
}

.c-feature:hover .c-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.c-feature h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

.c-feature p {
    color: var(--text-dark);
    opacity: 0.65;
    font-size: 0.9rem;
    line-height: 1.5;
}

.c-stats-container {
    background: linear-gradient(135deg, var(--stats-background-gradient-start), var(--stats-background-gradient-end));
    padding: 30px 25px;
    border-radius: 24px;
    margin: 25px 0;
    box-shadow: 0 20px 60px var(--stats-shadow);
}

.c-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.c-stat {
    text-align: center;
}

.c-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 6px;
    line-height: 1;
}

.c-stat-label {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.c-bottom-section {
    background: var(--background-light);
    padding: 40px 35px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 30px 80px var(--shadow-main);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
    margin-top: 25px;
}

.c-bottom-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent), var(--primary-accent));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.c-bottom-section h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.c-bottom-section>p {
    color: var(--text-dark);
    margin-bottom: 25px;
    font-size: 1rem;
    opacity: 0.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.c-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.c-form-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.c-text-input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--input-border);
    border-radius: 14px;
    font-size: 0.95rem;
    background: var(--background-light);
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 4px var(--input-focus-shadow);
}

input::placeholder {
    color: var(--text-dark);
    opacity: 0.4;
}

.c-select-input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--input-border);
    border-radius: 14px;
    font-size: 0.95rem;
    background: var(--background-light);
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-family: inherit;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 4px var(--input-focus-shadow);
}

.c-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    text-align: left;
}

.c-checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-accent);
}

.c-checkbox-wrapper label {
    color: var(--text-dark);
    font-size: 0.95rem;
    cursor: pointer;
    user-select: none;
}

.c-contributor-fields {
    display: none;
    margin-top: 15px;
    padding: 20px;
    background: var(--contributor-background);
    border-radius: 14px;
    border: 2px solid var(--input-border);
    animation: fadeInUp 0.3s ease-out;
}

.c-contributor-fields.show {
    display: block;
}

.c-contributor-fields h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.c-field-group {
    margin-bottom: 15px;
}

.c-field-group:last-child {
    margin-bottom: 0;
}

.c-field-group label {
    display: block;
    color: #0A1D3A;
    font-size: 0.85rem;
    margin-bottom: 6px;
    font-weight: 500;
}

.c-button-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-top: auto;
    padding-top: 20px;
}

.c-submit-button {
    display: inline-block;
    width: 100%;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-accent-dark), var(--primary-accent));
    color: var(--text-white);
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px var(--button-shadow);
    position: relative;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
}

.c-submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.c-submit-button:hover::before {
    left: 100%;
}

.c-submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--button-hover-shadow);
}

.c-submit-button:active {
    transform: translateY(-1px);
}

.c-footer {
    text-align: center;
    padding: 30px 20px 25px;
    color: var(--text-light);
}

footer p {
    opacity: 0.6;
    font-size: 0.85rem;
}


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