@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");

:root {
  --primary-color: #ffa600;
  --primary-dark: #e69500;
  --primary-light: #ffb733;

  --secondary-color: #007cba;
  --secondary-dark: #0056b3;
  --secondary-light: #1a8fcf;

  --accent-color: #1d908b;
  --accent-dark: #16716d;
  --accent-light: #25b2ac;

  --success: #00b53f;
  --warning: #ffa600;
  --danger: #ef4444;
  --info: #007cba;

  --dark: #2d3142;
  --dark-gray: #4f5567;
  --gray: #7b7e8c;
  --light-gray: #a0aec0;
  --lighter-gray: #eaeaea;
  --lightest: #f9fafb;
  --white: #ffffff;

  --hero-primary: #1d908b;
  --hero-secondary: #ffa600;

  --gradient-primary: linear-gradient(135deg, #ffa600 0%, #ff8c00 100%);
  --gradient-secondary: linear-gradient(135deg, #007cba 0%, #0056b3 100%);
  --gradient-accent: linear-gradient(135deg, #1d908b 0%, #25b2ac 100%);
  --gradient-dark: linear-gradient(135deg, #2d3142 0%, #4f5567 100%);
  --gradient-light: linear-gradient(
    180deg,
    #f9fafb 0%,
    #ffffff 70%,
    #1d908b 150%
  );

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 20px 40px rgba(0, 0, 0, 0.2);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --font-primary: "Lato", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Oswald", sans-serif;
  --font-inter: "Inter", sans-serif;

  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-primary);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.scrolling-container {
  position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000;
  background: var(--gradient-primary); color: var(--white); padding: 12px 0;
  overflow: hidden; box-shadow: var(--shadow-md);
}
.scrolling-text { white-space: nowrap; font-weight: 700; font-size: 13px; letter-spacing: 1.5px; }

.terminal-container {
  min-height: calc(100vh - 80px);
  padding: 150px 0 90px;
  background: linear-gradient(180deg, var(--lightest) 0%, var(--white) 100%);
  position: relative; overflow: hidden;
}
.terminal-container::before {
  content: ""; position: absolute; top: 0; right: 0; width: 52%; height: 100%;
  background: radial-gradient(circle at top right, rgba(231, 76, 60, 0.08) 0%, transparent 68%);
  z-index: 0;
}
.terminal-container::after {
  content: ""; position: absolute; bottom: 10%; right: 8%; width: 250px; height: 250px;
  background: url("/images/peosis-terminal-logo.png") center/contain no-repeat;
  opacity: 0.08; z-index: 1; pointer-events: none; animation: float 8s ease-in-out infinite;
}
.terminal-content {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  position: relative; z-index: 2;
}
.terminal-header-main-text { animation: slideInLeft 0.8s ease-out both; }
.terminal-label, .section-label {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(231, 76, 60, 0.1); color: var(--primary-color);
  padding: 8px 20px; border-radius: var(--radius-full); font-size: 12px;
  font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid rgba(231, 76, 60, 0.18);
}
.terminal-label { margin-bottom: 24px; }
.terminal-header-main-text h1 {
  font-family: var(--font-heading); font-size: clamp(2.4rem, 5vw, 3.7rem);
  line-height: 1.08; font-weight: 700; color: var(--dark); margin-bottom: 24px; letter-spacing: -0.5px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--hero-primary), var(--hero-secondary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.terminal-header-main-text p { font-size: 1.125rem; line-height: 1.85; color: var(--dark-gray); max-width: 560px; }
.terminal-header-main-photo { position: relative; display: flex; justify-content: center; align-items: center; animation: slideInRight 0.8s ease-out both; }
.terminal-header-main-photo img { max-width: 760px; filter: drop-shadow(0 18px 35px rgba(45,49,66,0.13)); animation: float 6s ease-in-out infinite; }
.terminal-floating-element {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); z-index: 4;
}
.terminal-fe-1 { top: 14%; right: 2%; animation: float 5s ease-in-out infinite; }
.terminal-fe-2 { bottom: 18%; left: 0; animation: float 6s ease-in-out infinite 1s; }
.terminal-fe-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: rgba(231,76,60,0.12); color: var(--primary-color); font-size: 18px; }
.terminal-fe-text { font-weight: 700; font-size: 14px; color: var(--dark); white-space: nowrap; }

.what-is-section, .field-ops-section, .acquisition-section, .document-types-section, .customer-management-section, .market-analysis-section, .reports-section { padding: 90px 0; position: relative; overflow: hidden; }
.what-is-section, .document-types-section, .market-analysis-section { background: var(--white); }
.field-ops-section, .customer-management-section, .reports-section { background: var(--lightest); }
.acquisition-section { background: linear-gradient(180deg, var(--white), var(--lightest)); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--dark); margin-top: 14px; line-height: 1.15; }
.header-underline { width: 80px; height: 4px; border-radius: var(--radius-full); background: var(--gradient-primary); margin: 18px auto 0; }
.what-is-content { max-width: 980px; margin: 0 auto; padding: 38px; background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); border: 1px solid rgba(231,76,60,0.08); }
.what-is-text { color: var(--dark-gray); font-size: 1.15rem; line-height: 1.9; text-align: center; }

.ops-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ops-card, .market-card, .report-card {
  background: var(--white); border: 1px solid rgba(45,49,66,0.08); border-radius: var(--radius-xl);
  padding: 20px; box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; overflow: hidden;
}
.ops-card:hover, .market-card:hover, .report-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(231,76,60,0.28); }
.ops-icon, .market-icon, .report-icon {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 16px;
  background: rgba(231,76,60,0.1); color: var(--primary-color); font-size: 20px; margin-bottom: 22px;
}
.ops-card h3, .market-card h3, .report-card h3 { font-family: var(--font-heading); font-size: 1.20rem; color: var(--dark); margin-bottom: 12px; }
.ops-card p { color: var(--dark-gray); line-height: 1.25; }
.document-types-section { padding-top: 30px; }
.document-card .ops-icon { background: rgba(231,76,60,0.08); }

