/* PSP TechnoCADD - Ultra Premium Design */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===================================
   VARIABLES & RESET
   =================================== */
:root {
  --red: #E63946;
  --blue: #1D3557;
  --light-blue: #457B9D;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray: #6B7280;
  --dark: #1F2937;
  --light-gray: #E5E7EB;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --radius: 12px;
  --radius-lg: 20px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(29, 53, 87, 0.12);
  --shadow-lg: 0 10px 30px rgba(29, 53, 87, 0.15);
  --shadow-xl: 0 20px 50px rgba(29, 53, 87, 0.2);
  
  --gradient-primary: linear-gradient(135deg, var(--blue) 0%, var(--light-blue) 100%);
  --gradient-accent: linear-gradient(135deg, var(--red) 0%, #ff6b6b 100%);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(29, 53, 87, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.brand:hover {
  transform: translateY(-2px);
}

.brand-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.brand:hover .brand-logo {
  transform: scale(1.05);
}

.brand-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: white;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.brand:hover .brand-mark {
  transform: rotate(-5deg) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  font-family: var(--font-heading);
  line-height: 1;
}

.brand-tagline {
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Text-only Brand (No PSP Mark) */
.brand-text-only {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-text-only .brand-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  font-family: var(--font-heading);
  line-height: 1;
  letter-spacing: -0.5px;
}

.brand-text-only .brand-tagline {
  font-size: 10px;
  color: var(--gray);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-menu a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover {
  color: var(--red);
  background: rgba(230, 57, 70, 0.05);
}

.nav-menu a.active {
  color: var(--blue);
  font-weight: 600;
  background: rgba(29, 53, 87, 0.05);
}

.btn-contact {
  background: var(--gradient-accent) !important;
  color: var(--white) !important;
  padding: 12px 24px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-md);
  border: none;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

.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(8px, -8px);
}

/* ===================================
   HERO SECTION
   =================================== */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
}

.home-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(29, 53, 87, 0.75) 0%, 
    rgba(69, 123, 157, 0.6) 50%,
    rgba(230, 57, 70, 0.5) 100%);
  z-index: 2;
}

.home-hero .content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 900px;
}

.kicker {
  display: inline-block;
  background: rgba(230, 57, 70, 0.9);
  color: white;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeIn 0.8s ease-out;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin-bottom: 32px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 32px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: white;
  font-family: var(--font-heading);
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: white;
  animation: bounce 2s infinite;
}

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

/* ===================================
   BUTTONS
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-heading);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: white;
  color: var(--blue);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ===================================
   SECTIONS
   =================================== */
.section-padding {
  padding: 100px 0;
  position: relative;
}

.bg-soft {
  background: var(--off-white);
}

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

.bg-gradient h2,
.bg-gradient p {
  color: white;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.section-header .kicker {
  background: rgba(230, 57, 70, 0.1);
  color: var(--red);
  border: 2px solid rgba(230, 57, 70, 0.2);
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--blue);
  margin-bottom: 16px;
  margin-top: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.8;
}

/* ===================================
   GRIDS
   =================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===================================
   CARDS
   =================================== */
.card {
  background: var(--white);
  border: 1px solid rgba(29, 53, 87, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(230, 57, 70, 0.2);
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  background: rgba(230, 57, 70, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.card:hover .icon-wrapper {
  background: var(--gradient-accent);
}

.icon {
  width: 36px;
  height: 36px;
  color: var(--red);
  transition: var(--transition);
}

.card:hover .icon {
  color: white;
  transform: scale(1.1);
}

.card h3 {
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 12px;
  font-weight: 700;
}

.card p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.card-link {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition);
}

.card-link:hover {
  gap: 8px;
  transform: translateX(4px);
}

/* Industry Cards */
.industry-card {
  background: white;
  border: 1px solid rgba(29, 53, 87, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 57, 70, 0.2);
}

.industry-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--red);
}

.industry-icon svg {
  width: 100%;
  height: 100%;
}

.industry-card h3 {
  font-size: 20px;
  color: var(--blue);
  margin-bottom: 12px;
}

.industry-card p {
  color: var(--gray);
  line-height: 1.6;
  font-size: 15px;
}

/* Feature Items */
.feature-grid {
  display: grid;
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.feature-number {
  width: 56px;
  height: 56px;
  background: var(--gradient-accent);
  color: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-heading);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--blue);
}

.feature-item p {
  color: var(--gray);
  line-height: 1.7;
}

/* Stats Visual */
.stats-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: white;
  border: 1px solid rgba(29, 53, 87, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

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

.stat-big {
  font-size: 48px;
  font-weight: 800;
  color: var(--red);
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: white;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  margin-top: 48px;
}

.form {
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 600;
  color: var(--blue);
  font-size: 14px;
  font-family: var(--font-heading);
}

input, textarea, select {
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 2px solid var(--light-gray);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
  color: var(--dark);
  transition: var(--transition);
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.form-message {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(69, 123, 157, 0.1);
  border: 2px solid rgba(69, 123, 157, 0.3);
  color: var(--light-blue);
}

.form-message.error {
  display: block;
  background: rgba(230, 57, 70, 0.1);
  border: 2px solid rgba(230, 57, 70, 0.3);
  color: var(--red);
}

.info-card {
  background: white;
  border: 1px solid rgba(29, 53, 87, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.info-card h3 {
  font-size: 20px;
  color: var(--blue);
  margin-bottom: 20px;
}

.info-item {
  margin-bottom: 20px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item strong {
  display: block;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

.info-item p {
  color: var(--gray);
  line-height: 1.7;
}

.quick-links {
  list-style: none;
  display: grid;
  gap: 12px;
}

.quick-links a {
  color: var(--gray);
  text-decoration: none;
  transition: var(--transition);
  display: block;
}

.quick-links a:hover {
  color: var(--red);
  transform: translateX(4px);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--blue);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section h3 {
  color: white;
  margin-bottom: 16px;
  font-size: 20px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transition);
  line-height: 1.8;
}

.footer-section a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-section ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 32px;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 82px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border-top: 1px solid rgba(29, 53, 87, 0.08);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu a {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .stats-visual {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .home-hero {
    min-height: 85vh;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  .brand-text-only .brand-name {
    font-size: 22px;
  }
  
  .brand-text-only .brand-tagline {
    font-size: 9px;
  }
}