/* ================================================
   PROGRESSIVE OVERLOAD TRAINING - ELITE REDESIGN
   ================================================ */

/* CSS Variables */
:root {
    /* Base & Backgrounds */
    --bg-primary: #000000;
    /* Pure Black for high contrast */
    --bg-secondary: #101010;
    /* Dark gray for cards */
    --bg-glass: rgba(16, 16, 16, 0.6);
    /* Frosted Glass Effect */

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    /* Muted gray for subtitles */
    --text-highlight: #FFFFFF;

    /* Accents (Blue & Red Theme) */
    --accent-primary: #00BFFF;
    /* Deep Sky Blue */
    --accent-secondary: #1E90FF;
    /* Dodger Blue for gradients */
    --accent-red: #E50000;
    /* Strong, clear red */

    /* Borders & Shadows */
    --border-color: rgba(255, 255, 255, 0.15);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --glow-primary: rgba(0, 191, 255, 0.1);
    /* Blue glow */
    --glow-secondary: rgba(229, 0, 0, 0.1);
    /* Red glow */

    /* Fonts & Transitions */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animated Background */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.gradient-mesh {
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(at 20% 80%, var(--glow-primary) 0px, transparent 50%),
        radial-gradient(at 80% 20%, var(--glow-secondary) 0px, transparent 50%);
    animation: gradient-fade 10s ease-in-out infinite;
    opacity: 0.5;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: move-orb 15s ease-in-out infinite alternate;
    will-change: transform, opacity;
    contain: layout style paint;
}

.glow-1 {
    width: 500px;
    height: 500px;
    top: 10%;
    left: 10%;
    background: var(--accent-primary);
}

.glow-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    right: 5%;
    background: var(--accent-secondary);
    animation-duration: 20s;
}

.glow-3 {
    width: 300px;
    height: 300px;
    bottom: 5%;
    left: 30%;
    background: var(--accent-red);
    animation-duration: 18s;
    animation-delay: -5s;
}

/* Header */
.header {
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 10;
}

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

.logo-img {
    width: 180px;
    height: auto;
    opacity: 0.9;
}

.logo-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-highlight);
}

.logo-title em {
    color: var(--accent-red);
    font-style: normal;
    font-weight: 800;
}

.logo-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 100px);
    padding: 1rem 4rem 4rem;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Left - Text Content */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    background: var(--accent-red);
    border-radius: 99px;
    margin-bottom: 1.5rem;
    width: fit-content;
    text-transform: uppercase;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-highlight);
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.7;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--bg-primary);
    background: var(--text-highlight);
    border: 2px solid var(--text-highlight);
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    width: fit-content;
    margin-bottom: 3rem;
    will-change: transform;
    line-height: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(20deg);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(230, 237, 243, 0.15);
}

.cta-button:hover::before {
    opacity: 1;
    animation: shine 1s ease 1;
}

/* Features List */
.features-container {
    padding: 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 3rem;
    width: fit-content;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.feature-icon {
    color: var(--accent-primary);
}

/* Hero Right - About Section */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

.about-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
}

.about-accent {
    height: 2px;
    flex-grow: 1;
    margin-left: 1rem;
    background: linear-gradient(90deg, transparent, var(--accent-primary));
    opacity: 0.5;
}

.about-image-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.image-frame {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.about-image {
    width: 100%;
    display: block;
    filter: saturate(0.8) contrast(1.1);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 4, 10, 0.8) 0%, transparent 50%);
}

.about-quote {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.75rem;
}

.quote-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
    opacity: 0.7;
}

.about-quote p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
}

.highlight {
    color: var(--accent-primary);
    font-weight: 500;
}

/* Credentials Section */
.credentials-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.certification-display {
    cursor: pointer;
}

.cert-frame {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.cert-frame:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--glow-primary);
}

.cert-image-large {
    width: 100%;
    display: block;
}

.cert-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 10, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.certification-display:hover .cert-hover-overlay {
    opacity: 1;
}

.cert-hover-text {
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
}

.credentials-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.credential-item {
    position: relative;
    padding: 0.8rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.credential-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
}

.credential-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
    opacity: 0.8;
}

.credential-content {
    display: block;
    width: 100%;
}

.credential-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-highlight);
    display: block;
    width: 100%;
    margin-bottom: 0.25rem;
}

.credential-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: block;
    width: 100%;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 10, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.95);
    transition: var(--transition-slow);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--text-highlight);
    transform: rotate(90deg);
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

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

.footer a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer a:hover {
    text-decoration: underline;
    color: var(--text-highlight);
}

