/* ========================================
   株式会社同進システム - スタイルシート
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&family=Noto+Serif+JP:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --bg-primary: #1a1a1a;
  --bg-secondary: #252525;
  --bg-dark: #141414;
  --text-primary: #f5f5f5;
  --text-secondary: #8a8a8a;
  --accent: #d4a853;
  --accent-hover: #c49a4a;
  --border: #333;
  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  line-height: 1.4;
}

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

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

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

/* ========================================
   Header & Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
}

.header.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

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

.nav-desktop a {
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.8);
  position: relative;
}

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

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

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

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: var(--bg-primary);
  border-left: 1px solid var(--border);
  padding: 5rem 2rem 2rem;
  transition: right 0.3s ease;
  z-index: 999;
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile a {
  display: block;
  padding: 1rem 0;
  color: rgba(245, 245, 245, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:hover {
  color: var(--accent);
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.overlay.active {
  display: block;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.5), var(--bg-primary));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-subtitle {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  color: rgba(245, 245, 245, 0.7);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { top: 25%; left: 10%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 33%; right: 20%; animation-delay: 1s; width: 6px; height: 6px; opacity: 0.6; }
.hero-particles span:nth-child(3) { bottom: 33%; left: 25%; animation-delay: 0.5s; width: 3px; height: 3px; opacity: 0.4; }

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

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  cursor: pointer;
}

.scroll-indicator span {
  display: block;
  font-size: 0.7rem;
  color: rgba(245, 245, 245, 0.5);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.scroll-indicator i {
  color: var(--accent);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

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

/* ========================================
   Section Common Styles
   ======================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-label {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  color: rgba(245, 245, 245, 0.6);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Philosophy Section
   ======================================== */
.philosophy {
  background: var(--bg-primary);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.philosophy-content h3 {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.philosophy-content .divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 2rem 0;
}

.philosophy-content p {
  color: rgba(245, 245, 245, 0.7);
  margin-bottom: 1rem;
}

.philosophy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  color: var(--accent);
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(245, 245, 245, 0.5);
  margin-top: 0.25rem;
}

.philosophy-image {
  position: relative;
}

.philosophy-image img {
  border-radius: 8px;
  width: 100%;
}

.philosophy-image::after {
  content: '';
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 8px;
  z-index: -1;
}

/* ========================================
   Services Section
   ======================================== */
