:root {
    --background-hsl: 240 5% 96%;
    --foreground-hsl: 240 10% 3.9%;
    --card-hsl: 240 5% 96%;
    --card-foreground-hsl: 240 10% 3.9%;
    --primary-hsl: 262.1 83.3% 57.8%;
    --primary-foreground-hsl: 210 20% 98%;
    --secondary-hsl: 240 4.8% 95.9%;
    --secondary-foreground-hsl: 240 5.9% 10%;
    --muted-hsl: 240 4.8% 95.9%;
    --muted-foreground-hsl: 240 3.8% 46.1%;
    --accent-hsl: 240 4.8% 95.9%;
    --accent-foreground-hsl: 240 5.9% 10%;
    --destructive-hsl: 0 84.2% 60.2%;
    --destructive-foreground-hsl: 0 0% 98%;
    --border-hsl: 240 5.9% 90%;
    --input-hsl: 240 5.9% 90%;
    --ring-hsl: 262.1 83.3% 57.8%;
    --radius: 1rem;

    --background: hsl(var(--background-hsl));
    --foreground: hsl(var(--foreground-hsl));
    --card: hsl(var(--card-hsl));
    --card-foreground: hsl(var(--card-foreground-hsl));
    --primary: hsl(var(--primary-hsl));
    --primary-foreground: hsl(var(--primary-foreground-hsl));
    --secondary: hsl(var(--secondary-hsl));
    --secondary-foreground: hsl(var(--secondary-foreground-hsl));
    --muted: hsl(var(--muted-hsl));
    --muted-foreground: hsl(var(--muted-foreground-hsl));
    --accent: hsl(var(--accent-hsl));
    --accent-foreground: hsl(var(--accent-foreground-hsl));
    --destructive: hsl(var(--destructive-hsl));
    --destructive-foreground: hsl(var(--destructive-foreground-hsl));
    --border: hsl(var(--border-hsl));
    --input: hsl(var(--input-hsl));
    --ring: hsl(var(--ring-hsl));

    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: url('/wallpapers/Light.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: hsla(var(--background-hsl), 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 12px;
}

.logo a {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav .nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--primary);
}

/* Buttons */
.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.button-primary:hover {
    background-color: hsl(var(--primary-hsl), 0.9);
}

.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--input);
    background-color: transparent;
    color: var(--foreground);
}

.button-secondary:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: hsla(var(--background-hsl), 0.5);
    text-align: center;
    padding: 6rem 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: hsl(var(--foreground-hsl), 0.7);
}

.button-primary.large {
    font-size: 1rem;
    padding: 0.8rem 2rem;
}

/* Features Overview */
.features-overview {
    padding: 5rem 0;
    text-align: center;
    background-color: hsl(var(--secondary-hsl), 0.8);
    backdrop-filter: blur(5px);
}

.features-overview h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

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

.feature-card {
    background: hsla(var(--card-hsl), 0.7);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    text-align: left;
    border: 1px solid var(--border);
}

.feature-card img {
    height: 50px;
    margin-bottom: 1.5rem;
    background-color: hsl(var(--primary-hsl), 0.1);
    padding: 10px;
    border-radius: 0.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--muted-foreground);
}

.cta-banner {
    margin-top: 4rem;
    background-color: hsla(var(--accent-hsl), 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.cta-banner h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Page Header */
.page-header {
    background-color: hsla(var(--background-hsl), 0.5);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}
.page-header p {
    font-size: 1.2rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: auto;
}

/* Feature Detail Page */
.feature-detail {
    padding: 4rem 0;
    background-color: hsla(var(--secondary-hsl), 0.8);
    backdrop-filter: blur(5px);
}
.feature-item {
    background: hsla(var(--card-hsl), 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border);
}
.feature-item h3 {
    font-size: 1.8rem;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.feature-item ul {
    list-style: none;
    padding-left: 0;
}
.feature-item ul li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}
.feature-item ul li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* About & Contact Pages */
.about-content {
    padding: 4rem 0;
    background-color: hsla(var(--secondary-hsl), 0.8);
}
.about-content .container {
    max-width: 800px;
    background: hsla(var(--card-hsl), 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.about-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--muted-foreground);
}

.contact-form-section {
    padding: 4rem 0;
    background-color: hsla(var(--secondary-hsl), 0.8);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem;
    background: hsla(var(--card-hsl), 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    display: flex;
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--input);
    background-color: transparent;
    padding: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--foreground);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--ring-hsl));
    box-shadow: 0 0 0 1px hsl(var(--ring-hsl));
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    display: none;
    text-align: center;
}
.form-status.success {
    background-color: hsla(142, 71%, 45%, 0.1);
    color: hsl(142, 71%, 35%);
    border: 1px solid hsl(142, 71%, 40%);
    display: block;
}
.form-status.error {
    background-color: hsla(var(--destructive-hsl), 0.1);
    color: hsl(var(--destructive-hsl));
    border: 1px solid hsla(var(--destructive-hsl), 0.5);
    display: block;
}

/* Footer */
footer {
    background: hsl(var(--secondary-hsl));
    padding: 3rem 0;
    text-align: center;
    color: var(--muted-foreground);
    margin-top: 4rem;
}
footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    margin: 0 0.75rem;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    nav .nav-links, header nav .button-primary {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
        z-index: 101;
        width: 30px;
        height: 30px;
        position: relative;
    }

     .mobile-nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--foreground);
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }
    .mobile-nav-toggle span:nth-child(1) { top: 6px; }
    .mobile-nav-toggle span:nth-child(2) { top: 14px; }
    .mobile-nav-toggle span:nth-child(3) { top: 22px; }

    .mobile-nav-toggle.is-active span:nth-child(1) {
        transform: rotate(45deg);
        top: 14px;
    }
    .mobile-nav-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-nav-toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 14px;
    }

    nav.mobile-nav-active {
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--background);
        padding: 2rem;
        box-shadow: var(--box-shadow);
        text-align: center;
        border-bottom: 1px solid var(--border);
    }

    nav.mobile-nav-active .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

     nav.mobile-nav-active .button-primary {
        display: block;
        margin-top: 1.5rem;
    }

    .hero h1 { font-size: 2.5rem; }
    .features-overview h2, .page-header h1 { font-size: 2.2rem; }

    footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}
