/* ===========================================
   LINKSNA.BIO — Homepage Modern/Minimalist
   Color: Coral #FF6B35 | Style: Apple/Stripe
   =========================================== */

/* Accent color system */
:root {
    --accent: #FF6B35;
    --accent-light: #FF8F65;
    --accent-dark: #E55A25;
    --accent-50: #FFF7F3;
    --accent-100: #FFEDE5;
    --accent-200: #FFD5C2;
    --accent-300: #FFB899;
    --accent-600: #D4531F;
    --accent-900: #7A2E0E;
    --hero-bg: #FFFBF9;
    --section-bg: #FAFAFA;
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
}

[data-theme-style="dark"] {
    --accent-50: #2a1a12;
    --accent-100: #3d2518;
    --accent-200: #5c3520;
    --hero-bg: var(--body-bg);
    --section-bg: #111318;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
}

/* ==================
   GENERAL
   ================== */
.index-container {
    width: 100%;
    padding: 0;
}

.index-container-content {
    margin-top: 0;
    margin-bottom: 0;
}

/* Reduce gap between navbar and hero */
.index > .container.pt-4 {
    padding-top: 0.75rem !important;
}

.index .navbar-main.mb-6 {
    margin-bottom: 1rem !important;
}

/* ==================
   HERO SECTION
   ================== */
/* Prevent horizontal scroll from glow blobs */
body.index {
    overflow-x: hidden;
}

.hero-section {
    position: relative;
    padding: 1.5rem 0 3rem;
    background: #fafafa;
    overflow: visible;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 2rem 0 3.5rem;
    }
}

@media (min-width: 1200px) {
    .hero-section {
        padding: 2.5rem 0 4rem;
    }
}

[data-theme-style="dark"] .hero-section {
    background: var(--body-bg);
}

/* Subtle dot grid overlay */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

[data-theme-style="dark"] .hero-grid-overlay {
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
}

/* Animated glow blobs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 107, 53, 0.12);
    top: -150px;
    right: 10%;
    animation: glow-float 8s ease-in-out infinite alternate;
}

.hero-glow-2 {
    width: 350px;
    height: 350px;
    background: rgba(99, 102, 241, 0.08);
    bottom: -100px;
    left: 5%;
    animation: glow-float 10s ease-in-out infinite alternate-reverse;
}

[data-theme-style="dark"] .hero-glow-1 {
    background: rgba(255, 107, 53, 0.06);
}
[data-theme-style="dark"] .hero-glow-2 {
    background: rgba(99, 102, 241, 0.05);
}

@keyframes glow-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.1); }
}

/* Badge — glass pill */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem 0.4rem 0.7rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-secondary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

.hero-badge:hover {
    border-color: var(--accent-200);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
}

[data-theme-style="dark"] .hero-badge {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px rgba(255, 107, 53, 0.5);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(255, 107, 53, 0.5); }
    50% { opacity: 0.6; box-shadow: 0 0 12px rgba(255, 107, 53, 0.3); }
}

/* Title */
.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.08;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
    max-width: 600px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.25rem;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #FF8F65 40%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme-style="dark"] .hero-title-gradient {
    background: linear-gradient(135deg, var(--accent-light) 0%, #FFB088 40%, #818CF8 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2rem;
    font-weight: 400;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.15rem;
    }
}

/* CTA row */
.hero-cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Claim URL Input */
.hero-claim-wrapper {
    max-width: 520px;
    margin-bottom: 1.5rem;
}

.hero-claim-wrapper .input-group {
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid var(--gray-200);
    background: var(--white);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.hero-claim-wrapper .input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.hero-claim-wrapper .input-group-text {
    background: transparent;
    border: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.9rem 0 0.9rem 1rem;
}

.hero-claim-wrapper .form-control {
    border: 0;
    box-shadow: none !important;
    font-size: 1rem;
    padding: 0.9rem 0.5rem;
    background: transparent;
}

.hero-claim-wrapper select.form-control,
.hero-claim-wrapper .custom-select {
    border: 0;
    background: transparent;
    box-shadow: none !important;
    max-width: 180px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Buttons */
.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff !important;
    border: none;
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-accent:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.2);
}

.btn-accent-outline {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--text-primary) !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-accent-outline:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--accent-dark) !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

[data-theme-style="dark"] .btn-accent-outline {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary) !important;
}

/* Hero feature tags */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.75rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.25s ease;
    text-decoration: none !important;
    letter-spacing: -0.01em;
}

.hero-tag:hover {
    border-color: var(--accent-200);
    color: var(--accent);
    background: rgba(255, 107, 53, 0.04);
    text-decoration: none;
    transform: translateY(-1px);
}

[data-theme-style="dark"] .hero-tag {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme-style="dark"] .hero-tag:hover {
    background: rgba(255, 107, 53, 0.08);
}

/* ==================
   FEATURES SECTION
   ================== */
.features-section {
    padding: 5rem 0;
    background: var(--white);
}

[data-theme-style="dark"] .features-section {
    background: var(--body-bg);
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    background: var(--white);
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

[data-theme-style="dark"] .feature-card {
    background: var(--gray-50);
    border-color: var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--accent-200);
}

[data-theme-style="dark"] .feature-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
}

.feature-icon-coral {
    background: var(--accent-100);
    color: var(--accent);
}

.feature-icon-blue {
    background: #EEF2FF;
    color: #6366F1;
}

[data-theme-style="dark"] .feature-icon-blue {
    background: #1e1b4b;
}

