/* Color Scheme */
:root {
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --black-lighter: #2d2d2d;
    --gold: #d4af37;
    --gold-dark: #b8860b;
    --gold-light: #f0e68c;
    --gray-dark: #3d3d3d;
    --gray-medium: #666666;
    --gray-light: #f5f5f5;
    --gray-lighter: #e0e0e0;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--black);
    color: var(--gray-lighter);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: rgba(26, 26, 26, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    transition: box-shadow 0.5s ease, border-color 0.5s ease, padding 0.4s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    border-bottom-color: var(--gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-lighter);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at right, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -10%;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 28%, rgba(212, 175, 55, 0.07) 0%, transparent 42%),
        radial-gradient(circle at 78% 68%, rgba(212, 175, 55, 0.05) 0%, transparent 46%),
        radial-gradient(circle at 50% 95%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
    animation: driftBackground 26s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

@keyframes driftBackground {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(-2.5%, 2%, 0) scale(1.06);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero h1,
.hero .subtitle,
.hero .cta-button {
    opacity: 0;
    animation: heroFadeUp 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.2;
    animation-delay: 0.1s;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    animation-delay: 0.4s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--gold);
    color: var(--black);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    animation-delay: 0.7s;
}

.cta-button:hover {
    background-color: var(--gold-light);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--black-lighter);
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--white);
    position: relative;
    padding-bottom: 1rem;
}

.about-intro {
    text-align: center;
    color: var(--gray-lighter);
    max-width: 720px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
    line-height: 1.75;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    background-size: 200% 100%;
    animation: shimmerDivider 5s ease-in-out infinite;
}

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

.benefit-card {
    background-color: var(--black-light);
    padding: 2rem;
    border-left: 4px solid var(--gold);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card.reveal {
    opacity: 0;
    transform: translateY(24px);
}

.benefit-card.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card:nth-child(1) { transition-delay: 0s; }
.benefit-card:nth-child(2) { transition-delay: 0.1s; }
.benefit-card:nth-child(3) { transition-delay: 0.2s; }
.benefit-card:nth-child(4) { transition-delay: 0.3s; }

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.benefit-card p {
    color: var(--gray-lighter);
    line-height: 1.8;
}

/* Partners Section */
.partners {
    padding: 6rem 0;
    background-color: var(--black);
}

.partners h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--white);
    position: relative;
    padding-bottom: 1rem;
}

.partners h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    background-size: 200% 100%;
    animation: shimmerDivider 5s ease-in-out infinite;
}

.partner-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.partner-type {
    background-color: var(--black-light);
    padding: 2rem;
    border: 1px solid var(--gray-dark);
    border-radius: 0.25rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-type.reveal {
    opacity: 0;
    transform: translateY(24px);
}

.partner-type.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.partner-type:nth-child(1) { transition-delay: 0s; }
.partner-type:nth-child(2) { transition-delay: 0.1s; }
.partner-type:nth-child(3) { transition-delay: 0.2s; }
.partner-type:nth-child(4) { transition-delay: 0.3s; }

.partner-type:hover {
    border-color: var(--gold);
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.partner-type h4 {
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.partner-type p {
    color: var(--gray-lighter);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--black-lighter);
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--white);
    position: relative;
    padding-bottom: 1rem;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    background-size: 200% 100%;
    animation: shimmerDivider 5s ease-in-out infinite;
}

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

.contact-intro {
    text-align: center;
    color: var(--gray-lighter);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact .afp-contact {
    max-width: 700px;
    margin: 0 auto;
}

.contact .afp-contact.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact .afp-contact.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-form {
    background-color: var(--black-light);
    padding: 3rem;
    border: 1px solid var(--gray-dark);
    border-radius: 0.25rem;
}

.contact .afp-contact__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact .afp-contact__actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.contact .afp-contact__status {
    font-size: 0.9rem;
    line-height: 1.5;
    min-height: 1.5rem;
    text-align: center;
    margin: 0 !important;
    color: var(--gray-lighter);
}

.contact .afp-contact__status--error {
    color: #f87171;
}

.contact .afp-contact__status--success {
    color: #86efac;
}

.contact .afp-contact__submit {
    margin-top: 0;
}

.contact .afp-contact__submit:disabled {
    cursor: wait;
    opacity: 0.65;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row--single {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    background-color: var(--black);
    color: var(--white);
    border: 1px solid var(--gray-dark);
    border-radius: 0.25rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-medium);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background-color: var(--black-light);
    color: var(--white);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 0.25rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.submit-button:hover {
    background-color: var(--gold-light);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}

.form-note {
    text-align: center;
    color: var(--gray-medium);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--black-light);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--gold);
}

.footer p {
    color: var(--gray-lighter);
    margin: 0.5rem 0;
}

.footer a {
    color: var(--gold);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.contact-email {
    margin-top: 1rem !important;
}

/* Success & Error Messages */
.success-message {
    max-width: 700px;
    margin: 0 auto 3rem;
    background-color: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--gold);
    padding: 2rem;
    border-radius: 0.25rem;
}

.success-message h3 {
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.success-message p {
    color: var(--gray-lighter);
    line-height: 1.8;
}

.error-message {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    padding: 1.5rem;
    border-radius: 0.25rem;
}

.error-message p {
    color: var(--gray-lighter);
    margin-bottom: 0.5rem;
}

.error-message a {
    color: var(--gold);
    text-decoration: none;
}

.error-message a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .about h2,
    .partners h2,
    .contact h2 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 2rem;
    }

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

    .partner-types {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .about h2::after,
    .partners h2::after,
    .contact h2::after {
        animation: none;
    }

    .hero h1,
    .hero .subtitle,
    .hero .cta-button,
    .benefit-card.reveal,
    .partner-type.reveal,
    .afp-contact.reveal {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

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

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .about h2,
    .partners h2,
    .contact h2 {
        font-size: 1.5rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}