.footer-credit {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        padding: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-left {
        text-align: left;
        align-items: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .about-section {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1.5rem 1.5rem;
    }

    .hero {
        padding: 2rem 1.5rem;
    }

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

    .gradient-text {
        display: block;
        width: 100%;
        text-align: center;
    }

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

@media (max-width: 640px) {
    .header {
        padding: 1rem;
        justify-content: center;
    }

    .logo-img {
        width: 140px;
    }

    .logo-text {
        position: static;
        transform: none;
        margin-top: -10px;
    }

    .logo-title {
        font-size: 1.2rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
    }

    .hero {
        padding: 2rem 1rem;
        min-height: auto;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-subtitle,
    .hero-description {
        font-size: 1rem;
        max-width: 400px;
    }

    .cta-button {
        width: 100%;
        padding: 1rem;
        font-size: 0.95rem;
    }

    .features-container {
        width: 100%;
    }

    .about-section {
        padding: 1.5rem;
    }

    .image-overlay {
        display: none;
        /* Hide gradient on mobile */
    }

    .about-quote {
        position: static;
        /* Take quote out of image flow */
        padding: 1rem;
        margin-top: -1rem;
        /* Adjust to connect with image frame */
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-top: none;
        /* Avoid double border */
        border-radius: 0 0 12px 12px;
    }

    .about-quote p {
        font-size: 0.9rem;
    }
}

/* Keyframe Animations */
@keyframes gradient-fade {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes move-orb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(calc(var(--dx, 1) * 100px), calc(var(--dy, 1) * 100px)) scale(1.2);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(20deg);
        opacity: 0.5;
    }

    100% {
        transform: translateX(100%) rotate(20deg);
        opacity: 1;
    }
}

/* ================================================
   CREATIVE CONTACT CARD
   ================================================ */

.contact-card {
    width: 100%;
    max-width: 420px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jeff-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
}

.contact-intro {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.intro-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.intro-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.contact-card-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Floating label underline inputs */
.underline-field {
    position: relative;
}

.underline-field input {
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    outline: none;
    transition: border-color 0.3s ease;
}

.underline-field label {
    position: absolute;
    left: 0;
    top: 0.75rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    transition: all 0.25s ease;
}

.underline-field label span {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Label floats up when input is focused or has value */
.underline-field input:focus~label,
.underline-field input:not(:placeholder-shown)~label {
    top: -0.75rem;
    font-size: 0.75rem;
    color: var(--accent-primary);
}

.underline-field input:focus {
    border-bottom-color: var(--accent-primary);
}

/* Callback button */
.callback-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    color: #000;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #00e5ff 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.callback-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
}

.callback-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.callback-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Form message */
.contact-card .form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    display: none;
}

.contact-card .form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.contact-card .form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .contact-card {
        padding: 1.5rem;
        max-width: 100%;
        border-radius: 16px;
    }

    .jeff-avatar {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .intro-label {
        font-size: 1rem;
    }
}

/* ================================================
   TESTIMONIALS SECTION
   ================================================ */

.testimonials-section {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.testimonials-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) transparent;
}

.testimonials-grid::-webkit-scrollbar {
    height: 6px;
}

.testimonials-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

.testimonial-card {
    flex: 0 0 350px;
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    scroll-snap-align: start;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(0, 191, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 191, 255, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #00e5ff 100%);
    border-radius: 50%;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.reviewer-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stars {
    display: flex;
    gap: 0.15rem;
    margin-bottom: 0.75rem;
}

.stars span {
    color: #FFC107;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Testimonials Mobile */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 1rem;
    }

    .testimonials-title {
        font-size: 1.75rem;
    }

    .testimonial-card {
        flex: 0 0 300px;
        padding: 1.5rem;
    }
}

/* ================================================
   CONTACT MODAL STYLES (kept for reference)
   ================================================ */

/* Contact Button */
.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    background: transparent;
    border: 2px solid var(--accent-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    width: fit-content;
    margin-bottom: 3rem;
    line-height: 1;
}

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

.contact-button:hover {
    background: rgba(0, 191, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.2);
}

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

.contact-button svg {
    transition: transform 0.3s ease;
}

.contact-button:hover svg {
    transform: rotate(15deg);
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 1rem;
}

.contact-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 450px;
    background: linear-gradient(145deg, var(--bg-secondary) 0%, #0a0a0a 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transform: scale(0.9) translateY(30px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 191, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text-highlight);
    background: rgba(229, 0, 0, 0.2);
    border-color: var(--accent-red);
    transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-highlight);
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--text-highlight) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-label .required {
    color: var(--accent-red);
}

.form-label .optional {
    color: var(--text-secondary);
    font-weight: 400;
    text-transform: lowercase;
    font-size: 0.8rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-input:focus {
    border-color: var(--accent-primary);
    background: rgba(0, 191, 255, 0.03);
    box-shadow:
        0 0 0 3px rgba(0, 191, 255, 0.1),
        0 4px 20px rgba(0, 191, 255, 0.05);
}

.form-input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.25);
}

/* Submit Button */
.submit-button {
    width: 100%;
    padding: 1.1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-primary);
    letter-spacing: 0.1em;
    color: var(--bg-primary);
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
}

.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.6s ease;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 30px rgba(0, 191, 255, 0.3),
        0 0 40px rgba(0, 191, 255, 0.15);
}

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

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

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Form Message */
.form-message {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message.error {
    display: block;
    background: rgba(229, 0, 0, 0.1);
    border: 1px solid rgba(229, 0, 0, 0.3);
    color: var(--accent-red);
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .contact-button {
        width: 100%;
        padding: 1rem;
        font-size: 0.9rem;
    }

    .modal-content {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-subtitle {
        font-size: 0.9rem;
    }

    .form-input {
        padding: 0.9rem 1rem;
    }
}