/* ===== VARIABLES ===== */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --purple: #7c3aed;
  --green: #059669;
  --orange: #ea580c;
  --red: #dc2626;
  --cyan: #0891b2;
  --dark: #0f172a;
  --dark2: #1e293b;
  --gray: #64748b;
  --light: #f1f5f9;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-size: 1.5rem; font-weight: 900; color: var(--dark); letter-spacing: -1px; }
.logo span { color: var(--blue); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.93rem; font-weight: 500; color: var(--gray); transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }
.btn-nav {
  background: var(--blue); color: var(--white) !important;
  padding: 0.5rem 1.25rem; border-radius: 8px;
  font-weight: 600 !important; transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--blue-dark) !important; }
.lang-switch {
  font-size: 0.85rem; font-weight: 700 !important; color: var(--gray) !important;
  border: 1.5px solid #e2e8f0; padding: 0.35rem 0.85rem; border-radius: 8px;
  transition: border-color 0.2s, color 0.2s !important;
}
.lang-switch:hover { border-color: var(--blue); color: var(--blue) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: 0.3s; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block; background: var(--blue); color: var(--white);
  padding: 0.8rem 2rem; border-radius: 10px; font-weight: 600;
  transition: background 0.2s, transform 0.15s; border: none; cursor: pointer; font-size: 1rem;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-primary.full { width: 100%; text-align: center; }
.btn-outline {
  display: inline-block; border: 2px solid rgba(255,255,255,0.6); color: var(--white);
  padding: 0.8rem 2rem; border-radius: 10px; font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: white; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; background: var(--gradient);
  display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 70px;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.18; z-index: 0;
  pointer-events: none;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.3) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 2; max-width: 600px; padding: 5rem 0; }
.hero-visual { z-index: 2; }
.badge {
  display: inline-block; background: rgba(37,99,235,0.25); color: #93c5fd;
  padding: 0.35rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  border: 1px solid rgba(37,99,235,0.4); margin-bottom: 1.5rem; letter-spacing: 0.5px;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900;
  color: var(--white); line-height: 1.15; margin-bottom: 1.25rem;
  letter-spacing: -1.5px;
}
.hero-content h1 span { color: #60a5fa; }
.hero-content p { color: #94a3b8; font-size: 1.1rem; margin-bottom: 2rem; max-width: 480px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat strong { display: block; font-size: 1.8rem; font-weight: 900; color: var(--white); }
.stat span { font-size: 0.85rem; color: #94a3b8; }
.hero-visual {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center; z-index: 1;
}
.glow-circle {
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
  position: absolute;
}
.hero-icon { font-size: 9rem; color: rgba(255,255,255,0.06); position: relative; z-index: 2; }

/* ===== SECTIONS ===== */
.section { padding: 6rem 0; }
.bg-dark { background: var(--dark2); }
.bg-gradient { background: var(--gradient); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header.light h2, .section-header.light p { color: var(--white); }
.section-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.75rem;
}
.section-header.light .section-tag { color: #60a5fa; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -1px; }
.section-header p { color: var(--gray); max-width: 540px; margin: 0 auto; }

/* ===== CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white); border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 2rem; transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.25rem;
}
.card-icon.blue { background: #dbeafe; color: var(--blue); }
.card-icon.purple { background: #ede9fe; color: var(--purple); }
.card-icon.green { background: #d1fae5; color: var(--green); }
.card-icon.orange { background: #ffedd5; color: var(--orange); }
.card-icon.red { background: #fee2e2; color: var(--red); }
.card-icon.cyan { background: #cffafe; color: var(--cyan); }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.card p { color: var(--gray); font-size: 0.93rem; margin-bottom: 1.25rem; }
.card-link { color: var(--blue); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 0.4rem; }
.card-link:hover { gap: 0.7rem; }
.card-link i { transition: transform 0.2s; }
.card-link:hover i { transform: translateX(4px); }

/* ===== LAPTOP CAROUSEL ===== */
.card-laptops { padding-top: 0; overflow: hidden; }
.laptop-carousel {
  position: relative; margin: 0 -2rem 1.5rem;
  height: 200px; overflow: hidden; background: #000;
}
.carousel-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; padding: 0;
  opacity: 0; transition: opacity 0.8s ease-in-out;
}
.carousel-slide.active { opacity: 1; }
.carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(0,0,0,0.2); transition: background 0.3s;
}
.dot.active { background: var(--blue); }

/* ===== PRODUCTS ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.product-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; overflow: hidden; transition: transform 0.25s, border-color 0.25s;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,0.5); }
.product-img {
  background: #111827; display: flex; align-items: center;
  justify-content: center; height: 180px; overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-info { padding: 1.25rem; }
.product-info h4 { color: var(--white); font-weight: 700; margin-bottom: 0.35rem; }
.product-info p { color: #94a3b8; font-size: 0.88rem; margin-bottom: 0.75rem; }
.product-badge {
  display: inline-block; background: rgba(37,99,235,0.3); color: #93c5fd;
  font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.7rem; border-radius: 50px;
  border: 1px solid rgba(37,99,235,0.4);
}
.product-badge.new { background: rgba(5,150,105,0.3); color: #6ee7b7; border-color: rgba(5,150,105,0.4); }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.about-bg-box {
  width: 300px; height: 300px; background: linear-gradient(135deg, #dbeafe, #ede9fe);
  border-radius: 30px; position: absolute; left: 0;
}
.about-icon-big { position: relative; z-index: 2; font-size: 8rem; color: var(--blue); }
.about-card-float {
  position: absolute; top: 10px; right: -10px; z-index: 3;
  background: var(--white); border-radius: 14px; padding: 1rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12); display: flex; align-items: center; gap: 0.75rem;
}
.about-card-float i { color: #f59e0b; font-size: 1.5rem; }
.about-card-float strong { display: block; font-size: 1rem; font-weight: 800; }
.about-card-float span { font-size: 0.8rem; color: var(--gray); }
.about-text .section-tag { text-align: left; }
.about-text h2 { text-align: left; margin-bottom: 1rem; }
.about-text > p { color: var(--gray); margin-bottom: 1.5rem; }
.about-list { margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.about-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; font-weight: 500; }
.about-list i { color: var(--green); background: #d1fae5; padding: 4px; border-radius: 50%; font-size: 0.75rem; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item i { font-size: 1.2rem; color: #60a5fa; margin-top: 2px; width: 20px; }
.contact-item strong { display: block; color: var(--white); font-size: 0.9rem; }
.contact-item span { color: #94a3b8; font-size: 0.9rem; }
.social-links { display: flex; gap: 1rem; margin-top: 0.5rem; }
.social-links a {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  transition: background 0.2s; font-size: 1.1rem;
}
.social-links a:hover { background: var(--blue); }
.contact-form {
  background: var(--white); border-radius: 20px; padding: 2.5rem; box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--dark2); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid #e2e8f0;
  border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 0.95rem;
  transition: border-color 0.2s; outline: none; color: var(--dark);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; }
.form-msg { margin-top: 1rem; font-size: 0.9rem; font-weight: 600; text-align: center; }
.form-msg.success { color: var(--green); }
.form-msg.error { color: var(--red); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); padding: 4rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand .logo { font-size: 1.4rem; color: var(--blue); }
.footer-brand p { color: #64748b; margin-top: 0.75rem; font-size: 0.9rem; }
.footer-links h5 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: #64748b; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: #60a5fa; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding: 1.5rem 0;
  text-align: center; color: #475569; font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 1.5rem; border-bottom: 1px solid #e2e8f0; gap: 1rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-btns { flex-direction: column; }
  .hero-stats { gap: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}
