/* 
  Style for VELWIRE LTD (Software Company)
  Colors: #1E293B (Dark Slate Background), #FFFFFF (White Sections), #2563EB (Primary Blue), #F8FAFC (Light Gray)
  Design: Modern SaaS, Tech-focused, Large rounded corners, Glassmorphism, Smooth animations
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-bg: #1E293B;
  --secondary-bg: #0F172A;
  --accent-color: #2563EB;
  --accent-hover: #1D4ED8;
  --text-light: #F8FAFC;
  --text-gray: #94A3B8;
  --white: #FFFFFF;
  --black: #020617;
  --light-gray: #F1F5F9;
  
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--primary-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: var(--transition);
}

a:hover {
  color: var(--text-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Typography */
.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto 4rem;
  font-size: 1.2rem;
}

.highlight {
  color: var(--accent-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background-color: var(--accent-color);
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--accent-color);
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--glass-border);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-bg);
  border-color: var(--white);
}

/* Header */
header {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 1rem;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--white);
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 4rem;
}

.floating-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-pill {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
}

.stat-icon {
  color: var(--accent-color);
}

/* Sections */
section {
  padding: 6rem 0;
}

.bg-white-section {
  background-color: var(--white);
  color: var(--black);
  border-radius: var(--radius-xl);
  margin: 0 20px;
  padding: 6rem 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.bg-white-section .section-title {
  color: var(--black);
}

.bg-white-section .section-subtitle {
  color: #64748B;
}

/* Services Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--secondary-bg);
  border-radius: var(--radius-lg);
  padding: 35px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-gray);
  margin-bottom: 0;
  font-size: 1rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-box {
  text-align: center;
}

.feature-box .icon {
  width: 70px;
  height: 70px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.feature-box:hover .icon {
  background: var(--accent-color);
  color: var(--white);
  transform: rotate(5deg);
}

.feature-box h3 {
  color: var(--black);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.feature-box p {
  color: #64748B;
}

/* Technologies Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.tech-badge {
  background: var(--secondary-bg);
  border: 1px solid var(--glass-border);
  padding: 15px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tech-badge:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
  color: var(--accent-color);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background: var(--secondary-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
}

.contact-item {
  margin-bottom: 30px;
}

.contact-item h4 {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
  color: var(--black);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: var(--black);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 14px;
  background: var(--light-gray);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  color: var(--black);
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#form-message {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: var(--radius-md);
  display: none;
  font-weight: 500;
  text-align: center;
}

.success-msg {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

/* Footer */
footer {
  background: var(--secondary-bg);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 3rem;
}

.footer-col p {
  color: var(--text-gray);
  margin-top: 15px;
  font-size: 0.95rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Text Pages */
.text-page {
  background: var(--secondary-bg);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  max-width: 800px;
  margin: 0 auto;
}

.text-page h2 {
  color: var(--accent-color);
  margin-top: 30px;
  font-size: 1.5rem;
}

.text-page p, .text-page ul {
  color: var(--text-light);
  margin-bottom: 20px;
}

.text-page ul {
  padding-left: 20px;
}

/* Page Header */
.page-header {
  padding: 6rem 0 3rem;
  text-align: center;
  background: radial-gradient(circle at top center, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--text-gray);
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 3.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-buttons { flex-direction: column; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--secondary-bg);
    flex-direction: column;
    padding: 25px 0;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}