/* 
  Gateway Solutions - Main Stylesheet
  This file contains all the styles for our website. 
  It uses standard CSS which is great for beginners to learn!
*/

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

/* --- CSS Variables (Custom Properties) --- */
/* These make it easy to change colors across the whole site */
:root {
  --primary-color: #0078FF; /* Bright Blue */
  --primary-hover: #083960; /* Dark Blue */
  --secondary-color: #2F3542; /* Darker Blue/Grey */
  --accent-color: #FFBF00; /* Orange Gradient Start */
  --accent-hover: #FF7300; /* Orange Gradient End */
  --cyan-color: #00E5FF; /* Cyan */
  --text-main: #2F3542;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
  
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Urbanist', sans-serif;
}

/* --- Basic Reset --- */
/* Removes default browser margins and paddings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .logo {
  font-family: var(--font-heading);
  font-weight: 700;
}

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

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Layout Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 50px;
  font-size: 1.1rem;
}

/* --- Navigation Bar --- */
.navbar {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 45px;
  width: auto;
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
}

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

.nav-links .store-link {
  background-color: var(--primary-color);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
}

.nav-links .store-link:hover {
  background-color: var(--primary-hover);
  color: white;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary-color);
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, rgba(47, 53, 66, 0.9) 0%, rgba(8, 57, 96, 0.9) 100%), url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
  color: white;
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* --- Cards Grid --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* --- Store Cards --- */
.product-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-image {
  width: 100%;
  height: 200px;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 3rem;
}

.product-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 15px 0;
  margin-top: auto;
}

/* --- Contact Form --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  padding: 30px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 12px;
}

.contact-info h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* --- Footer --- */
.footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 60px 0 20px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #cbd5e1;
}

.footer-col a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #334155;
  color: #94a3b8;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* --- JUMIA STORE THEME --- */
.jumia-store {
  background-color: #f5f5f5;
  color: #313133;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.jumia-top-banner {
  background-color: #f68b1e; /* Jumia Orange */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><rect width="100%" height="100%" fill="%23f68b1e"/><path d="M0 0h100v100H0z" fill="rgba(0,0,0,0.05)"/></svg>');
  color: white;
  font-size: 12px;
  padding: 5px 0;
}

.jumia-top-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.jumia-top-banner a {
  color: white;
  text-decoration: none;
}

.jumia-top-banner a:hover {
  text-decoration: underline;
}

.jumia-top-links {
  display: flex;
  gap: 15px;
}

.jumia-header {
  background-color: white;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.jumia-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.jumia-logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 900;
  color: #333;
  letter-spacing: -1px;
}

.jumia-star {
  color: #f68b1e;
  font-size: 28px;
  margin-right: 5px;
}

.jumia-search {
  flex-grow: 1;
  display: flex;
  align-items: center;
  border: 1px solid #c7c7cd;
  border-radius: 4px;
  overflow: hidden;
  max-width: 600px;
}

.jumia-search-icon {
  padding: 0 10px;
  color: #75757a;
}

.jumia-search input {
  flex-grow: 1;
  padding: 12px 10px;
  border: none;
  outline: none;
  font-size: 15px;
}

.jumia-search button {
  background-color: #f68b1e;
  color: white;
  border: none;
  padding: 0 25px;
  height: 100%;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(246,139,30,0.2);
}

.jumia-search button:hover {
  background-color: #e07b19;
}

.jumia-header-actions {
  display: flex;
  gap: 20px;
}

.jumia-action-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  cursor: pointer;
  font-size: 15px;
}

.jumia-action-item:hover {
  color: #f68b1e;
}

.jumia-layout {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.jumia-sidebar {
  width: 206px;
  background: white;
  border-radius: 4px;
  padding: 10px 0;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.jumia-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  color: #313133;
  font-size: 13px;
}

.jumia-sidebar a:hover {
  color: #f68b1e;
  background-color: #f5f5f5;
}

.jumia-hero {
  flex-grow: 1;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(67, 67, 67, 0.7) 100%), url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?q=80&w=2034&auto=format&fit=crop') no-repeat center center/cover;
  border-radius: 4px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 384px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.jumia-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle, rgba(246,139,30,0.2) 0%, rgba(0,0,0,0) 70%);
}

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

