/* Color Variables based on Requirements */
:root {
  --primary: #071E38;
  --accent: #0CC7A3;
  --bg-light: #D1DFE1;
  --white: #FFFFFF;
  --text-dark: #1A202C;
  --text-muted: #4A5568;
  --border: #E2E8F0;
  
  --shadow-sm: 0 4px 6px -1px rgba(7, 30, 56, 0.05), 0 2px 4px -1px rgba(7, 30, 56, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(7, 30, 56, 0.05), 0 4px 6px -2px rgba(7, 30, 56, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(7, 30, 56, 0.08), 0 10px 10px -5px rgba(7, 30, 56, 0.04);
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

@font-face {
  font-family: 'Altone';
  src: url('Altone%20Semi%20Bold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Altone', sans-serif;
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  padding: 32px 0;
  position: relative;
  z-index: 10;
}

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

.logo img {
  height: 48px;
  width: auto;
}

/* Hero Section */
.hero {
  padding: 100px 0 140px;
  position: relative;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero .subtext {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 56px;
}

/* Search Box Element */
.search-container {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 999px;
  padding: 10px 10px 10px 28px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 30px -5px rgba(7, 30, 56, 0.12);
}

.search-icon {
  color: var(--text-muted);
  margin-right: 16px;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.15rem;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
}

.search-box input:disabled {
  background: transparent;
  cursor: not-allowed;
}

.search-box input::placeholder {
  color: #A0AEC0;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-family: 'Altone', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px 0 rgba(12, 199, 163, 0.4);
}

.btn-primary:hover {
  background-color: #0baf8f;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(12, 199, 163, 0.5);
}

/* Background blobs for modern feel */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.8;
}

.blob-1 {
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(209,223,225,0) 70%);
}

.blob-2 {
  bottom: -50px;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(12,199,163,0.2) 0%, rgba(209,223,225,0) 70%);
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--white);
  position: relative;
  z-index: 5;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -10px 40px rgba(7, 30, 56, 0.05);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card {
  padding: 48px 32px;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background-color: rgba(12, 199, 163, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Preview Section */
.preview {
  padding: 140px 0;
  background-color: var(--white);
}

.preview-header {
  text-align: center;
  margin-bottom: 80px;
}

.preview-header h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.preview-header p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.mockup {
  background-color: #F8FAFC;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
  transform: perspective(1000px) rotateX(4deg);
  transition: transform 0.5s ease;
}

.mockup:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-10px);
}

.mockup-header {
  background-color: var(--white);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background-color: #FC8181; }
.dot.yellow { background-color: #F6E05E; }
.dot.green { background-color: #68D391; }

.mockup-body {
  padding: 48px;
}

.mockup-company {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

.mockup-icon {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, var(--primary), #1a365d);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.5rem;
  font-family: 'Altone', sans-serif;
  box-shadow: var(--shadow-md);
}

.mockup-title h3 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.mockup-tags {
  display: flex;
  gap: 12px;
}

.tag {
  padding: 6px 16px;
  background-color: #E2E8F0;
  color: #4A5568;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.tag-active {
  background-color: rgba(12, 199, 163, 0.15);
  color: #0A987C;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mockup-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.mockup-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mockup-card h4 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--primary);
  border-bottom: 2px solid #F1F5F9;
  padding-bottom: 16px;
}

.mockup-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 12px;
  font-size: 1.05rem;
}

.mockup-row span:first-child {
  color: var(--text-muted);
}

.mockup-row span:last-child {
  font-weight: 500;
  text-align: right;
  color: var(--text-dark);
}

.mockup-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-color: #F8FAFC;
  border-radius: var(--radius-md);
  border: 1px solid #F1F5F9;
}

.stat-value {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.stat-number {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--primary);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-logo img {
  height: 48px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-logo p {
  color: #A0AEC0;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  color: #E2E8F0;
  font-weight: 500;
  font-size: 1.05rem;
}

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

/* Responsive */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mockup-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .search-box {
    flex-direction: column;
    padding: 20px;
    border-radius: var(--radius-xl);
  }
  .search-icon {
    display: none;
  }
  .search-box input {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }
  .btn-primary {
    width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .mockup-company {
    flex-direction: column;
    align-items: flex-start;
  }
  .mockup {
    transform: none;
  }
  .mockup:hover {
    transform: none;
  }
}
