body {
    font-family: sans-serif;
    background: #f7f7f7;
    margin: 0;
    padding: 0;
    color: #333;
}
header {
    background: #6C2BD9;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    font-size: 20px;
    font-family: 'Oswald', sans-serif;
    position: relative;
}

header .btn {
    display: inline-block;
    margin-top: 1rem;
    background: white;
    color: #6C2BD9;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.features, #early-access {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
}
.features-heading {
    display: flex;
    align-items: center;
    gap: 10px; 
}
.card-container {
    display:flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 15px;
}
.box {
  width: 150px; 
  padding: 20px;
  background-color: #e0e0e0;
  border-radius: 10px; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.box .icon {
  width: 45px; 
  height: auto; 
  margin-bottom: 10px; 
}

.box .title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.box .description {
  margin: 5px 0 0;
  font-size: .9rem;
  color: #555;
  line-height: 1.4;
}

.box:hover {
    transform: scale(1.05) skewX(0deg); /* Slightly enlarges the card and straightens the skew */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Makes the shadow more prominent */
}

@media (min-width: 992px) {
    .card-container {
        flex-wrap: nowrap; /* Prevents wrapping on desktop, forcing a single row */
    }
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    border-radius: 5px;
    box-sizing: border-box;
}
input[type="name"] {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
  
}
.waitlist-heading {
    display:flex;
    align-items: center; 
    gap: 10px;
}

form label {
    display: block; 
    margin-bottom: 10px; 
    font-size: 1rem;
    font-weight: bold;
} 
form textarea {
    width: 100%; 
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: sans-serif;
    font-size: 1rem;
    box-sizing: border-box; 
}
button {
    padding: 1rem;
    background: #6C2BD9;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
footer {
    text-align: center;
    padding: 1rem;
    background: #eee;
    margin-top: 2rem;
}

/* Dark mode styles */
body.dark-mode {
    background: #121212;
    color: #eee;
}

body.dark-mode header {
    background: #333;
}

body.dark-mode header .btn {
    background: #555;
    color: #fff;
}

body.dark-mode .features {
    background: #1e1e1e;
}

body.dark-mode .box {
    background: #3d3d3d;
}
body.dark-mode .box .description {
    color: #eee;
}

body.dark-mode input,
body.dark-mode textarea{
    color: #8b8b8b; 
    opacity: 0.8; 
}

body.dark-mode footer {
    background: #222;
    color: #eee;
}

/* Toggle switch */
.toggle-container {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background-color: #2196F3;
}

.switch input:checked + .slider:before {
    transform: translateX(26px);
}
