@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
  --primary: #1a73e8;
  --accent: #ffb300;
  --bg: #f8f9fa;
  --text: #222;
  --card-bg: #fff;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --footer-bg: #fff;
}

body.dark {
  --bg: #181a1b;
  --text: #f1f1f1;
  --card-bg: #23272a;
  --shadow: 0 4px 24px rgba(0,0,0,0.32);
  --footer-bg: #23272a;
}

body, .about-section, .apps-section {
  background: var(--bg);
  color: var(--text);
  transition: background 0.4s, color 0.4s;
}

footer {
  background: var(--footer-bg);
  color: var(--text);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 1rem;
  margin-top: 3rem;
  transition: background 0.4s, color 0.4s;
}

.app-card, .app-card:hover {
  background: var(--card-bg);
  color: var(--text);
  transition: background 0.4s, color 0.4s, box-shadow 0.2s, transform 0.2s;
}

.navbar, .paylog-navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 100;
  background: var(--footer-bg);
  box-shadow: 0 2px 16px rgba(26,115,232,0.08);
  transition: background 0.4s;
}

.dark .nav-link,
body.dark .footer-content a {
  color: #90caf9;
}

.dark .app-link {
  color: #ffb300;
  border-color: #ffb300;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  min-width: 0;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-size: 1.35em;
  line-height: 1.2;
}

header {
  background: var(--footer-bg);
  box-shadow: var(--shadow);
  position: static;
  top: auto;
  z-index: auto;
  transition: background 0.4s;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: var(--footer-bg);
  gap: 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 40px;
  height: 40px;
  margin-right: 0.7rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(26,115,232,0.08);
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}

.brand-nanc {
  display: flex;
  align-items: center;
  margin-right: 1.5rem;
}
.brand-logo-nanc {
  width: 32px;
  height: 32px;
  margin-right: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(26,115,232,0.08);
}
.brand-name-nanc {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  align-items: center;
  margin-right: auto;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-link.active,
.nav-link:hover {
  color: var(--primary);
}

.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #e3f0ff 0%, #f8f9fa 100%);
  text-align: center;
  padding: 4rem 1rem 2rem 1rem;
  position: relative;
  overflow: hidden;
}
body.dark .hero {
  background: linear-gradient(120deg, #23272a 0%, #181a1b 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, #1a73e8 0%, #f8f9fa 80%);
  opacity: 0.12;
  filter: blur(40px);
  animation: hero-bg 8s linear infinite alternate;
  z-index: 0;
}
body.dark .hero::before {
  background: radial-gradient(circle, #1a73e8 0%, #23272a 80%);
  opacity: 0.18;
}
.hero-content { position: relative; z-index: 1; }

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.brand-accent {
  color: var(--accent);
}

.cta-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 2.2rem;
  background: var(--primary);
  color: #fff;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(26,115,232,0.12);
  transition: background 0.2s, transform 0.2s;
  animation: bounce 1.2s infinite alternate;
}

.cta-btn:hover {
  background: #155ab6;
  transform: translateY(-2px) scale(1.04);
}

.about-section, .apps-section {
  max-width: 900px;
  margin: 3rem auto 2rem auto;
  padding: 0 1rem;
  text-align: center;
}

.about-section h2, .apps-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.app-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.app-card {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  width: 320px;
  max-width: 90vw;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, background 0.4s, color 0.4s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: bounce-in 1s;
}

.app-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(26,115,232,0.13);
}

.app-logo {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(26,115,232,0.10);
}

.app-link {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--primary);
  transition: color 0.2s, border-color 0.2s;
}

.app-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-content a {
  color: var(--primary);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s;
}
body.dark .footer-content a {
  color: #90caf9;
}

