/* ============================================
   INDIGO PREMIUM — app675y4
   Palette: deep navy / midnight indigo / antique gold / cream
============================================ */
:root {
    --bg-deep: #0a0e21;
    --bg-mid: #131739;
    --bg-card: rgba(20, 24, 60, 0.5);
    --text-main: #f4f1e8;
    --text-soft: #c8c4d4;
    --text-muted: #8b88a3;
    --indigo: #4f46e5;
    --indigo-light: #6366f1;
    --gold: #d4a857;
    --gold-light: #e6c585;
    --gold-deep: #b8893d;
    --border-soft: rgba(212, 168, 87, 0.18);
    --border-strong: rgba(212, 168, 87, 0.4);

    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html, body {
    background: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; }
em { font-style: italic; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 2;
}

/* === Background layers === */
.bg-gradient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(79, 70, 229, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 30%, rgba(212, 168, 87, 0.1) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 100%, rgba(99, 102, 241, 0.18) 0%, transparent 55%),
        linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
    z-index: 0;
    pointer-events: none;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 10px;
    border: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    color: var(--bg-deep);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-deep) 100%);
    box-shadow: 0 8px 24px rgba(212, 168, 87, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212, 168, 87, 0.45), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-primary .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

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

.btn-outline {
    color: var(--text-main);
    background: transparent;
    border: 1px solid var(--border-strong);
}

.btn-outline:hover {
    background: rgba(212, 168, 87, 0.08);
    border-color: var(--gold);
    color: var(--gold-light);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

.text-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10, 14, 33, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-soft);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 88px;
    gap: 32px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-logo {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    color: var(--text-main);
}

.brand-sub {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 32px;
    margin-left: auto;
}

.nav-links a {
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 10px 22px;
    font-size: 0.85rem;
}

/* === Hero === */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 130px;
    padding-bottom: 70px;
    gap: 70px;
}

.hero-text { flex: 1; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(212, 168, 87, 0.08);
    border: 1px solid var(--border-soft);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 28px;
}

.badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 28px;
    font-weight: 900;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-soft);
    margin-bottom: 40px;
    max-width: 90%;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 56px;
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 32px;
    border-top: 1px solid var(--border-soft);
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    color: var(--gold-light);
    line-height: 1;
}

.trust-num sup {
    font-size: 0.6em;
    color: var(--gold);
    margin-left: 2px;
}

.trust-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 6px;
    letter-spacing: 0.05em;
}

.divider {
    width: 1px;
    height: 36px;
    background: var(--border-soft);
}

/* === Hero Image === */
.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-frame {
    position: relative;
    padding: 26px;
    background:
        linear-gradient(150deg, rgba(212, 168, 87, 0.12), transparent 50%),
        rgba(20, 24, 60, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 168, 87, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.5s ease;
}

.hero-frame:hover { transform: translateY(-6px); }

.hero-frame-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--gold-light), transparent 30%, transparent 70%, var(--indigo-light));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.4;
    filter: blur(20px);
}

.hero-frame-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    background: rgba(10, 14, 33, 0.7);
    border: 1px solid var(--border-soft);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    font-weight: 500;
    z-index: 5;
}

.hero-image {
    display: block;
    width: 100%;
    max-width: 460px;
    border-radius: 12px;
}

/* === Sections === */
section { padding: 130px 0; }

.section-heading {
    text-align: center;
    margin-bottom: 80px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    color: var(--gold);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 22px;
    display: block;
}

.section-title {
    font-size: 3.6rem;
    line-height: 1.1;
    margin-bottom: 22px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-soft);
    line-height: 1.7;
}

/* === Features === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1px;
    background: var(--border-soft);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    overflow: hidden;
}

.feature-card {
    position: relative;
    padding: 44px 36px;
    background: var(--bg-deep);
    transition: all 0.4s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 168, 87, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    background: var(--bg-mid);
}

.feature-card:hover::before { opacity: 1; }

.feature-num {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    background: rgba(212, 168, 87, 0.08);
    border: 1px solid var(--border-soft);
    margin-bottom: 28px;
    transition: all 0.4s ease;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

.feature-card:hover .feature-icon {
    color: var(--gold);
    background: rgba(212, 168, 87, 0.15);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: var(--text-main);
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* === Carousel === */
.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 30px 70px;
}

.carousel-track {
    display: flex;
    gap: 32px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-item {
    height: 500px;
    flex-shrink: 0;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-soft);
    transition: all 0.4s ease;
}

.carousel-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(212, 168, 87, 0.18);
    border-color: var(--gold);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(20, 24, 60, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
    color: var(--gold-light);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(212, 168, 87, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}

.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

/* === CTA === */
.cta-section { padding: 60px 0 130px; }

.cta-box {
    text-align: center;
    padding: 100px 50px;
    background:
        radial-gradient(ellipse at center, rgba(79, 70, 229, 0.18) 0%, transparent 70%),
        linear-gradient(135deg, var(--bg-mid), var(--bg-deep));
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.cta-box::before, .cta-box::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    left: 50%;
    transform: translateX(-50%);
}

.cta-box::before { top: 30px; }
.cta-box::after { bottom: 30px; }

.cta-ornament {
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 0.4em;
    margin-bottom: 28px;
    font-weight: 500;
}

.cta-box h2 {
    font-size: 3.2rem;
    margin-bottom: 18px;
    line-height: 1.15;
}

.cta-box p {
    color: var(--text-soft);
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* === Footer === */
.footer {
    border-top: 1px solid var(--border-soft);
    padding: 70px 0 50px;
    background: var(--bg-deep);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-brand .logo-container {
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
}

.footer-tag {
    color: var(--text-muted);
    font-size: 0.92rem;
    max-width: 360px;
    line-height: 1.6;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-group a {
    color: var(--text-soft);
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-links-group a:hover { color: var(--gold-light); }

.footer-copyright {
    grid-column: 1 / -1;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--border-soft);
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-align: center;
}

/* === Animations === */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* === Responsive === */
@media (max-width: 1024px) {
    .nav-links { display: none; }
}

@media (max-width: 980px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 130px;
        gap: 60px;
    }
    .hero-subtitle { max-width: 100%; }
    .hero-title { font-size: 3.6rem; }
    .hero-actions, .trust-row { justify-content: center; flex-wrap: wrap; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-brand .logo-container { justify-content: center; }
    .footer-tag { margin-left: auto; margin-right: auto; }
    .footer-links-group { align-items: center; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 2.6rem; }
    .section-title { font-size: 2.2rem; }
    .cta-box { padding: 60px 24px; }
    .cta-box h2 { font-size: 2rem; }
    .carousel-item { height: 400px; }
    .carousel-container { padding: 20px 50px; }
    .nav-btn { display: none; }
    .trust-row { gap: 16px; }
    .trust-num { font-size: 1.5rem; }
    .divider { height: 28px; }
}
