@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #002D5B;
  /* Atlantic Deep Blue */
  --accent: #0084FF;
  --success: #10B981;
  --danger: #EF4444;
  --text-main: #111827;
  --text-muted: #6B7280;
  --bg-white: #FFFFFF;
  --bg-soft: #F9FAFB;
  --border: #E5E7EB;
  --radius: 2px;
  --container-max: 1200px;
}

/* Mobile-First Responsive System */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hidden-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: block;
  }
}

/* Chat Components */
.chat-container {
  height: 400px;
  overflow-y: auto;
  padding: 1.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-message {
  max-width: 80%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  position: relative;
}

.msg-customer {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
}

.msg-admin {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-main);
}

.timestamp {
  font-size: 0.65rem;
  opacity: 0.6;
  margin-top: 0.4rem;
  display: block;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header - Ultra Clean */
header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
}

.logo span {
  border-left: 2px solid var(--primary);
  margin-left: 1rem;
  padding-left: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
}

nav a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.6;
}

/* Hero - Splitted for attention */
.hero {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  align-items: center;
  background: #fff;
}

.hero-text {
  padding: 0 10% 0 10%;
}

.hero-img {
  height: 100%;
  width: 100%;
  background: var(--bg-soft);
  overflow: hidden;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2rem;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}

/* Attention Retention: Stats Section */
.stats-bar {
  display: flex;
  justify-content: space-between;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

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

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Large Full Banner */
.full-banner {
  height: 500px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  margin: 8rem 0;
  position: relative;
}

.full-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 45, 91, 0.4);
}

.banner-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.banner-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* Buttons - Flat & Clean */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #001a36;
}

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Sections */
section {
  padding: 8rem 0;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

/* Product Cards - Minimalist Flat Design */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  border: 1px solid var(--border);
  transition: border-color 0.2s;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--primary);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-soft);
  padding: 2rem;
}

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.card-link {
  text-decoration: none;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Detail View */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.detail-img-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 3rem;
}

.detail-img-box img {
  width: 100%;
  height: auto;
}

.detail-info h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.detail-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  font-size: 0.9rem;
}

.spec-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 500;
  display: block;
}

/* Forms - Clean & Focused */
.form-card {
  border: 1px solid var(--border);
  padding: 2.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
  background: transparent;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

/* Admin Portal */
.admin-tabs {
  display: flex;
  gap: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.admin-tab {
  padding: 1rem 0;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  position: relative;
}

.admin-tab.active {
  color: var(--primary);
}

.admin-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  text-align: left;
  padding: 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.table td {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: #111827;
  color: #fff;
  padding: 5rem 0;
}

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

footer h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

footer p {
  color: #9CA3AF;
  font-size: 0.9rem;
  max-width: 300px;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 0.75rem;
}

footer a {
  color: #9CA3AF;
  text-decoration: none;
  font-size: 0.85rem;
}

footer a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
  }

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

  nav {
    display: none;
  }
}