/* Base Styles and Variables */
:root {
  --primary: #4a00e0;
  --secondary: #8e2de2;
  --accent: #ff3366;
  --text: #333333;
  --text-light: #777777;
  --bg-light: #ffffff;
  --bg-dark: #111111;
  --bg-gray: #f7f7f7;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --max-width: 1280px;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

ul {
  list-style: none;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.2rem;
}

.highlight {
  color: var(--accent);
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  border: none;
}

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

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: rgba(74, 0, 224, 0.1);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
}

.logo-icon {
  margin-right: 12px;
}

.site-title {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list a {
  font-weight: 500;
  color: var(--text);
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
}

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

.nav-list a:hover::after {
  width: 100%;
}

.cta-nav a {
  color: white;
}

.cta-nav a:hover {
  color: white;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--primary);
  transition: var(--transition);
}

.mobile-menu-btn span:nth-child(1) {
  top: 0;
}

.mobile-menu-btn span:nth-child(2) {
  top: 10px;
}

.mobile-menu-btn span:nth-child(3) {
  top: 20px;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background-color: var(--bg-gray);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.hero-shape {
  max-width: 100%;
  height: auto;
}

/* Gallery Section */
.gallery-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

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

.gallery-item {
  border-radius: var(--radius-lg);
  background-color: var(--bg-gray);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.gallery-content {
  padding: 40px;
  text-align: center;
}

.gallery-icon {
  margin-bottom: 20px;
}

.gallery-content h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.gallery-content p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Experience Section */
.experience-section {
  padding: 100px 0;
  background-color: var(--bg-gray);
}

.experience-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.experience-block {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.experience-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  opacity: 0.1;
  color: var(--primary);
}

.experience-block h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.experience-block p {
  color: var(--text-light);
  margin-bottom: 0;
}

.experience-cta {
  text-align: center;
  margin-top: 50px;
}

/* Technology Section */
.technology-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.technology-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.technology-info h2 {
  margin-bottom: 20px;
}

.technology-info p {
  color: var(--text-light);
  margin-bottom: 30px;
}

.technology-features {
  margin-bottom: 30px;
}

.technology-features li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.technology-features li svg {
  margin-right: 10px;
}

.technology-visual {
  display: flex;
  justify-content: center;
}

.tech-illustration {
  max-width: 100%;
  height: auto;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

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

.cta-section .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
}

/* Footer */
.site-footer {
  background-color: var(--bg-dark);
  color: white;
  padding: 80px 0 20px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.footer-logo {
  margin-right: 15px;
}

.footer-site-name {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 1rem;
}

.footer-nav {
  display: flex;
  gap: 60px;
}

.footer-nav-column h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

.footer-nav-column ul li a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-nav-column ul li a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.copyright, .disclaimer {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

/* Media Queries */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero {
    padding: 140px 0 80px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 2000;
  }
  
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    transition: var(--transition);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav-list.active {
    right: 0;
  }
  
  .nav-list li {
    margin: 10px 0;
  }
  
  .hero .container,
  .technology-content {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    order: -1;
    justify-content: center;
    margin-bottom: 30px;
  }
  
  .technology-visual {
    margin-top: 40px;
  }
  
  .cta-group {
    flex-direction: column;
  }
  
  .cta-group a {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .gallery-section,
  .experience-section,
  .technology-section {
    padding: 60px 0;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-grid {
    flex-direction: column;
  }
}