.feature-icon-green {
    background: #ECFDF5;
    color: #10B981;
}

[data-theme-style="dark"] .feature-icon-green {
    background: #064e3b;
}

.feature-icon-purple {
    background: #F5F3FF;
    color: #8B5CF6;
}

[data-theme-style="dark"] .feature-icon-purple {
    background: #2e1065;
}

.feature-icon-teal {
    background: #F0FDFA;
    color: #14B8A6;
}

[data-theme-style="dark"] .feature-icon-teal {
    background: #134e4a;
}

.feature-icon-amber {
    background: #FFFBEB;
    color: #F59E0B;
}

[data-theme-style="dark"] .feature-icon-amber {
    background: #451a03;
}

.feature-icon-pink {
    background: #FDF2F8;
    color: #EC4899;
}

[data-theme-style="dark"] .feature-icon-pink {
    background: #500724;
}

.feature-icon-indigo {
    background: #EEF2FF;
    color: #4F46E5;
}

[data-theme-style="dark"] .feature-icon-indigo {
    background: #1e1b4b;
}

.feature-icon-rose {
    background: #FFF1F2;
    color: #F43F5E;
}

[data-theme-style="dark"] .feature-icon-rose {
    background: #4c0519;
}

.feature-icon-cyan {
    background: #ECFEFF;
    color: #06B6D4;
}

[data-theme-style="dark"] .feature-icon-cyan {
    background: #083344;
}

.feature-icon-slate {
    background: #F1F5F9;
    color: #475569;
}

[data-theme-style="dark"] .feature-icon-slate {
    background: #1e293b;
}

/* ==================
   EXTRA FEATURES GRID
   ================== */
.extra-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    height: 100%;
    transition: all 0.3s ease;
}

[data-theme-style="dark"] .extra-feature-item {
    background: var(--gray-50);
    border-color: var(--gray-200);
}

.extra-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: var(--accent-200);
}

[data-theme-style="dark"] .extra-feature-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.extra-feature-item i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

/* ==================
   STATS SECTION
   ================== */
.stats-section {
    padding: 4rem 0;
    background: var(--section-bg);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 3rem;
    }
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==================
   PLANS/PRICING SECTION
   ================== */
.plans-section {
    padding: 5rem 0;
    background: var(--white);
}

[data-theme-style="dark"] .plans-section {
    background: var(--body-bg);
}

/* Override existing pricing styles for modern look */
.plans-section .pricing-plan {
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.plans-section .pricing-plan:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.plans-section .pricing-header {
    border-radius: 16px 16px 0 0;
}

.plans-section .pricing-body {
    border-radius: 0 0 16px 16px;
}

.plans-section .pricing-tag {
    background: var(--accent);
    color: #fff;
    border-radius: 100px;
    padding: 0.2rem 1rem;
    font-size: 0.75rem;
}

/* ==================
   FAQ SECTION
   ================== */
.faq-section {
    padding: 5rem 0;
    background: var(--section-bg);
}

.faq-section .accordion .card {
    border: 1px solid var(--gray-100) !important;
    border-radius: 14px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-section .accordion .card:hover {
    border-color: var(--accent-200) !important;
}

.faq-section .accordion .card-body {
    padding: 1.25rem 1.5rem;
}

.faq-section .accordion .btn {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-section .accordion .collapse,
.faq-section .accordion .collapsing {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-section .index-faq svg {
    color: var(--accent);
}

/* ==================
   CTA SECTION
   ================== */
.cta-section {
    padding: 5rem 0;
    background: var(--white);
}

[data-theme-style="dark"] .cta-section {
    background: var(--body-bg);
}

.cta-card {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, #FFB088 100%);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-card {
        padding: 5rem 3rem;
    }
}

.cta-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    right: -50px;
    pointer-events: none;
}

.cta-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    bottom: -50px;
    left: -30px;
    pointer-events: none;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.btn-cta {
    background: #fff;
    color: var(--accent-dark) !important;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta:hover {
    background: var(--accent-50);
    color: var(--accent-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* ==================
   UTILITY OVERRIDES
   ================== */
.index-highly-rounded {
    border-radius: 16px;
}

/* Override navbar for index page */
.index .navbar-main {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme-style="dark"] .index .navbar-main {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Smooth section transitions */
.hero-section,
.features-section,
.stats-section,
.plans-section,
.faq-section,
.cta-section {
    position: relative;
    z-index: 1;
}

/* Image animations */
.index-image {
    width: auto;
    max-height: 480px;
    position: absolute;
    transition: all 0.5s ease-out;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.index-image-one {
    z-index: 2;
    top: 0;
    right: 8rem;
}

.index-image-two {
    z-index: 1;
    right: 0;
    top: -3rem;
    opacity: 0.7;
    filter: blur(1px);
}

@media (min-width: 1325px) {
    .index-image {
        max-height: 520px;
    }

    .index-image-one {
        left: 6rem;
        animation: hero-img-float 6s ease-in-out infinite alternate;
    }

    .index-image-two {
        right: -2rem;
        animation: hero-img-float-reverse 6s ease-in-out infinite alternate;
    }
}

@keyframes hero-img-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-12px); }
}

@keyframes hero-img-float-reverse {
    0% { transform: translateY(-8px); }
    100% { transform: translateY(4px); }
}

/* Override background blobs for hero */
.index-background::before,
.index-background::after {
    display: none;
}

/* General spacing helpers */
.mt-section {
    margin-top: 5rem;
}

/* Legacy index button override for homepage */
.hero-section ~ .index-button {
    display: none;
}
