/* BlmSoft - Main Stylesheet */
/* Colors: Blue #0ea5e9, Green #10b981, Black #0f172a */

:root {
    --blue: #0ea5e9;
    --blue-dark: #0284c7;
    --blue-light: #38bdf8;
    --green: #10b981;
    --green-dark: #059669;
    --green-light: #34d399;
    --black: #0f172a;
    --dark: #1e293b;
    --dark2: #334155;
    --gray: #64748b;
    --light: #f1f5f9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    --gradient-dark: linear-gradient(135deg, #0284c7 0%, #059669 100%);
    --shadow: 0 4px 20px rgba(14, 165, 233, 0.15);
    --shadow-lg: 0 10px 40px rgba(14, 165, 233, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ===== SELECTION ===== */
::selection { background: var(--blue); color: white; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a { color: var(--blue); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--green); }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.text-blue { color: var(--blue); }
.text-green { color: var(--green); }
.text-gray { color: var(--gray); }
.text-white { color: var(--white); }

.bg-dark { background: var(--dark); }
.bg-dark2 { background: var(--dark2); }

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid;
}

.badge-blue { background: rgba(14,165,233,0.1); color: var(--blue); border-color: rgba(14,165,233,0.3); }
.badge-green { background: rgba(16,185,129,0.1); color: var(--green); border-color: rgba(16,185,129,0.3); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.1);
    transition: left 0.4s ease;
}
.btn:hover::before { left: 0; }

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(14,165,233,0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(14,165,233,0.5);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-3px);
}