.acquisition-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 18px; align-items: stretch; }
.flow-step { background: var(--white); border: 1px solid rgba(231,76,60,0.1); border-radius: var(--radius-xl); padding: 26px; box-shadow: var(--shadow-md); transition: var(--transition); }
.flow-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-number { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--gradient-primary); color: var(--white); font-weight: 800; margin-bottom: 18px; box-shadow: 0 8px 18px rgba(231,76,60,0.25); }
.step-content h4 { font-family: var(--font-heading); color: var(--dark); font-size: 1.25rem; margin-bottom: 8px; }
.step-content p { color: var(--dark-gray); font-size: 0.96rem; line-height: 1.65; }
.flow-arrow { color: var(--primary-color); font-size: 22px; align-self: center; opacity: 0.8; }

.management-content { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.management-image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); background: var(--white); }
.management-image img { width: 100%; }
.management-features { display: grid; gap: 18px; }
.feature-item { display: flex; gap: 18px; padding: 22px; background: var(--white); border: 1px solid rgba(45,49,66,0.08); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: var(--transition); }
.feature-item:hover { transform: translateX(8px); box-shadow: var(--shadow-md); border-color: rgba(231,76,60,0.2); }
.feature-item > i { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 12px; color: var(--primary-color); background: rgba(231,76,60,0.1); font-size: 18px; }
.feature-item h4 { font-family: var(--font-heading); color: var(--dark); font-size: 1.18rem; margin-bottom: 5px; }
.feature-item p { color: var(--dark-gray); line-height: 1.65; }

.market-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 920px; margin: 0 auto; }
.market-card ul, .report-card ul { display: grid; gap: 11px; margin-top: 16px; }
.market-card li, .report-card li { color: var(--dark-gray); display: flex; align-items: center; gap: 10px; }
.market-card li i { color: var(--success); }