.footer-content a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .navbar { flex-direction: column; gap: 0.5rem; }
  .app-cards { flex-direction: column; gap: 1.5rem; }
  .app-card { width: 98vw; }
  .hero-content h1 { font-size: 2rem; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--footer-bg);
    position: absolute;
    top: 60px; right: 10px;
    box-shadow: var(--shadow);
    border-radius: 10px;
    padding: 1rem 2rem;
    z-index: 1000;
    transition: background 0.4s;
  }
  body.dark .nav-links {
    background: var(--footer-bg);
  }
  .nav-links.open { display: flex; }
  .about-section, .apps-section {
    padding: 0 4vw;
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .cta-btn, .app-link, .nav-link, #darkModeToggle {
    min-width: 44px;
    min-height: 44px;
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
  .app-card {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
  .brand-logo {
    width: 32px;
    height: 32px;
  }
  .brand-nanc {
    margin-right: 0.7rem;
  }
  .brand-logo-nanc {
    width: 24px;
    height: 24px;
  }
  .brand-name-nanc {
    font-size: 1rem;
  }
}

.fade-in { opacity: 0; animation: fadeIn 1s forwards; }
.fade-in.delay-1 { animation-delay: 0.5s; }
.fade-in.delay-2 { animation-delay: 1s; }
.slide-up { opacity: 0; transform: translateY(30px); animation: slideUp 1s forwards; }
.slide-up.delay-1 { animation-delay: 0.5s; }
.bounce-in { animation: bounce-in 1s; }

@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce-in {
  0% { opacity: 0; transform: scale(0.8) translateY(40px);}
  60% { opacity: 1; transform: scale(1.05) translateY(-8px);}
  100% { opacity: 1; transform: scale(1) translateY(0);}
}
@keyframes bounce {
  to { transform: translateY(-8px) scale(1.04);}
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
}
.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  display: block;
  transition: background 0.3s;
}

#darkModeToggle {
  background: var(--card-bg);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(26,115,232,0.10);
  cursor: pointer;
  margin-left: 1rem;
  transition: background 0.3s, box-shadow 0.3s;
}
#darkModeToggle:hover {
  background: var(--primary);
  box-shadow: 0 4px 16px rgba(26,115,232,0.18);
}
#darkModeIcon {
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
  color: var(--primary);
}
body.dark #darkModeIcon {
  color: #ffb300;
  transform: rotate(-30deg) scale(1.1);
}

html {
  box-sizing: border-box;
  min-width: 0;
  overflow-x: hidden;
}

.app-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  margin-top: 0;
  position: relative;
  color: var(--primary);
  letter-spacing: 0.5px;
}
.app-card h3::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0.5rem auto 0 auto;
}

.paylog-hero-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.paylog-hero-logo {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(26,115,232,0.10);
  background: var(--card-bg);
  flex-shrink: 0;
}
.paylog-hero-text {
  text-align: left;
  max-width: 420px;
}
@media (max-width: 700px) {
  .paylog-hero-flex {
    flex-direction: column;
    gap: 1.2rem;
  }
  .paylog-hero-logo {
    width: 72px;
    height: 72px;
  }
  .paylog-hero-text {
    text-align: center;
    max-width: 98vw;
  }
}

.privacy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 1.2rem;
  padding: 0.8rem 2.2rem;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(26,115,232,0.12);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.privacy-btn:hover {
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(26,115,232,0.18);
}
body.dark .privacy-btn {
  color: #fff;
}