.services {
  background: var(--bg-primary);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(212, 168, 83, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(37, 37, 37, 0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.service-card:hover {
  border-color: rgba(212, 168, 83, 0.5);
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 168, 83, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-card:hover h3 {
  color: var(--accent);
}

.service-card p {
  color: rgba(245, 245, 245, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-tags span {
  padding: 0.25rem 0.75rem;
  background: var(--bg-primary);
  color: rgba(245, 245, 245, 0.7);
  font-size: 0.75rem;
  border-radius: 20px;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.service-card:hover .service-link svg {
  transform: translateX(5px);
}

/* ========================================
   Works Section
   ======================================== */
.works {
  background: var(--bg-primary);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.work-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.work-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
}

.work-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.work-card:hover .work-image img {
  transform: scale(1.05);
}

.work-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-primary), transparent 50%);
}

.work-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.8rem;
  background: rgba(212, 168, 83, 0.2);
  color: var(--accent);
  font-size: 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(212, 168, 83, 0.3);
  z-index: 1;
}

.work-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(212, 168, 83, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.work-overlay svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.work-content {
  padding: 1.5rem;
}

.work-content h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.work-card:hover .work-content h3 {
  color: var(--accent);
}

.work-content p {
  color: rgba(245, 245, 245, 0.6);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.work-tags span {
  padding: 0.2rem 0.5rem;
  background: var(--bg-primary);
  color: rgba(245, 245, 245, 0.5);
  font-size: 0.7rem;
  border-radius: 4px;
}

/* ========================================
   Technology Section
   ======================================== */
.technology {
  background: linear-gradient(to bottom, var(--bg-primary), #1f1f1f, var(--bg-primary));
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tech-card {
  background: rgba(37, 37, 37, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: var(--transition);
}

.tech-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
}

.tech-card h3 {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-items span {
  padding: 0.4rem 0.8rem;
  background: var(--bg-primary);
  color: rgba(245, 245, 245, 0.8);
  font-size: 0.8rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: default;
}

.tech-items span:hover {
  border-color: rgba(212, 168, 83, 0.5);
  color: var(--accent);
}

.tech-note {
  text-align: center;
  margin-top: 3rem;
  color: rgba(245, 245, 245, 0.5);
  font-size: 0.85rem;
}

/* ========================================
   Company Section
   ======================================== */
.company {
  background: var(--bg-primary);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.company-card {
  background: rgba(37, 37, 37, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}

.company-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.company-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.company-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(212, 168, 83, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.info-content label {
  display: block;
  font-size: 0.75rem;
  color: rgba(245, 245, 245, 0.5);
  margin-bottom: 0.25rem;
}

.info-content span {
  color: var(--text-primary);
  font-size: 0.9rem;
}

/* ========================================
   Careers Section
   ======================================== */
.careers {
  position: relative;
  background: var(--bg-primary);
}

.careers-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover fixed no-repeat;
}

.careers-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.85);
}

.careers .container {
  position: relative;
  z-index: 1;
}

.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.careers-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.careers-content h2 span {
  color: var(--accent);
}

.careers-content p {
  color: rgba(245, 245, 245, 0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.careers-btn {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 168, 83, 0.3); }
  50% { box-shadow: 0 0 40px rgba(212, 168, 83, 0.6); }
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(37, 37, 37, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  transition: var(--transition);
}

.benefit-item:hover {
  border-color: rgba(212, 168, 83, 0.3);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 168, 83, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.benefit-text h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.benefit-text p {
  color: rgba(245, 245, 245, 0.6);
  font-size: 0.85rem;
  margin: 0;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.footer-main {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .logo-text {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  color: rgba(245, 245, 245, 0.6);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(245, 245, 245, 0.6);
  font-size: 0.8rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.footer-column h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(245, 245, 245, 0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(245, 245, 245, 0.4);
  font-size: 0.8rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: rgba(245, 245, 245, 0.4);
  font-size: 0.8rem;
  transition: var(--transition);
}

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

/* ========================================
   Recruit Page
   ======================================== */
.page-header {
  padding: 8rem 0 4rem;
  text-align: center;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0.9), var(--bg-primary));
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.3;
  z-index: -1;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.page-subtitle {
  color: rgba(245, 245, 245, 0.6);
}

.recruit-section {
  padding: 4rem 0;
}

.recruit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.recruit-card {
  background: rgba(37, 37, 37, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: var(--transition);
}

.recruit-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
  transform: translateY(-3px);
}

.recruit-card h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.recruit-card p {
  color: rgba(245, 245, 245, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.recruit-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.recruit-detail-item {
  display: flex;
  gap: 1rem;
}

.recruit-detail-item label {
  width: 80px;
  flex-shrink: 0;
  color: rgba(245, 245, 245, 0.5);
  font-size: 0.8rem;
}

.recruit-detail-item span {
  color: var(--text-primary);
  font-size: 0.85rem;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-section {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info-card {
  background: rgba(37, 37, 37, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  height: fit-content;
}

.contact-info-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-info-item div label {
  display: block;
  font-size: 0.75rem;
  color: rgba(245, 245, 245, 0.5);
  margin-bottom: 0.25rem;
}

.contact-info-item div span,
.contact-info-item div a {
  color: var(--text-primary);
  font-size: 0.9rem;
}

.contact-info-item div a:hover {
  color: var(--accent);
}

.contact-form-card {
  background: rgba(37, 37, 37, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}

.contact-form-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.7);
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: var(--accent);
  margin-left: 0.25rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 245, 245, 0.3);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--accent-hover);
}

/* ========================================
   Policy Pages (Privacy & Security)
   ======================================== */
.policy-section {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-block {
  background: rgba(37, 37, 37, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.policy-block h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.policy-block p {
  color: rgba(245, 245, 245, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.policy-block ul {
  list-style: none;
  padding-left: 0;
}

.policy-block ul li {
  color: rgba(245, 245, 245, 0.7);
  font-size: 0.9rem;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.policy-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.policy-date {
  text-align: right;
  color: rgba(245, 245, 245, 0.5);
  font-size: 0.85rem;
  margin-top: 2rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .philosophy-grid,
  .careers-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-mobile {
    display: block;
  }
  
  .service-grid,
  .works-grid,
  .tech-grid,
  .recruit-grid {
    grid-template-columns: 1fr;
  }
  
  .company-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-legal-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .philosophy-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .service-card,
  .recruit-card,
  .contact-info-card,
  .contact-form-card,
  .policy-block {
    padding: 1.5rem;
  }
}

/* Scroll Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