.btn-green {
    background: var(--green);
    color: white;
    box-shadow: 0 4px 20px rgba(16,185,129,0.4);
}
.btn-green:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
    color: white;
}

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(14,165,233,0.2);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo .logo-icon {
    width: 42px; height: 42px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 15px rgba(14,165,233,0.4);
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo .logo-sub {
    font-size: 0.65rem;
    color: var(--gray);
    display: block;
    margin-top: -2px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.nav-menu a {
    padding: 8px 16px;
    border-radius: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: white;
    background: rgba(14,165,233,0.1);
}
.nav-menu a:hover::after { width: 60%; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 25px; height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(14,165,233,0.15) 0%, transparent 60%),
                radial-gradient(ellipse 60% 60% at 80% 80%, rgba(16,185,129,0.1) 0%, transparent 50%),
                var(--black);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(14,165,233,0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(14,165,233,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    opacity: 0.5;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(60px); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float linear infinite;
    opacity: 0.3;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left .badge { margin-bottom: 24px; }

.hero-left h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-left p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat .num {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .label { font-size: 0.82rem; color: var(--gray); margin-top: 4px; }

/* Hero Visual */
.hero-visual { position: relative; }

.hero-card {
    background: rgba(30,41,59,0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(14,165,233,0.2);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(0.5deg); }
    66% { transform: translateY(-8px) rotate(-0.5deg); }
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-card-header .dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.code-block {
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 2;
}

.code-block .kw { color: var(--blue); }
.code-block .fn { color: var(--green); }
.code-block .str { color: #f59e0b; }
.code-block .cm { color: #475569; }

.floating-badge {
    position: absolute;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(30,41,59,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(14,165,233,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow);
}

.fb-1 { top: -20px; right: -20px; animation: fbFloat1 4s ease-in-out infinite; }
.fb-2 { bottom: -20px; left: -20px; animation: fbFloat2 5s ease-in-out infinite; }
.fb-3 { bottom: 40%; right: -40px; animation: fbFloat1 6s ease-in-out infinite; }

@keyframes fbFloat1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes fbFloat2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ===== SERVICES ===== */
#services { background: var(--dark); position: relative; overflow: hidden; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--black);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
    border-color: rgba(14,165,233,0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: rgba(14,165,233,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--blue);
    margin-bottom: 20px;
    transition: all 0.4s;
}

.service-card:hover .service-icon {
    background: var(--gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--white);
}

.service-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sf-tag {
    font-size: 0.72rem;
    padding: 4px 10px;
    background: rgba(16,185,129,0.1);
    color: var(--green);
    border-radius: 50px;
    border: 1px solid rgba(16,185,129,0.2);
}

/* ===== PRODUCTS ===== */
#products { position: relative; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s;
    group: true;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(14,165,233,0.2);
    border-color: rgba(14,165,233,0.3);
}

.product-img {
    height: 200px;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.product-img .product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay { opacity: 1; }

.product-body { padding: 24px; }

.product-cat {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 8px;
}

.product-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.product-body p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; }

/* ===== ABOUT ===== */
#about { background: var(--dark); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual { position: relative; }

.about-main-card {
    background: var(--black);
    border: 1px solid rgba(14,165,233,0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    background: var(--dark);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
}

.stat-box .num {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-box .label { font-size: 0.78rem; color: var(--gray); }

.about-float {
    position: absolute;
    right: -30px; bottom: -30px;
    background: var(--gradient);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-lg);
}

.about-float .value { font-size: 1.8rem; font-weight: 800; color: white; }
.about-float .label { font-size: 0.75rem; color: rgba(255,255,255,0.8); }

.about-content .badge { margin-bottom: 20px; }
.about-content h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 20px; }
.about-content p { color: var(--gray); line-height: 1.8; margin-bottom: 20px; }

.about-features { margin: 30px 0; }

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.af-icon {
    width: 44px; height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: rgba(14,165,233,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 1rem;
}

.af-text h4 { font-size: 0.95rem; margin-bottom: 4px; }
.af-text p { font-size: 0.85rem; color: var(--gray); }

/* ===== TEAM ===== */
#team { position: relative; overflow: hidden; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 28px;
}

.team-card {
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    transition: all 0.4s;
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14,165,233,0.3);
}

.team-img-wrap {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.team-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.team-card:hover .team-img-wrap img { transform: scale(1.1); }

.team-img-placeholder {
    width: 100%; height: 100%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.3);
}

.team-social {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    transform: translateY(60px);
    transition: transform 0.4s;
}

.team-card:hover .team-social { transform: translateY(0); }

.team-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.team-social a:hover { background: var(--blue); color: white; transform: scale(1.2); }

.team-body { padding: 20px; }
.team-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-body .role { color: var(--blue); font-size: 0.82rem; font-weight: 600; }

/* ===== TESTIMONIALS ===== */
#testimonials { background: var(--dark); overflow: hidden; }

.testi-track-wrap { overflow: hidden; }

.testi-track {
    display: flex;
    gap: 24px;
    animation: testimonialsScroll 30s linear infinite;
}

.testi-track:hover { animation-play-state: paused; }

@keyframes testimonialsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testi-card {
    min-width: 340px;
    background: var(--black);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s;
}

.testi-card:hover { border-color: rgba(14,165,233,0.3); }

.testi-stars { color: #f59e0b; margin-bottom: 16px; font-size: 0.9rem; }
.testi-text { color: var(--gray); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-text::before { content: '"'; font-size: 2rem; color: var(--blue); line-height: 0; vertical-align: -12px; }

.testi-author { display: flex; align-items: center; gap: 12px; }

.testi-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    overflow: hidden;
    flex-shrink: 0;
}

.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-size: 0.9rem; font-weight: 600; }
.testi-meta { font-size: 0.75rem; color: var(--gray); }

/* ===== BLOG ===== */
#blog-section { position: relative; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14,165,233,0.3);
}

.blog-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
}

.blog-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.blog-card:hover .blog-img img { transform: scale(1.1); }

.blog-cat-tag {
    position: absolute;
    top: 16px; left: 16px;
    padding: 4px 12px;
    background: var(--blue);
    color: white;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-body { padding: 24px; }
.blog-meta { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; color: var(--gray); margin-bottom: 12px; }
.blog-body h3 { font-size: 1.1rem; margin-bottom: 12px; color: white; line-height: 1.4; transition: color 0.3s; }
.blog-body h3:hover { color: var(--blue); }
.blog-body p { color: var(--gray); font-size: 0.85rem; line-height: 1.7; margin-bottom: 16px; }
.read-more { color: var(--blue); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.read-more:hover { gap: 12px; color: var(--green); }

/* ===== CONTACT ===== */
#contact { background: var(--dark); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 { font-size: 2rem; margin-bottom: 16px; }
.contact-info p { color: var(--gray); line-height: 1.8; margin-bottom: 32px; }

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ci-icon {
    width: 44px; height: 44px;
    background: rgba(14,165,233,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
}

.ci-text { font-size: 0.85rem; }
.ci-text strong { display: block; font-size: 0.72rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }

.contact-form {
    background: var(--black);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: white;
    font-size: 0.92rem;
    transition: all 0.3s;
    font-family: inherit;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark); }

/* ===== FOOTER ===== */
footer {
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-brand p { color: var(--gray); font-size: 0.88rem; line-height: 1.8; margin: 16px 0 24px; max-width: 320px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px; height: 40px;
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 0.9rem;
    transition: all 0.3s;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: white; transform: translateY(-3px); }

.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: white; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--gray); font-size: 0.88rem; transition: all 0.3s; display: flex; align-items: center; gap: 6px; }
.footer-col ul li a::before { content: '→'; color: var(--blue); font-size: 0.7rem; opacity: 0; transition: all 0.3s; }
.footer-col ul li a:hover { color: white; padding-left: 8px; }
.footer-col ul li a:hover::before { opacity: 1; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--gray);
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
    position: fixed;
    bottom: 30px; right: 30px;
    z-index: 999;
    width: 56px; height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    transition: all 0.3s;
    animation: waFloat 3s ease-in-out infinite;
}

.wa-float:hover {
    transform: scale(1.15);
    color: white;
    box-shadow: 0 8px 30px rgba(37,211,102,0.6);
    animation: none;
}

@keyframes waFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.wa-float::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(37,211,102,0.4);
    animation: waPing 2s ease-in-out infinite;
}

@keyframes waPing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ===== SCROLL TO TOP ===== */
#scrollTop {
    position: fixed;
    bottom: 100px; right: 30px;
    width: 44px; height: 44px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 998;
    border: none;
    font-size: 1rem;
}

#scrollTop.visible { opacity: 1; transform: translateY(0); }
#scrollTop:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.7s ease; }
.reveal-left.revealed, .reveal-right.revealed { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hide { opacity: 0; visibility: hidden; }

.loader-logo {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-bar {
    width: 200px; height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 3px;
    animation: loaderFill 1.5s ease forwards;
}

@keyframes loaderFill {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ===== COUNTER ===== */
.counter-section { background: var(--dark); padding: 80px 0; }

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.counter-item { padding: 30px 20px; }

.counter-num {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.counter-label { color: var(--gray); font-size: 0.88rem; margin-top: 8px; }

/* ===== SECTION DIVIDER ===== */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14,165,233,0.3), rgba(16,185,129,0.3), transparent);
}

/* ===== ALERT / FLASH ===== */
.alert {
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: var(--green); }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #ef4444; }
.alert-info { background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.3); color: var(--blue); }

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 50px; }
    .hero-visual { max-width: 500px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .nav-menu, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .hero-stats { gap: 20px; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .counters-grid { grid-template-columns: 1fr 1fr; }
}
