/* =========================================
   biotti.cloud - Components Stylesheet
   Reusable UI components
   ========================================= */

/* =========================================
   Navigation
   ========================================= */
.navbar {
    background: rgba(10, 15, 10, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(16, 185, 129, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 15, 10, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    font-size: var(--text-2xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-fast);
}

.logo:hover {
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--accent-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    font-size: var(--text-base);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-green-light);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-red));
    transition: width var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* =========================================
   Language Toggle
   ========================================= */
.lang-toggle {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
    flex-shrink: 0;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.lang-toggle-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    padding: 0.375rem 0.75rem;
    transition: all var(--transition-base);
    position: relative;
}

.lang-toggle-btn:hover {
    color: var(--text-white);
    background: var(--background-elevated);
}

.lang-toggle-btn.active {
    color: white;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-red) 100%);
    box-shadow: 0 2px 8px -2px rgba(16, 185, 129, 0.5);
}

.lang-toggle-sep {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-light);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #0A1F0A 0%, #1A2F1A 50%, #0F1F0F 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: var(--text-5xl);
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--text-white) 0%, var(--primary-green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================
   Service Cards
   ========================================= */
.services-preview {
    padding: var(--spacing-2xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: var(--background-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-green), var(--accent-red));
    transition: height var(--transition-base);
}

.service-card:hover {
    box-shadow: 0 12px 24px -8px rgba(16, 185, 129, 0.5);
    transform: translateY(-6px);
    border-color: var(--primary-green);
    background: var(--background-elevated);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    display: block;
    filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.4));
}

.service-card h3 {
    font-size: var(--text-xl);
    color: var(--text-white);
    margin-bottom: var(--spacing-xs);
}

.service-card p {
    color: var(--text-medium);
    font-size: var(--text-base);
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   Stats / Results Section
   ========================================= */
.results {
    padding: var(--spacing-2xl) 0;
    background: var(--background-dark);
    position: relative;
}

.results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.stat {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-number {
    font-size: var(--text-5xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--accent-red-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.stat-label {
    font-size: var(--text-lg);
    color: var(--text-medium);
    font-weight: 500;
}

/* =========================================
   CTA Box
   ========================================= */
.cta-box {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-red) 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    margin-top: var(--spacing-xl);
    box-shadow: 0 20px 40px -12px rgba(16, 185, 129, 0.6);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h3 {
    color: white;
    font-size: var(--text-3xl);
    margin-bottom: var(--spacing-sm);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-md);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-box .btn-primary {
    background: white;
    color: var(--primary-green-dark);
}

.cta-box .btn-primary:hover {
    background: var(--text-light);
    color: var(--accent-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.3);
}

.cta-box .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.cta-box .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* =========================================
   Process / How I Work
   ========================================= */
.process {
    padding: var(--spacing-2xl) 0;
}

.process-steps {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.process-step {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--background-card);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-green);
    transition: all var(--transition-base);
}

.process-step:hover {
    box-shadow: 0 8px 16px -4px rgba(16, 185, 129, 0.4);
    transform: translateX(8px);
    background: var(--background-elevated);
}

.process-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-red) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: 700;
    box-shadow: 0 4px 12px -2px rgba(16, 185, 129, 0.6);
}

.process-content h3 {
    color: var(--text-white);
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-xs);
}

.process-content p {
    color: var(--text-medium);
    margin: 0;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: var(--background-card);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-2xl);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h3 {
    color: var(--text-white);
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-sm);
}

.footer-col h4 {
    color: var(--text-white);
    font-size: var(--text-base);
    margin-bottom: var(--spacing-sm);
}

.footer-col p {
    color: var(--text-medium);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-col a {
    color: var(--text-medium);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--primary-green-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin: 0;
}

/* =========================================
   Testimonial Section
   ========================================= */
.testimonials {
    padding: var(--spacing-2xl) 0;
    background: var(--background-light);
}

.testimonial-card {
    background: var(--background);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-quote {
    font-size: var(--text-lg);
    color: var(--text-medium);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.testimonial-author-info h4 {
    color: var(--text-dark);
    font-size: var(--text-base);
    margin-bottom: 0.25rem;
}

.testimonial-author-info p {
    color: var(--text-light);
    font-size: var(--text-sm);
    margin: 0;
}

/* =========================================
   Feature List
   ========================================= */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: var(--spacing-sm) 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-medium);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-green);
    font-weight: 700;
    font-size: var(--text-lg);
}

/* =========================================
   Badge
   ========================================= */
.badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
}

.badge-blue {
    background: linear-gradient(135deg, #DBEAFE 0%, #BAE6FD 100%);
    color: var(--primary-blue-dark);
}

.badge-green {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: var(--secondary-green-dark);
}

.badge-orange {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: var(--accent-orange-dark);
}
