:root {
    --color-bg: #0a0a0a;
    --color-bg-alt: #141414;
    --color-surface: #1e1e1e;
    --color-gold: #D4AF37;
    --color-gold-hover: #F0C430;
    --color-gold-dim: rgba(212, 175, 55, 0.15);
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.75;
    overflow-x: hidden;
}

/* Typography elements */
.gold-text {
    color: var(--color-gold);
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 85px;
    width: auto;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-footer {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-img-footer {
    height: 80px;
    width: auto;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    margin-left: 0.8rem;
    justify-content: center;
}

.logo-main-text {
    color: var(--color-text);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.logo-sub-text {
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.w-100 {
    width: 100%;
}

.icon-whatsapp-img {
    height: 34px;
    width: auto;
    margin-right: 0.1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.btn-primary {
    background: var(--color-gold);
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-gold {
    background: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

.btn-outline-gold:hover {
    background: var(--color-gold-dim);
}

.cta-nav {
    background: var(--color-gold);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 800;
    font-size: 1.1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.3;
}

.cta-nav:hover {
    background: var(--color-gold-hover);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.35) 100%), radial-gradient(circle at center, transparent 0%, rgba(10, 10, 10, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-gold-dim);
    color: var(--color-gold);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-authority {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.auth-item i {
    width: 18px;
    height: 18px;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 6rem 5%;
    background-image: linear-gradient(rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.75)), url('abaixovideo.png');
    background-size: cover;
    background-position: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    position: relative;
    text-align: center;
    padding: 3.5rem 2rem 2.5rem;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-12px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.1);
}

.stat-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: var(--color-bg);
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 41px;
    /* Center vertical */
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.stat-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.stat-item p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Titles */
.title-with-line {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.title-with-line::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header .title-with-line::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    margin-top: 1.5rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    padding: 4rem 5%;
    background: var(--color-bg);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding: 2rem;
}

/* Gym Frame Effect */
.gym-frame {
    position: relative;
    border: 4px solid var(--color-surface);
    border-radius: 10px;
    padding: 1rem;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(212, 175, 55, 0.03) 10px, rgba(212, 175, 55, 0.03) 20px);
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 1),
        0 15px 40px rgba(0, 0, 0, 0.8);
}

.gym-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: var(--color-bg-alt);
    border: 3px solid var(--color-gold);
    border-radius: 50%;
    z-index: 2;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.gym-frame::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: var(--color-bg-alt);
    border: 3px solid var(--color-gold);
    border-radius: 50%;
    z-index: 2;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.about-img {
    width: 100%;
    border-radius: 6px;
    display: block;
    filter: contrast(110%);
    transition: var(--transition);
}

.gym-frame:hover .about-img {
    filter: contrast(110%) brightness(1.1);
}

.about-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.about-topics {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-topics li {
    display: flex;
    gap: 1.5rem;
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-gold);
    transition: var(--transition);
}

.about-topics li:hover {
    transform: translateX(10px);
    background: var(--color-surface);
}

.topic-icon {
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topic-icon i {
    width: 24px;
    height: 24px;
}

.topic-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.topic-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Differentials */
.differentials-section {
    padding: 6rem 5%;
    background: var(--color-bg-alt);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.differentials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.diff-card {
    background: var(--color-surface);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    transition: var(--transition);
}

.diff-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.diff-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.diff-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Services */
.services {
    padding: 4rem 5%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-surface);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gold-icon {
    color: var(--color-gold);
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.card-link {
    color: var(--color-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.card-link i {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.service-card:hover .card-link i {
    transform: translateX(5px);
}

/* Hover Animations */
.hover-lift:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* IMC Calculator */
.imc-section {
    padding: 4rem 5%;
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}

.imc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.3;
}

.imc-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.imc-table-container {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    display: flex;
    justify-content: center;
}

.imc-table-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.imc-table-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border-color: rgba(212, 175, 55, 0.5);
}

.imc-benefits {
    list-style: none;
    margin-top: 2rem;
}

.imc-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.glass-panel {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-gold), transparent, transparent);
    z-index: -1;
    border-radius: 14px;
    opacity: 0.3;
}

.input-group {
    margin-bottom: 1.5rem;
}

.gender-toggle {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.gender-toggle input[type="radio"] {
    display: none;
}

.gender-toggle label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 0;
}

.gender-toggle label i {
    width: 18px;
    height: 18px;
}

.gender-toggle input[type="radio"]:checked+label {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.gender-toggle label:hover {
    border-color: rgba(212, 175, 55, 0.5);
    color: var(--color-text);
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.input-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.imc-result {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition);
}

.imc-result.hidden {
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
}

.result-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
}

.result-category {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0.5rem 0 1rem;
}

.warning {
    color: #f39c12;
}

.danger {
    color: #e74c3c;
}

.success {
    color: #2ecc71;
}

/* Footer */
.footer {
    background: #050505;
    padding: 3rem 5% 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-desc {
    color: var(--color-text-muted);
    margin: 1.5rem 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-surface);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-gold);
    color: #000;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
}

.footer-contact i {
    width: 18px;
    height: 18px;
    color: var(--color-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 1200px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.developer-credit {
    text-align: right;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.dev-link {
    display: inline-block;
    color: var(--color-text);
    transition: var(--transition);
}

.dev-link strong {
    font-size: 1rem;
    letter-spacing: 2px;
}

.dev-link:hover {
    color: var(--color-gold);
    transform: translateY(-2px);
}

/* Results Section */
.results-section {
    padding: 4rem 5%;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.results-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.results-text p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.results-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 400px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-surface);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.gold-icon-small {
    color: var(--color-gold);
    width: 24px;
    height: 24px;
}

.results-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.results-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    /* Helps ensure the image fits the grid item fully */
}

.before-after-img {
    width: 100%;
    height: 100%;
    /* Make image fill the flexible container */
    object-fit: cover;
    /* Maintain aspect ratio without stretching incorrectly */
    display: block;
    transition: var(--transition);
}

.results-image:hover .before-after-img {
    transform: scale(1.03);
}

/* Community Banner */
.community-banner {
    background: linear-gradient(135deg, var(--color-surface) 0%, #151515 100%);
    padding: 3.5rem 5%;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.community-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.community-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.community-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.community-text {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.community-avatars {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.community-icon {
    width: 48px;
    height: 48px;
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 50%;
    padding: 0.8rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.result-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    color: var(--color-gold);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    z-index: 10;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s forwards;
    opacity: 0;
}

.slide-up {
    animation: slideUp 1s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.fade-delay-1,
.delay-1 {
    animation-delay: 0.2s;
}

.fade-delay-2,
.delay-2 {
    animation-delay: 0.4s;
}

.fade-delay-3,
.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Section */
.faq-section {
    padding: 6rem 5%;
    background: var(--color-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(10, 10, 10, 0.5);
}

.faq-answer p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    padding: 0 1.5rem;
    margin: 0;
}

/* Accordion Active State */
.faq-item.active {
    border-color: var(--color-gold);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.faq-item.active .faq-question {
    color: var(--color-gold);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 0 1.5rem 0;
}

.faq-cta {
    margin-top: 4rem;
}

.text-center {
    text-align: center;
}

/* Custom Image Frame for FAQ Setup */
.faq-image-wrapper {
    margin-top: 3.5rem;
    position: relative;
    display: inline-block;
    padding: 0.8rem;
    background: var(--color-surface);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.faq-image-wrapper::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    background: linear-gradient(45deg, var(--color-gold), transparent, var(--color-gold));
    z-index: -1;
    border-radius: 16px;
    opacity: 0.15;
    transition: var(--transition);
}

.faq-image-wrapper:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.faq-image-wrapper:hover::after {
    opacity: 0.3;
}

.faq-custom-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Responsive Grid */
@media (max-width: 992px) {

    .imc-container,
    .results-container,
    .about-container {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .developer-credit {
        text-align: center;
    }

    .results-images {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}