/* ===== DONUM CO - MAIN STYLESHEET ===== */
/* Design: Soft Corporate Elegance */
/* Colors: Navy #0A2463, Blue #0080FF, White #FFFFFF */

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

:root {
  --navy: #0A2463;
  --blue: #0080FF;
  --white: #FFFFFF;
  --bg: #FAFBFD;
  --text: #1a2332;
  --text-muted: #5a6a7a;
  --border: #e8ecf2;
  --accent-bg: #f0f4f9;
  --shadow-sm: 0 2px 12px rgba(10, 36, 99, 0.04);
  --shadow-md: 0 4px 24px rgba(10, 36, 99, 0.06);
  --shadow-lg: 0 8px 40px rgba(10, 36, 99, 0.1);
  --radius: 1rem;
  --radius-full: 9999px;
  --transition: all 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-logo img {
  width: 32px;
  height: 32px;
}

.header-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

.header-logo .blue {
  color: var(--blue);
}

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

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
}

.header-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn:active {
  transform: scale(0.95);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: #081d52;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

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

/* Mobile menu */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow-md);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-radius: 0.5rem;
}

.mobile-menu a:hover {
  background: var(--accent-bg);
  color: var(--blue);
}

@media (min-width: 768px) {
  .nav { display: flex; }
  .header-cta { display: block; }
  .mobile-toggle { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, white 40%, rgba(255,255,255,0.7));
}

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

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  background: var(--accent-bg);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: var(--blue);
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2rem;
}

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

.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.hero-card .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.hero-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 0.25rem;
}

.hero-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stats h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.stats p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

@media (min-width: 1024px) {
  .hero { padding: 8rem 0; }
  .hero-grid { grid-template-columns: 3fr 2fr; }
  .hero h1 { font-size: 3.5rem; }
  .stats h3 { font-size: 2.25rem; }
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg);
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  background: var(--accent-bg);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.section-header h2 .highlight {
  color: var(--blue);
}

@media (min-width: 1024px) {
  .section { padding: 7rem 0; }
  .section-header h2 { font-size: 2.5rem; }
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(0, 128, 255, 0.1);
  border-color: rgba(0, 128, 255, 0.2);
  transform: translateY(-4px);
}

.service-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

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

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

.service-card .use-cases {
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 500;
  margin-top: 1rem;
}

/* ===== TWO COLUMN SECTION ===== */
.two-col {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}

.two-col h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.two-col h2 .highlight {
  color: var(--blue);
}

.two-col > div > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.numbered-item .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 128, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  flex-shrink: 0;
}

.numbered-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.numbered-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.two-col img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* ===== VALUES GRID ===== */
.values-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.value-card .check {
  color: var(--blue);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-card h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,128,255,0.05), rgba(240,244,249,0.5), rgba(10,36,99,0.05));
}

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

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
}

@media (min-width: 1024px) {
  .cta-section { padding: 7rem 0; }
  .cta-section h2 { font-size: 2.5rem; }
}

/* ===== PAGE HEADER ===== */
.page-header {
  text-align: center;
  padding: 5rem 0 2rem;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.page-header h1 .highlight {
  color: var(--blue);
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-top: 1.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .page-header { padding: 7rem 0 3rem; }
  .page-header h1 { font-size: 3rem; }
}

/* ===== CONTENT CARD ===== */
.content-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.content-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.content-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.content-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.content-card a {
  color: var(--blue);
}

.content-card a:hover {
  text-decoration: underline;
}

.content-card .sub-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.content-card ul, .content-card ol {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}

.content-card ul { list-style: disc; }
.content-card ol { list-style: decimal; }

.content-card li {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.content-card .note {
  background: var(--accent-bg);
  border: 1px solid rgba(0, 128, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--text);
}

.content-wrapper {
  max-width: 768px;
  margin: 0 auto;
  padding-bottom: 5rem;
}

/* ===== CONTACT ===== */
.contact-cards {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.contact-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.25rem;
}

.contact-card .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.contact-card .value {
  font-weight: 600;
  margin-top: 0.25rem;
}

.contact-card a:hover {
  color: var(--blue);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.contact-form h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.1);
}

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

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 300px;
  margin-top: 1rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.35rem 0;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.footer-bottom a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  background: #dc2626;
}

.toast.success {
  background: #16a34a;
}