.jumia-hero h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: #f68b1e;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.jumia-hero p {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.jumia-hero-btn {
  background: #f68b1e;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}

.jumia-right-promo {
  width: 206px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-shrink: 0;
}

.jumia-promo-box {
  background: white;
  border-radius: 4px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  flex: 1;
}

.jumia-promo-box .promo-icon {
  font-size: 24px;
  color: #f68b1e;
}

.jumia-promo-box h4 {
  font-size: 13px;
  margin-bottom: 5px;
}

.jumia-promo-box p {
  font-size: 11px;
  color: #75757a;
}

.jumia-section {
  background: white;
  border-radius: 4px;
  margin-top: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  margin-bottom: 15px;
}

.jumia-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #f5f5f5;
}

.jumia-section-header h3 {
  font-size: 20px;
  font-weight: 500;
}

.jumia-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2px;
  background: #f5f5f5;
  padding: 2px;
}

.jumia-card {
  background: white;
  padding: 10px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.jumia-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 2;
}

.jumia-card-img {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  margin-bottom: 10px;
  border-radius: 4px;
}

.jumia-card-title {
  font-size: 14px;
  color: #313133;
  font-weight: 400;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
}

.jumia-card-price {
  font-size: 16px;
  font-weight: 600;
  color: #313133;
}

.jumia-card-old-price {
  font-size: 12px;
  color: #75757a;
  text-decoration: line-through;
  margin-bottom: 5px;
}

.jumia-discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #feefde;
  color: #f68b1e;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 2px;
  font-weight: bold;
  z-index: 1;
}

.jumia-add-btn {
  width: 100%;
  background: #f68b1e;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 4px;
  margin-top: auto;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  box-shadow: 0 4px 8px rgba(246,139,30,0.2);
}

.jumia-card:hover .jumia-add-btn {
  opacity: 1;
  visibility: visible;
}

.jumia-add-btn:hover {
  background: #e07b19;
}

.jumia-footer {
  background-color: #313133;
  color: white;
  padding: 40px 0;
  margin-top: 40px;
}

.jumia-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.jumia-footer-grid h4 {
  font-size: 12px;
  margin-bottom: 15px;
  color: white;
}

.jumia-footer-grid ul li {
  margin-bottom: 10px;
}

.jumia-footer-grid a {
  color: #c7c7cd;
  font-size: 12px;
}

.jumia-footer-grid a:hover {
  color: white;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .jumia-right-promo {
    display: none;
  }
}

@media (max-width: 768px) {
  .jumia-sidebar {
    display: none;
  }
  .jumia-header-content {
    flex-wrap: wrap;
  }
  .jumia-search {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
  }
  .jumia-hero {
    height: 200px;
  }
  .jumia-hero h2 {
    font-size: 2rem;
  }
  .jumia-hero p {
    font-size: 1rem;
  }
  .jumia-card .jumia-add-btn {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
  }
}

/* --- PREMIUM IT HOMEPAGE UPGRADE --- */
.home-page {
    font-family: 'Inter', sans-serif;
    background-color: #030712; /* Very dark blue/black */
    color: #f9fafb;
}

