/* === 0053 - ACE Classic Red-White Theme === */
:root {
    --ruby: #be123c;
    --ruby-dark: #881337;
    --ruby-light: #fda4af;
    --cream: #fff1f2;
    --white: #ffffff;
    --dark: #1c0008;
    --gray: #6b7280;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #fafafa;
    color: #333;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--ruby);
    box-shadow: 0 2px 16px rgba(190,18,60,0.08);
}
.navbar-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 70px;
}
.navbar-brand {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none; font-size: 1.3rem; font-weight: 700;
    color: #333; letter-spacing: 1px;
}
.navbar-brand i { color: var(--ruby); font-size: 1.6rem; }
.navbar-brand strong { color: var(--ruby); }
.navbar-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.navbar-links a {
    color: #555; text-decoration: none; font-weight: 600;
    font-size: 0.9rem; position: relative; transition: color 0.3s;
}
.navbar-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--ruby); transition: width 0.3s;
}
.navbar-links a:hover, .navbar-links a.active { color: var(--ruby); }
.navbar-links a:hover::after, .navbar-links a.active::after { width: 100%; }
.nav-cta-btn {
    background: linear-gradient(135deg, var(--ruby), #e11d48);
    color: #fff !important; padding: 10px 22px; border-radius: 24px;
    font-weight: 700 !important;
}
.nav-cta-btn:hover { background: linear-gradient(135deg, #9f1239, var(--ruby)); transform: translateY(-1px); }
.nav-cta-btn::after { display: none !important; }
.navbar-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--ruby); cursor: pointer; }

/* Hero */
.hero {
    padding: 130px 24px 80px;
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 30%, #fecdd3 60%, #fff1f2 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(190,18,60,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; gap: 50px;
    position: relative; z-index: 1;
}
.hero-text { flex: 1; }
.hero-badge {
    display: inline-block; background: var(--ruby); color: #fff;
    padding: 6px 18px; border-radius: 20px; font-size: 0.85rem;
    font-weight: 700; letter-spacing: 2px; margin-bottom: 18px;
}
.hero-text h1 {
    font-size: 3rem; font-weight: 900; color: var(--dark);
    line-height: 1.2; margin-bottom: 14px;
}
.hero-text h1 .accent { color: var(--ruby); }
.hero-text p {
    font-size: 1.05rem; color: #666; margin-bottom: 28px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-ruby {
    background: linear-gradient(135deg, var(--ruby), #e11d48);
    color: #fff; padding: 14px 30px; border-radius: 30px;
    font-weight: 700; text-decoration: none; transition: all 0.3s;
    display: inline-flex; align-items: center; gap: 6px;
}
.btn-ruby:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(190,18,60,0.35); }
.btn-outline-ruby {
    background: transparent; color: var(--ruby);
    padding: 14px 30px; border-radius: 30px;
    font-weight: 700; text-decoration: none; border: 2px solid var(--ruby);
    transition: all 0.3s; display: inline-flex; align-items: center; gap: 6px;
}
.btn-outline-ruby:hover { background: var(--ruby); color: #fff; transform: translateY(-2px); }
.hero-img {
    flex: 0 0 420px; border-radius: 20px; overflow: hidden;
    box-shadow: 0 20px 40px rgba(190,18,60,0.2);
    border: 4px solid #fff;
}
.hero-img img { width: 100%; display: block; }

/* Section Titles */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 {
    font-size: 2.4rem; font-weight: 900; color: var(--dark);
    position: relative; display: inline-block; padding-bottom: 14px;
}
.section-header h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 70px; height: 3px;
    background: linear-gradient(90deg, transparent, var(--ruby), transparent);
    border-radius: 2px;
}
.section-header p { color: #888; margin-top: 10px; font-size: 1rem; }

/* Features with flip */
.features {
    padding: 80px 24px;
    background: #fff;
}
.features-inner { max-width: 1280px; margin: 0 auto; }
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.feat-card {
    perspective: 1000px; height: 280px;
}
.feat-card-inner {
    position: relative; width: 100%; height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}
.feat-card:hover .feat-card-inner { transform: rotateY(180deg); }
.feat-front, .feat-back {
    position: absolute; width: 100%; height: 100%;
    backface-visibility: hidden; border-radius: 16px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 30px; text-align: center;
}
.feat-front {
    background: linear-gradient(135deg, #fff1f2, #ffe4e6);
    border: 2px solid var(--ruby-light);
}
.feat-icon-diamond {
    width: 60px; height: 60px; background: var(--ruby);
    transform: rotate(45deg); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.feat-icon-diamond i {
    transform: rotate(-45deg); color: #fff; font-size: 1.5rem;
}
.feat-front h3 { font-size: 1.2rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.feat-front .feat-sub { color: #999; font-size: 0.85rem; }
.feat-back {
    background: linear-gradient(135deg, var(--ruby), #e11d48);
    transform: rotateY(180deg); color: #fff;
}
.feat-back h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.feat-back p { font-size: 0.9rem; line-height: 1.6; opacity: 0.95; }

/* Stats */
.stats {
    padding: 60px 24px;
    background: linear-gradient(135deg, var(--ruby-dark), var(--ruby));
}
.stats-inner { max-width: 1280px; margin: 0 auto; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center;
}
.stat-item .stat-num {
    display: block; font-size: 2.8rem; font-weight: 900; color: #fff; line-height: 1;
}
.stat-item .stat-label { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-top: 6px; }

/* Testimonials */
.testimonials {
    padding: 80px 24px;
    background: var(--cream);
}
.testimonials-inner { max-width: 1280px; margin: 0 auto; }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.testi-card {
    background: #fff; border-radius: 16px; padding: 28px;
    border-top: 4px solid var(--ruby);
    transition: all 0.3s; box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.testi-card:hover {
    transform: translateY(-4px); box-shadow: 0 12px 28px rgba(190,18,60,0.12);
}
.testi-stars { margin-bottom: 10px; }
.testi-stars i { color: #f59e0b; font-size: 0.9rem; }
.testi-card > p { color: #666; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ruby-light); }
.testi-author strong { color: var(--dark); font-size: 0.9rem; display: block; }
.testi-author span { color: #999; font-size: 0.8rem; }

/* FAQ with gradient bars */
.faq {
    padding: 80px 24px;
    background: #fff;
}
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-item {
    margin-bottom: 12px; border-radius: 12px; overflow: hidden;
    border: 1px solid #fecdd3; transition: all 0.3s;
}
.faq-item.active { border-color: var(--ruby); box-shadow: 0 4px 16px rgba(190,18,60,0.08); }
.faq-toggle {
    width: 100%; padding: 17px 22px;
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(90deg, #fff1f2, #fff);
    border: none; cursor: pointer; font-size: 1rem;
    font-weight: 700; color: var(--dark); text-align: left;
}
.faq-item.active .faq-toggle {
    background: linear-gradient(90deg, var(--ruby), #e11d48);
    color: #fff;
}
.faq-toggle i { transition: transform 0.3s; color: var(--ruby); }
.faq-item.active .faq-toggle i { transform: rotate(180deg); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 18px 22px; color: #555; line-height: 1.7; background: #fff; }

/* CTA */
.cta {
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--ruby) 0%, #e11d48 50%, var(--ruby-dark) 100%);
    text-align: center;
}
.cta-inner { max-width: 700px; margin: 0 auto; }
.cta h2 { font-size: 2.4rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.05rem; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta .btn-ruby { background: #fff; color: var(--ruby); }
.cta .btn-ruby:hover { background: #ffe4e6; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.cta .btn-outline-ruby { border-color: #fff; color: #fff; }
.cta .btn-outline-ruby:hover { background: #fff; color: var(--ruby); }

/* Footer */
.footer {
    background: var(--dark); color: #bbb; padding: 50px 24px 30px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 30px; margin-bottom: 36px; }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.footer-col h4 i { color: var(--ruby); }
.footer-col p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 12px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 36px; height: 36px; background: rgba(255,255,255,0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #bbb; text-decoration: none; transition: all 0.3s;
}
.social-links a:hover { background: var(--ruby); color: #fff; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: #bbb; text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--ruby-light); }
.contact-info li { margin-bottom: 8px; font-size: 0.9rem; }
.contact-info i { color: var(--ruby-light); margin-right: 6px; width: 16px; text-align: center; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px;
    text-align: center; font-size: 0.85rem;
}

/* Page Hero (inner pages) */
.page-hero {
    padding: 130px 24px 60px;
    background: linear-gradient(135deg, #fff1f2, #ffe4e6);
    text-align: center;
}
.page-hero h1 { font-size: 2.6rem; font-weight: 900; color: var(--dark); }
.page-hero h1 span { color: var(--ruby); }
.page-hero p { color: #777; margin-top: 8px; }

/* Download page */
.download-section { padding: 60px 24px; background: #fff; }
.download-inner { max-width: 1000px; margin: 0 auto; }
.download-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dl-card {
    background: linear-gradient(135deg, #fff1f2, #fff);
    border: 2px solid #fecdd3; border-radius: 20px;
    padding: 36px 28px; text-align: center; transition: all 0.3s;
}
.dl-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(190,18,60,0.15); border-color: var(--ruby); }
.dl-card-icon { font-size: 3rem; color: var(--ruby); margin-bottom: 14px; }
.dl-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.dl-card p { color: #777; font-size: 0.9rem; margin-bottom: 18px; line-height: 1.5; }
.dl-btn {
    display: inline-block; background: linear-gradient(135deg, var(--ruby), #e11d48);
    color: #fff; padding: 12px 28px; border-radius: 24px;
    text-decoration: none; font-weight: 700; transition: all 0.3s;
}
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(190,18,60,0.3); }

/* About page */
.about-section { padding: 60px 24px; background: #fff; }
.about-inner { max-width: 900px; margin: 0 auto; }
.about-content { line-height: 1.9; color: #555; }
.about-content h3 { color: var(--dark); font-size: 1.3rem; margin: 28px 0 10px; }
.about-content p { margin-bottom: 14px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.value-card {
    background: var(--cream); border-radius: 14px; padding: 24px;
    text-align: center; border-left: 3px solid var(--ruby);
}
.value-card i { font-size: 1.8rem; color: var(--ruby); margin-bottom: 10px; }
.value-card h4 { font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.value-card p { font-size: 0.85rem; color: #777; }

/* Contact page */
.contact-section { padding: 60px 24px; background: #fff; }
.contact-inner { max-width: 1000px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-cards { display: flex; flex-direction: column; gap: 18px; }
.cinfo-card {
    display: flex; align-items: flex-start; gap: 14px;
    background: var(--cream); padding: 20px; border-radius: 14px;
    border-left: 3px solid var(--ruby);
}
.cinfo-card i { font-size: 1.5rem; color: var(--ruby); margin-top: 3px; }
.cinfo-card h4 { font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.cinfo-card p { color: #777; font-size: 0.9rem; }
.contact-form { background: #fff; border: 2px solid #fecdd3; border-radius: 16px; padding: 30px; }
.contact-form h3 { font-weight: 800; color: var(--dark); margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; color: #555; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 2px solid #fecdd3;
    border-radius: 10px; font-size: 0.95rem; outline: none; transition: border-color 0.3s;
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--ruby); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* Responsive */
@media (max-width: 768px) {
    .navbar-links { display: none; }
    .navbar-toggle { display: block; }
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-img { flex: 0 0 auto; max-width: 300px; margin: 0 auto; }
    .hero-text h1 { font-size: 2.2rem; }
    .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .download-cards, .about-values { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .feat-card { height: 240px; }
}
