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


:root {
  --bg: #fff;
  --fg: #202124;
  --accent: #1a73e8;
  --accent-blue: #4285f4;
  --accent-red: #db4437;
  --accent-yellow: #f4b400;
  --accent-green: #0f9d58;
  --muted: #5f6368;
  --card: #f8f9fa;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(60, 64, 67, 0.2);
  font-family: 'Roboto', system-ui, sans-serif;
}

html[data-theme="dark"] {
  --bg: #0e0f11;
  --fg: #f1f3f4;
  --accent: #8ab4f8;
  --accent-blue: #8ab4f8;
  --accent-red: #f28b82;
  --accent-yellow: #fdd663;
  --accent-green: #81c995;
  --muted: #9aa0a6;
  --card: #1f2022;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

body {
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
  scroll-behavior: smooth;
}


header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--card);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  cursor: pointer;
}

.logo span {
  transition: color 0.4s ease-in-out, transform 0.3s ease;
  display: inline-block;
}

.logo:hover span {
  animation: wave 0.6s forwards;
}

@keyframes wave {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
  }
}


.logo:hover span:nth-child(1) {
  color: var(--accent-blue);
}
.logo:hover span:nth-child(2) {
  color: var(--accent-red);
}
.logo:hover span:nth-child(3) {
  color: var(--accent-yellow);
}
.logo:hover span:nth-child(4) {
  color: var(--accent-blue);
}
.logo:hover span:nth-child(5) {
  color: var(--accent-green);
}
.logo:hover span:nth-child(6) {
  color: var(--accent-red);
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--fg);
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

nav a:nth-child(1) {
  --link-clr: var(--accent-blue);
}

nav a:nth-child(2) {
  --link-clr: var(--accent-red);
}

nav a:nth-child(3) {
  --link-clr: var(--accent-yellow);
}

nav a:nth-child(4) {
  --link-clr: var(--accent-green);
}

nav a:nth-child(5) {
  --link-clr: var(--accent-blue);
}

nav a:nth-child(6) {
  --link-clr: var(--accent-red);
}

nav a:hover {
  color: var(--link-clr);
}

nav a .material-icons {
  font-size: 20px;
  color: var(--link-clr);
  filter: drop-shadow(0 0 2px var(--link-clr));
  transition: filter 0.2s;
}

nav a:hover .material-icons {
  filter: drop-shadow(0 0 5px var(--link-clr));
}


.header-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle,
.app-launcher-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--accent);
}


.app-launcher {
  position: absolute;
  top: 60px;
  right: 1rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  grid-template-columns: repeat(3, 64px);
  gap: 1rem;
  padding: 1rem;
  display: none;
  z-index: 200;
}

.app-launcher a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--fg);
  font-size: 0.75rem;
  transition: transform 0.2s, color 0.2s;
}

.app-launcher a:hover {
  transform: scale(1.1);
}

.app-launcher a:nth-child(1):hover {
  color: var(--accent-blue);
}

.app-launcher a:nth-child(2):hover {
  color: var(--accent-red);
}

.app-launcher .material-icons {
  font-size: 32px;
}


.hero {
  text-align: center;
  padding: 4rem 2rem;
  background-image: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
  transition: background 0.3s;
}


.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #1669c1;
}


.apps {
  padding: 3rem 2rem;
  text-align: center;
}

.apps h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.app-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.app-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 20px rgba(60, 64, 67, 0.3);
  border: 1px solid var(--accent);
}

.app-card .material-icons {
  font-size: 80px;
  margin-bottom: 1rem;
}

.app-card:nth-child(1) .material-icons {
  color: var(--accent-blue);
}

.app-card:nth-child(2) .material-icons {
  color: var(--accent-red);
}

.app-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.app-card p {
  font-size: 0.95rem;
  color: var(--muted);
}


.features {
  background: var(--card);
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto 3rem auto;
  text-align: left;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.features ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 0;
}

.features li {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow);
  transition: background-color 0.3s;
}

.features li:hover {
  background-color: var(--accent-blue);
  color: white;
}

.features li:hover .material-icons {
  filter: drop-shadow(0 0 5px white);
}

.features .material-icons {
  font-size: 36px;
  flex-shrink: 0;
  color: var(--accent-blue);
  margin-top: 4px;
  transition: filter 0.3s;
}

.faq {
  max-width: 700px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem 3rem 1rem;
  color: var(--fg);
  font-family: 'Roboto', system-ui, sans-serif;
}

.faq h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--accent);
}

.faq details {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.faq details:hover {
  background-color: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
  color: #fff;
}

.faq summary {
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
  outline: none;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "▶";
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.25s ease-in-out;
  color: var(--accent);
}

.faq details[open] summary::before {
  transform: rotate(90deg);
}



.testimonials {
  padding: 3rem 2rem;
  background: var(--card);
  max-width: 900px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.testimonial-card {
  background: var(--bg);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.no-testimonials {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
}

.faq {
  padding: 3rem 2rem;
  background: var(--card);
  max-width: 900px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.faq h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.faq-card {
  background: var(--bg);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.no-faq {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
}


.faq-card cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  margin-top: 1rem;
  color: var(--fg);
  text-align: right;
}

.faq-card cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  margin-top: 1rem;
  color: var(--fg);
  text-align: right;
}

.about {
  background: var(--card);
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.5;
}


footer {
  background: var(--card);
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  transition: background 0.3s;
}



html[data-theme="dark"] .faq details {
  background: var(--card);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .faq details:hover {
  background-color: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(138, 180, 248, 0.5);
  color: #fff;
}


html[data-theme="dark"] .hero {
  background-image: linear-gradient(135deg, #1c1f26 0%, #0e0f11 100%);
}