.privacy-panel {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 60vh;
  padding: 2.5rem 0 2rem 0;
  background: none;
}
.privacy-card {
  background: var(--card-bg);
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(26,115,232,0.10);
  padding: 2.5rem 2.2rem 2rem 2.2rem;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  color: var(--text);
  transition: background 0.4s, color 0.4s;
}
.privacy-title {
  font-size: 2.1rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.privacy-meta {
  text-align: center;
  color: #888;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.privacy-section {
  margin-bottom: 1.7rem;
}
.privacy-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.privacy-icon {
  font-size: 1.2em;
  vertical-align: middle;
}
.privacy-list {
  list-style: disc inside;
  margin: 0 0 0.7rem 0.5rem;
  padding: 0 0 0 0.5rem;
  font-size: 1.01rem;
  line-height: 1.7;
}
.privacy-checklist {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0 0;
}
.privacy-checklist li {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 1.01rem;
  margin-bottom: 0.2rem;
}
.privacy-check {
  color: #e53935;
  font-size: 1.2em;
  font-weight: bold;
  margin-right: 0.2em;
}
.privacy-note {
  background: rgba(26,115,232,0.07);
  color: var(--primary);
  border-radius: 10px;
  padding: 0.7em 1em;
  margin: 0.7em 0 0.2em 0;
  font-size: 0.98rem;
}
.privacy-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  word-break: break-all;
}
.privacy-link:hover {
  color: var(--accent);
}
.privacy-intro {
  text-align: center;
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
}
.privacy-agree {
  text-align: center;
  color: #888;
  font-size: 1rem;
  margin-top: 1.7rem;
}
@media (max-width: 700px) {
  .privacy-card {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    border-radius: 14px;
  }
  .privacy-title {
    font-size: 1.3rem;
  }
  .privacy-panel {
    padding: 1.2rem 0 1.2rem 0;
  }
}

.paylog-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 100;
  background: var(--footer-bg);
  box-shadow: 0 2px 16px rgba(26,115,232,0.08);
  padding-left: 0;
  padding-right: 0;
}
.paylog-navbar-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 0.7rem;
  margin-left: 0;
  margin-right: 0;
}
.paylog-navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 2rem;
}
.paylog-navbar .brand-nanc {
  margin-left: 2rem;
}
@media (max-width: 700px) {
  .paylog-navbar {
    flex-direction: row;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }
  .paylog-navbar .brand-nanc {
    margin-left: 0.2rem;
  }
  .paylog-navbar-actions {
    margin-right: 0.2rem;
  }
  .paylog-navbar-center {
    gap: 0.4rem;
  }
}

.paylog-nav-btn {
  background: #e0e0e0;
  color: #222 !important;
  border-radius: 22px;
  padding: 0.5rem 1.4rem;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(26,115,232,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
  outline: none;
  margin-left: 0;
  text-decoration: none;
  display: inline-block;
}
.paylog-nav-btn:hover, .paylog-nav-btn:focus {
  background: #bdbdbd;
  color: #222 !important;
  box-shadow: 0 4px 16px rgba(160,160,160,0.13);
  text-decoration: none;
}

.fab-contact {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  z-index: 2000;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 24px rgba(26,115,232,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.fab-contact:hover, .fab-contact:focus {
  background: var(--accent);
  color: #222;
  box-shadow: 0 8px 32px rgba(255,179,0,0.18);
}

.contact-card {
  position: fixed;
  bottom: 5.5rem;
  right: 2.2rem;
  z-index: 2100;
  background: var(--card-bg);
  color: var(--text);
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(26,115,232,0.13);
  padding: 1.5rem 2rem 1.2rem 2rem;
  min-width: 270px;
  max-width: 90vw;
  display: none;
  flex-direction: column;
  gap: 0.7rem;
  animation: fadeIn 0.4s;
}
.contact-card.open {
  display: flex;
}
.contact-card h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 700;
}
.contact-card p {
  margin: 0 0 0.7rem 0;
  font-size: 1rem;
}
.contact-card .contact-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  word-break: break-all;
}
.contact-card .contact-link:hover {
  color: var(--accent);
}
.contact-card .close-contact {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.3rem;
  cursor: pointer;
  margin-top: -0.7rem;
  margin-bottom: 0.2rem;
  transition: color 0.2s;
}
.contact-card .close-contact:hover {
  color: var(--accent);
}
@media (max-width: 700px) {
  .fab-contact {
    bottom: 1.1rem;
    right: 1.1rem;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
  .contact-card {
    bottom: 4.2rem;
    right: 1.1rem;
    padding: 1rem 0.7rem 1rem 0.7rem;
    min-width: 180px;
  }
} 