
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9fb;
    color: #333;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white; /* or your preferred background */
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


.logo {
    font-size: 1.8em;
    font-weight: 800;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: white;
    padding: 100px 20px;
    text-align: center;
    border-radius: 0 0 40px 40px;
}

.hero h1 {
    font-size: 2.8em;
    margin-bottom: 12px;
}

.hero p {
    font-size: 1.1em;
    max-width: 650px;
    margin: auto;
    margin-bottom: 24px;
    color: #f0f0f0;
}

.hero button {
    padding: 14px 28px;
    font-size: 1em;
    border: none;
    border-radius: 10px;
    background: white;
    color: #2575fc;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
.hero button:hover {
    transform: scale(1.05);
    background: #f1f1f1;
}

section {
    padding: 70px 20px;
    text-align: center;
}

.video-demo video {
    width: 80%;
    max-width: 720px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.results .stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
}

.results .stats div {
    background: white;
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    min-width: 220px;
    font-weight: bold;
    color: #2575fc;
    font-size: 1.1em;
}

.contact form {
    background: white;
    max-width: 640px;
    margin: auto;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact input, .contact textarea {
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1em;
    width: 100%;
    background: #ffffff;
    color: #000;
}

.contact button {
    padding: 14px;
    border: none;
    background: #6a11cb;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact button:hover {
    background: #5010a1;
}

footer {
    padding: 24px;
    text-align: center;
    background: #f1f1f1;
    font-size: 0.9em;
}

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 40px;
    cursor: pointer;
    font-size: 1.5em;
    transition: transform 0.3s ease;
}
.theme-toggle:hover {
    transform: scale(1.2);
}

/* Dark mode styles */
body.dark-mode {
    background: #0e0e0e;
    color: #e0e0e0;
}
body.dark-mode header,
body.dark-mode footer {
    background: #121212;
    color: #888;
}
body.dark-mode .hero {
    background: linear-gradient(90deg, #1b1b1b, #2d2d2d);
    color: white;
}
body.dark-mode .results .stats div {
    background: #1e1e1e;
    color: #00c3ff;
}
body.dark-mode .contact form {
    background: #1a1a1a;
}
body.dark-mode .contact input,
body.dark-mode .contact textarea {
    background: #121212;
    color: white;
}

/* Smooth transition for theme toggle */
body, header, footer, .hero, .results .stats div, .contact form {
    transition: background-color 0.5s ease, color 0.5s ease;
}

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 40px;
    cursor: pointer;
    font-size: 1.5em;
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
}
.theme-toggle svg {
    position: absolute;
    top: 0;
    left: 0;
}
.theme-toggle:hover {
    transform: scale(1.2);
}

.theme-toggle svg {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}
.theme-toggle svg.show {
    display: block;
}

body.dark-mode .theme-toggle #moon-icon {
    stroke: white;
}

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 40px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.theme-toggle svg.icon {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}
.theme-toggle svg.show {
    display: block !important;
}
.theme-toggle svg.hide {
    display: none !important;
}

/* Absolute toggle fix: sun never shows in dark mode */
body.dark-mode #sun-icon {
    display: none !important;
}
body.dark-mode #moon-icon {
    display: block !important;
}
body:not(.dark-mode) #sun-icon {
    display: block !important;
}
body:not(.dark-mode) #moon-icon {
    display: none !important;
}

body.dark-mode #sun-icon {
    stroke: white;
    display: none !important;
}
body:not(.dark-mode) #sun-icon {
    stroke: black;
    display: block !important;
}