.reports-intro { max-width: 860px; margin: 0 auto 34px; text-align: center; }
.reports-description { font-size: 1.08rem; color: var(--dark-gray); line-height: 1.8; }
.reports-description strong { color: var(--primary-color); }
.reports-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.report-card.highlight { border-color: rgba(231,76,60,0.35); box-shadow: 0 12px 28px rgba(231,76,60,0.12); }
.report-icon.sales { background: rgba(0,124,186,0.1); color: var(--secondary-color); }
.report-icon.profit { background: rgba(29,144,139,0.1); color: var(--accent-color); }
.report-icon.diesel { background: rgba(243,156,18,0.12); color: var(--warning); }
.report-icon.gasoline { background: rgba(0,181,63,0.1); color: var(--success); }
.report-icon.other { background: rgba(239,68,68,0.1); color: var(--danger); }
.report-icon.consolidated, .report-icon.chart { background: rgba(231,76,60,0.1); color: var(--primary-color); }
.reports-features { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.feature-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--dark); border: 1px solid rgba(231,76,60,0.12); border-radius: var(--radius-full); padding: 12px 18px; box-shadow: var(--shadow-sm); font-weight: 700; }
.feature-badge i { color: var(--primary-color); }



.app-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--lightest) 0%, var(--white) 100%);
}

.section-app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 40px;
}

.section-app-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.section-app-text {
  margin-bottom: 20px;
}

.section-app-text .section-label {
  display: inline-block;
  margin-bottom: 16px;
}

.section-app-text h2 {
  font-size: 2.75rem;
  font-weight: 700;
  margin: 20px 0;
  color: var(--dark);
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}

.section-app-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-app-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.section-app-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 1px 20px;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--dark);
}

.section-app-btn.apple {
  background: #000;
  border-color: #000;
}

.section-app-btn.google {
  background: #34a853;
  border-color: #34a853;
}

.section-app-btn.web {
  background: var(--gradient-primary);
  border: 2px solid transparent;
}

.section-app-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.section-app-btn.apple:hover {
  background: #333;
  border-color: #333;
}

.section-app-btn.google:hover {
  background: #2d8e47;
  border-color: #2d8e47;
}

.section-app-btn.web:hover {
  filter: brightness(1.1);
}

.section-app-btn i {
  font-size: 18px;
}

.section-app-btn div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-small {
  font-size: 0.6rem;
  text-transform: uppercase;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

.btn-large {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 2px;
}

.section-app-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-app-right img {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(var(--shadow-xl));
}

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width: 1100px) {
  .terminal-content, .management-content, .section-app-content { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .terminal-header-main-text p, .section-app-text p { margin-left: auto; margin-right: auto; }
  .terminal-header-main-text { order: 2; }
  .terminal-header-main-photo { order: 1; }
  .ops-grid, .reports-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acquisition-flow { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .section-app-buttons { justify-content: center; }
}
@media (max-width: 768px) {
  .container, .terminal-content { padding: 0 18px; }
  .terminal-container { padding: 120px 0 60px; }
  .terminal-floating-element { display: none; }
  .what-is-section, .field-ops-section, .acquisition-section, .document-types-section, .customer-management-section, .market-analysis-section, .reports-section { padding: 64px 0; }
  .ops-grid, .market-grid, .reports-grid { grid-template-columns: 1fr; }
  .what-is-content, .ops-card, .market-card, .report-card { padding: 24px; }
  .feature-item { text-align: left; }
  .terminal-container::after { width: 150px; height: 150px; opacity: 0.05; }
}
@media (max-width: 480px) {
  .scrolling-text { font-size: 11px; }
  .terminal-header-main-text h1 { font-size: 2.1rem; }
  .section-title { font-size: 2rem; }
  .section-app-btn { width: 100%; justify-content: center; }
}