/* Glass Navbar for Home */
.home-page .navbar {
    background-color: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
}
.home-page .logo { color: #fff; }
.home-page .nav-links a { color: #d1d5db; }
.home-page .nav-links a:hover, .home-page .nav-links a.active { color: var(--cyan-color); text-shadow: 0 0 10px rgba(0, 229, 255, 0.5); }
.home-page .mobile-menu-btn { color: #fff; }

/* Tech Hero */
.tech-hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(3, 7, 18, 0.8), rgba(3, 7, 18, 0.95)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') no-repeat center center/cover;
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 120, 255, 0.15) 0%, rgba(3, 7, 18, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

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

.tech-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 100px;
    color: var(--cyan-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(to right, var(--cyan-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -10px rgba(0, 120, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px rgba(79, 70, 229, 0.7);
}

.btn-premium .arrow {
    transition: transform 0.3s ease;
}

.btn-premium:hover .arrow {
    transform: translateX(4px);
}

.btn-premium-outline {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-premium-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Hero Visual / Glass Panel */
.tech-hero-visual {
    position: relative;
    perspective: 1000px;
}

.glass-panel {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-panel:hover {
    transform: rotateY(0) rotateX(0);
}

.mac-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    padding-left: 8px;
}

.mac-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.mac-buttons span:nth-child(1) { background: #ef4444; }
.mac-buttons span:nth-child(2) { background: #f59e0b; }
.mac-buttons span:nth-child(3) { background: #10b981; }

.dashboard-img {
    width: 100%;
    border-radius: 8px;
    opacity: 0.9;
}

.floating-card {
    position: absolute;
    background: rgba(31, 41, 55, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

.floating-card strong { display: block; color: #fff; font-size: 0.9rem; }
.floating-card span { color: #9ca3af; font-size: 0.8rem; }
.floating-card .icon { font-size: 1.5rem; background: rgba(255,255,255,0.05); padding: 10px; border-radius: 8px; }

.card-1 { top: 10%; right: -10%; animation-delay: 0s; }
.card-2 { bottom: 10%; left: -10%; animation-delay: 3s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Marquee */
.trusted-section {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    overflow: hidden;
}

.trusted-section p {
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    color: #4b5563;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.marquee-content span {
    margin: 0 40px;
    transition: color 0.3s;
}
.marquee-content span:hover { color: #fff; }

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

/* Bento Grid */
.bento-section {
    padding: 120px 0;
    background: #030712;
    background-image: radial-gradient(rgba(0, 120, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.bento-section .section-title { color: #fff; }
.bento-section .section-subtitle { color: #9ca3af; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 24px;
}

.bento-box {
    background: rgba(31, 41, 55, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.bento-box:hover {
    background: rgba(31, 41, 55, 0.8);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-5px);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.05);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-box h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.bento-large h3 { font-size: 2.5rem; }

.bento-box p {
    color: #9ca3af;
    line-height: 1.6;
    flex-grow: 1;
}

.bento-large p { font-size: 1.1rem; max-width: 80%; }

.bento-link {
    color: var(--cyan-color);
    font-weight: 600;
    margin-top: auto;
    display: inline-block;
}

.bento-bg-img {
    position: absolute;
    right: -10%;
    bottom: -10%;
    width: 60%;
    height: auto;
    opacity: 0.4;
    border-radius: 16px;
    transform: rotate(-5deg);
    transition: all 0.5s ease;
    filter: grayscale(100%) contrast(1.2);
}

.bento-box:hover .bento-bg-img {
    opacity: 0.8;
    transform: rotate(0) scale(1.05);
    filter: grayscale(0%);
}

.circle-pulse {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.2);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translateY(-50%) scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
    70% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 20px rgba(56, 189, 248, 0); }
    100% { transform: translateY(-50%) scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #030712, #111827);
}

.cta-container {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(79, 70, 229, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    z-index: 0;
}

.cta-container h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-container p {
    color: #d1d5db;
    font-size: 1.25rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive adjustments for new home */
@media (max-width: 1024px) {
    .tech-hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 40px; }
    .hero-cta-group { justify-content: center; }
    .hero-stats { justify-content: center; }
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .bento-large { grid-column: span 2; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-large, .bento-wide { grid-column: span 1; }
    .bento-box { min-height: 300px; }
    .cta-container h2 { font-size: 2rem; }
    .cta-buttons { flex-direction: column; }
    .floating-card { display: none; } /* Hide floating cards on mobile to save space */
}

/* --- TOOLTIP STYLES --- */
.has-tooltip {
    position: relative;
    cursor: pointer;
}

.has-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgba(17, 24, 39, 0.95);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1000;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.has-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}

/* Specific adjustment for nav links so tooltip doesn't overlap awkwardly */
.nav-links .has-tooltip::after {
    bottom: -35px; /* Show below the nav link */
    transform: translateX(-50%) translateY(-10px);
}
.nav-links .has-tooltip:hover::after {
    transform: translateX(-50%) translateY(0);
}

.premium-page {
    font-family: 'Inter', sans-serif;
    background-color: #030712;
    color: #f9fafb;
    overflow-x: hidden;
}

.premium-page .navbar {
    background-color: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.premium-page .logo { color: #fff; }
.premium-page .nav-links a { color: #d1d5db; }
.premium-page .nav-links a:hover, .premium-page .nav-links a.active { color: var(--cyan-color); text-shadow: 0 0 10px rgba(0, 229, 255, 0.5); }
.premium-page .mobile-menu-btn { color: #fff; }

.services-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    background: linear-gradient(rgba(3, 7, 18, 0.7), rgba(3, 7, 18, 0.95)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
}

.gradient-text-purple {
    background: linear-gradient(to right, var(--accent-color), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-grid-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    opacity: 0.3;
}

.services-main {
    position: relative;
    z-index: 2;
    padding: 60px 0 120px;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 140px;
}

.service-row.reverse {
    direction: rtl;
}

.service-row.reverse > * {
    direction: ltr;
}

.service-icon-wrap {
    font-size: 3rem;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.05);
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.service-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.service-desc {
    font-size: 1.125rem;
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 30px;
}

.outcomes-box {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
}

.outcomes-box h4 {
    color: #e5e7eb;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.terminal-prompt {
    color: #10b981;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
}

.outcome-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.outcome-list li {
    color: #d1d5db;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
}

.outcome-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--cyan-color);
    font-family: 'JetBrains Mono', monospace;
}

.outcome-list li:last-child {
    margin-bottom: 0;
}

/* Visuals */
.service-visual {
    position: relative;
    perspective: 1000px;
}

.glow-backdrop {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

.blue-glow { background: #3b82f6; }
.purple-glow { background: #8b5cf6; }
.cyan-glow { background: #06b6d4; }
.green-glow { background: #10b981; }

/* Terminal Window */
.terminal-window {
    background: var(--secondary-color);
    border: 1px solid #334155;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.terminal-window:hover {
    transform: rotateY(0) rotateX(0);
}

.terminal-body {
    padding: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e2e8f0;
    overflow-x: auto;
}

.terminal-body .keyword { color: #c678dd; }
.terminal-body .string { color: #98c379; }
.terminal-body .property { color: #e06c75; }
.terminal-body .number { color: #d19a66; }
.terminal-body .boolean { color: #d19a66; }
.terminal-body .comment { color: #5c6370; font-style: italic; }

/* Image Composition */
.image-composition {
    position: relative;
    z-index: 1;
}

.main-img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(31, 41, 55, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    animation: float 4s ease-in-out infinite;
}

.floating-badge span {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* AI Interface */
.ai-interface {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.ai-header {
    background: var(--secondary-color);
    padding: 16px;
    text-align: center;
    font-weight: 600;
    color: #e2e8f0;
    border-bottom: 1px solid #334155;
}

.ai-chat {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-msg {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 85%;
}

.ai-msg.user {
    background: #3b82f6;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ai-msg.system {
    background: #334155;
    color: #e2e8f0;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.ai-msg .success {
    color: #10b981;
    font-weight: 600;
    display: block;
    margin-top: 8px;
}

.ai-input {
    padding: 16px;
    border-top: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.ai-send {
    background: #3b82f6;
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold;
}

/* Server Rack */
.server-rack {
    background: var(--secondary-color);
    border: 2px solid #334155;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.server-node {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #94a3b8;
}

.server-node .lights {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #475569;
}

.server-node.active .lights {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.server-node.processing .lights {
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Tech Stack Marquee */
.tech-stack-section {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
    text-align: center;
}

.stack-title {
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.stack-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.stack-item {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 24px;
    border-radius: 100px;
    color: #9ca3af;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.stack-item:hover {
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan-color);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-2px);
}

/* Responsive Services */
@media (max-width: 1024px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .service-row.reverse { direction: ltr; }
    .service-icon-wrap { margin: 0 auto 24px; }
    .outcomes-box h4 { justify-content: center; }
    .outcome-list li { padding-left: 0; }
    .outcome-list li::before { display: none; }
}

/* --- Cart Sidebar --- */
.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-sidebar-overlay.active {
    display: block;
    opacity: 1;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--bg-white);
    z-index: 9999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s;
}

.close-cart-btn:hover {
    color: var(--text-main);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-light);
    margin-top: 50px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 5px;
}

.remove-item-btn:hover {
    text-decoration: underline;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.checkout-btn:hover {
    background: var(--primary-hover);
}

.cart-badge {
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    font-weight: bold;
}
