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

body {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  min-height: 100vh;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
}

/* Header Styles */
.header {
  background: transparent;
  position: relative;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu-left,
.nav-menu-right {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  font-size: 1rem;
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.brand a {
  display: block;
}

.brand-logo {
  height: 40px;
  width: auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section */
.section {
  padding: 2rem 0;
}

/* Welcome Section */
.welcome-section {
  background: transparent;
  text-align: left;
}

.welcome-content h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 1rem;
}

/* Concept Section */
.concept-section {
  background: transparent;
}

.concept-content {
  text-align: left;
}

.concept-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.concept-text {
  font-size: 1.1rem;
  color: #666666;
  line-height: 1.6;
  margin-top: 1rem;
}

/* CTA Main Section */
.cta-main-section {
  background: transparent;
  text-align: left;
  padding: 2rem 0;
}

.cta-content-main {
  border-top: 1px solid #e9ecef;
  padding-top: 2rem;
}

.cta-heading {
  font-size: 2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.cta-description {
  font-size: 1.1rem;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-button-main {
  display: inline-block;
  background: #1a1a1a;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  color: #1a1a1a;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #666666;
  line-height: 1.6;
  font-weight: 400;
}

.hero-visuals {
  position: relative;
  display: flex;
  justify-content: center;
}

/* MacBook Container */
.macbook-container {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.macbook {
  position: relative;
  width: 100%;
}

.macbook-frame {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.macbook-screen {
  position: absolute;
  top: 11%;
  left: 11.5%;
  width: 77%;
  height: 82%;
  border-radius: 8px;
  overflow: hidden;
  z-index: 1;
}

.screen-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.screen-content.active {
  opacity: 1;
}

/* Background Images for Scroll Effect */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background-image: url("images/casino.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 1;
  transform: translateY(var(--scroll-y, 0));
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background-image: url("images/chart.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 1;
  transform: translateY(calc(-1 * var(--scroll-y, 0)));
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1a1a1a;
  line-height: 1.2;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: #666666;
  font-size: 1.1rem;
}

/* Section Badge */
.section-badge {
  display: inline-block;
  color: #666666;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

/* Links */
a {
  color: #1a1a1a;
  text-decoration: none;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: underline;
  font-size: 1.1rem;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.office-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
}

/* About Hero Image */
.about-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-hero-image {
  width: 100%;
  max-width: 500px;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Values Section */
.values-section {
  background: transparent;
}

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

.value-item {
  background: transparent;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  text-align: center;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.value-item p {
  color: #666666;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Services Section */
.services-section {
  background: transparent;
}

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

.service-category {
  text-align: left;
}

.service-category h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.service-category p {
  color: #666666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  padding-left: 0;
}

.service-list li {
  color: #1a1a1a;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-list li:before {
  content: "•";
  color: #1a1a1a;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Roadmap Section */
.roadmap-section {
  background: transparent;
}

.roadmap-timeline {
  margin-top: 2rem;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-year {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  background: #f8f9fa;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  height: fit-content;
}

.timeline-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #666666;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Projects Page Styling */
.projects-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.projects-hero-image {
  width: 100%;
  max-width: 500px;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card-item {
  background: transparent;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  text-align: left;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0rem;
}

.project-flag {
  font-size: 2rem;
}

.project-card-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.project-card-item p {
  color: #666666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0rem;
}

.project-status {
  background: #22c55e;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Expansion Section */
.expansion-section {
  background: transparent;
  text-align: center;
}

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

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: #666666;
  font-weight: 500;
}

/* Contact Page Styling */
.contact-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.contact-hero-image {
  width: 100%;
  max-width: 500px;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-section {
  background: transparent;
}

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

.contact-method {
  text-align: center;
  padding: 2rem;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  background: transparent;
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 0rem;
}

.contact-method h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0rem;
}

.contact-method p {
  margin: 0;
}

.contact-method a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}

.contact-method a:hover {
  text-decoration: underline;
}

/* Contact Form Styling */
.contact-form-section {
  background: transparent;
}

.form-container {
  max-width: 800px;
  margin: 2rem auto 0;
}

.contact-form {
  background: transparent;
  padding: 2rem;
  border: 1px solid #e9ecef;
  border-radius: 12px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a1a1a;
}

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

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.submit-button {
  background: #1a1a1a;
  color: white;
  padding: 1rem 3rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background: #333;
}

/* Response Section */
.response-section {
  background: transparent;
  text-align: center;
}

.response-content {
  text-align: center;
}

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

/* Careers Page Styling */
.careers-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.careers-hero-image {
  width: 100%;
  max-width: 500px;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-section {
  background: transparent;
  text-align: center;
}

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

.about-company-section {
  background: transparent;
  text-align: center;
}

.positions-section {
  background: transparent;
}

.jobs-list {
  margin-top: 2rem;
}

.job-item {
  background: transparent;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.job-header {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.job-header:hover {
  background: #f8f9fa;
}

.job-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.job-toggle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  transition: transform 0.3s ease;
}

.job-content {
  display: none;
  padding: 0 2rem 2rem;
  border-top: 1px solid #e9ecef;
}

.job-section {
  margin-top: 1rem;
}

.job-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.job-section p {
  color: #666666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.job-section ul {
  list-style: none;
  padding-left: 0;
}

.job-section li {
  color: #666666;
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.job-section li:before {
  content: "•";
  color: #1a1a1a;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.contact-careers-section {
  background: transparent;
  text-align: center;
}

.contact-button-wrapper {
  margin-top: 2rem;
}

/* GEO Section */
.geo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.geo-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.geo-item {
  background: #f8f9fa;
  color: #1a1a1a;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  border: 1px solid #e9ecef;
}

.cta-section {
  margin-top: 2rem;
}

.cta-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  background: #1a1a1a;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
}

.world-map {
  width: 100%;
  height: auto;
  max-width: 500px;
  opacity: 0.8;
}

.geo-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Lists */
ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Projects Section */
.projects-stack-container {
  margin-top: 0rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.projects-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.nav-btn {
  background: #1a1a1a;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: #333;
  transform: scale(1.1);
}

.nav-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.projects-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #1a1a1a;
  transform: scale(1.2);
}

.projects-stack {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 500px;
  perspective: 1000px;
  touch-action: pan-y;
}

.project-card {
  position: absolute;
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(60px) rotate(-1deg) translateZ(-40px);
  z-index: 1;
}

.project-card.active {
  opacity: 1;
  transform: translateY(0px) rotate(-2deg) translateZ(0);
  z-index: 5;
}

.project-card.prev {
  opacity: 0.7;
  transform: translateY(30px) rotate(1deg) translateZ(-20px);
  z-index: 2;
}

.project-card.next {
  opacity: 0.7;
  transform: translateY(30px) rotate(-1deg) translateZ(-20px);
  z-index: 2;
}

.project-card:hover {
  transform: translateY(-20px) rotate(0deg) scale(1.05) translateZ(50px) !important;
  z-index: 10 !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-overlay h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.project-overlay p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-nav {
  margin-bottom: 2rem;
}

.footer-nav a {
  color: #cccccc;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
}

.footer p {
  color: #999999;
  margin: 0;
  font-size: 0.95rem;
}

/* Desktop menu container - hide on desktop */
.nav-menu-container {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e9ecef;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .header > .nav-menu-left,
  .header > .nav-menu-right {
    display: none;
  }

  .brand {
    position: static;
    transform: none;
  }

  .brand-logo {
    height: 35px;
  }

  .nav-menu-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .nav-menu-container .nav-menu-left,
  .nav-menu-container .nav-menu-right {
    gap: 1.5rem;
    font-size: 0.9rem;
  }

  .hero {
    margin-top: 100px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .macbook-container {
    max-width: 400px;
  }

  h2 {
    font-size: 2rem;
  }

  .about-content,
  .geo-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-image {
    height: 250px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline-item {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }

  .timeline-year {
    font-size: 1rem;
  }

  .projects-hero-image {
    height: 250px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .expansion-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .contact-hero-image {
    height: 250px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .response-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .geo-list {
    grid-template-columns: 1fr;
  }

  .projects-navigation {
    gap: 1rem;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .projects-stack {
    max-width: 90%;
    height: 400px;
  }

  .project-card {
    height: 300px;
  }

  .project-card.active {
    transform: translateY(0px) rotate(-1deg) translateZ(0);
  }

  .project-card.prev,
  .project-card.next {
    transform: translateY(20px) rotate(0.5deg) translateZ(-10px);
  }

  .project-overlay {
    padding: 1.5rem;
  }

  .project-overlay h3 {
    font-size: 1.2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .footer {
    padding: 2rem 1rem;
  }

  .footer-nav a {
    margin: 0 0.5rem;
    display: inline-block;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0.8rem 1rem;
  }

  .nav-menu-left,
  .nav-menu-right {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .brand-logo {
    height: 30px;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .section {
    padding: 2rem 0;
  }
}
