/* Forrovivo Premium Template Overrides - Lunera Aesthetic */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Geist:wght@400;500;600;700&display=swap');

:root {
    --primary: #4686fe;
    --primary-light: #659bff;
    --secondary: #f4f4f4;
    --dark: #1c1c1c;
    --text-main: #3d3d3d;
    --text-muted: #949494;
    --bg-light: #fafafa;
    --border-subtle: #f1f5f9;
    --primary-gradient: linear-gradient(135deg, #4686fe 0%, #659bff 100%);
    --accent-gradient: linear-gradient(135deg, #4686fe 0%, #00c2ff 100%);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.04);
    --button-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
}

/* Typography Overhaul */
body {
    font-family: 'Geist', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    color: var(--dark) !important;
    letter-spacing: -0.04em;
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-size: 60px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.05em !important;
}

h2 {
    font-size: 48px !important;
    line-height: 1.2 !important;
}

.box-icon span, .circle-icon span {
    font-size: 2.5rem !important;
}

/* Premium Navbar */
.nav-menu {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 20px 0;
}

.nav-menu.is-scrolling {
    background: #ffffff !important;
    box-shadow: none !important;
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 0;
}

.nav-menu .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark) !important;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    opacity: 1;
    color: var(--primary) !important;
}

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 38px;
    width: auto;
    border-radius: 0;
    box-shadow: none !important;
    background: transparent !important;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
}

/* Hero Section */
header.bg-gradient {
    background: linear-gradient(236deg, #fff 0%, #f4f4f4 30%, #fff 74%, #ebeced 90%, #e4e5e7 100%) !important;
    padding: 160px 0 100px !important;
    text-align: left !important;
    color: #1a1a1b !important;
    position: relative;
    overflow: hidden;
}

header.bg-gradient::before {
    display: none;
}

.white-bg {
    background-color: #fff !important;
}

.subtle-bg {
    background-color: var(--bg-light) !important;
}

.hero-badge {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #a1a1aa !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-badge::before, .hero-badge::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 1px;
    background: #e2e8f0;
}

.hero-badge::before {
    margin-right: 15px;
}

.hero-badge::after {
    margin-left: 15px;
}

header.bg-gradient h1 {
    font-size: 72px !important;
    font-weight: 500 !important;
    line-height: 1.05 !important;
    margin-bottom: 1.5rem !important;
    color: var(--dark) !important;
    letter-spacing: -0.05em !important;
    text-align: left !important;
}

@media (max-width: 1200px) {
    header.bg-gradient h1 {
        font-size: 60px !important;
    }
}

header.bg-gradient .tagline {
    text-align: left !important;
    margin-left: 0 !important;
    color: var(--text-main) !important;
    font-size: 20px !important;
    line-height: 1.5 !important;
    max-width: 550px !important;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 400;
    opacity: 0.8 !important;
}

.accent-text {
    color: var(--primary) !important;
}

/* Premium Buttons */
.btn {
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: none !important;
}

.btn:hover, .btn:focus, .btn:active {
    box-shadow: none !important;
}

.btn-pill {
    border-radius: 50px !important;
}

.btn-primary {
    background: var(--dark) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

.btn-primary:hover {
    background: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Feature Cards */
.card.features {
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 32px;
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.card.features:hover {
    border-color: var(--primary-light) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02) !important;
    transform: translateY(-4px) !important;
}

.card.features::before {
    display: none !important;
}

.box-icon {
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}


.card.features .card-title {
    font-size: 24px !important;
    font-weight: 500 !important;
    margin-bottom: 0.75rem;
    color: var(--dark) !important;
    letter-spacing: -0.02em;
}

.card.features .card-text {
    font-size: 16px !important;
    line-height: 1.5;
    color: var(--text-main);
}

.gradient-fill {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Language Toggle */
.btn-lang-template {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: var(--gray);
    padding: 6px 18px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-lang-template:hover {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

/* Section Titles */
.section-title {
    margin-bottom: 80px;
}

.section-title small {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #a1a1aa;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title small::before, .section-title small::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 1px;
    background: #e2e8f0;
    margin: 0 15px;
}

.section-title h3 {
    font-size: 2.8rem;
    line-height: 1.2;
}

/* Icon Container Overrides */
.box-icon, .circle-icon, .ui-steps .circle-icon {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.ui-steps .circle-icon {
    color: var(--primary);
    width: auto !important;
    height: auto !important;
    margin-right: 20px !important;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Stats Section */
.stats-box {
    text-align: center;
    padding: 60px 20px;
    border-right: 1px solid #f1f5f9;
}

.stats-box:last-child {
    border-right: none;
}

.stats-number {
    font-size: 4rem;
    font-weight: 800;
    color: #0062ff;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.stats-label {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    color: #64748b;
    letter-spacing: 2px;
}

/* Footer Improvements */
footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 60px;
}

/* Modern Tables */
.table-responsive {
    border: 1px solid #f1f5f9;
    border-radius: 32px !important;
}

.table thead th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: none;
}

.table td {
    border-top: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 1.1rem;
    color: #1e293b;
}

/* Accordion Improvements */
.accordion .card {
    border: 1px solid #f1f5f9 !important;
    border-radius: 20px !important;
    margin-bottom: 15px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.accordion .card-header {
    padding: 10px;
    background: transparent !important;
}

.accordion .btn-link {
    text-decoration: none !important;
    font-size: 1.15rem;
    color: #1e293b !important;
    text-align: left;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion .card-body {
    padding: 0 30px 30px;
    line-height: 1.7;
    color: #64748b;
}

footer a {
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary);
    text-decoration: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    header.bg-gradient h1 {
        font-size: 2.8rem;
    }
    
    .nav-menu {
        background: white !important;
    }
}

/* Support Form Refinement */
#supportForm .form-control {
    border: 1px solid var(--secondary) !important;
    font-family: 'Inter Tight', sans-serif;
    font-size: 16px;
    color: var(--dark);
    transition: all 0.3s ease;
}

#supportForm .form-control:focus {
    border-color: var(--primary) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(70, 134, 254, 0.1) !important;
}
