:root {
    --primary: #635bff;
    --text-dark: #222;
    --text-light: #555;
    --bg-light: #f9fafb;
    --max-width: 1000px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Roboto, sans-serif;
}

body {
    background: white;
    color: var(--text-dark);
    line-height: 1.6;
}

header {
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;      /* vertically align */
    gap: 6px;                 /* space between image and text */
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
}

.logo img {
    height: 36px;             /* control logo size */
    width: auto;
    display: block;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary);
}

.hero {
    text-align: center;
    padding: 5rem 1rem 4rem;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.cta-btn:hover {
    background: #5046e4;
    transform: translateY(-2px);
}

section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1rem;
}

section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 2rem;
    transition: box-shadow 0.3s;
}

.feature:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.feature h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 1.1rem;
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.steps {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
}

.steps li {
    background: white;
    border-left: 4px solid var(--primary);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
}

footer {
    text-align: center;
    background: var(--bg-light);
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    border-top: 1px solid #eee;
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

@media (max-width: 600px) {
    .hero h1 {
    font-size: 1.8rem;
    }
    .nav {
    flex-direction: column;
    }
    nav a {
    margin: 0.5rem 0;
    }
}

table {
width: 100%;
border-collapse: collapse;
font-family: Arial, sans-serif;
margin: 20px 0;
text-align: left;
}

th, td {
padding: 12px 16px;
border-bottom: 1px solid #e0e0e0;
}

th {
background-color: #f8f8f8;
font-weight: 600;
}

tr:hover {
background-color: #f1f1f1;
}

td {
vertical-align: middle;
}

table tr:last-child td {
border-bottom: none;
}

table th:first-child, table td:first-child {
width: 40%;
}

table th:nth-child(2), table td:nth-child(2),
table th:nth-child(3), table td:nth-child(3) {
text-align: center;
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(22px);
}
/*Pricing page*/
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1rem;
}

.plan {
    border: 1px solid #eee;
    border-radius: 10px;
    text-align: center;
    padding: 2rem 1.5rem;
    transition: box-shadow 0.3s;
}

.plan:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.plan h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.plan h1 {
    font-size: 2rem;
    margin: 0.5rem 0;
}

.plan small {
    color: var(--text-light);
    display: block;
    margin-bottom: 1rem;
}

.plan ul {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.plan ul li {
    margin: 0.4rem 0;
}