:root {
    /* Color Palette - Tech Automation Theme */
    --bg-dark: #051024;
    --bg-darker: #030814;
    --bg-card: rgba(14, 28, 48, 0.4);
    --bg-card-hover: rgba(26, 45, 75, 0.6);

    --accent-cyan: #20a4f3;
    --accent-orange: #e67e22;
    --accent-yellow: #fecd35;
    --accent-light: #bde0ff;

    --text-main: #f0f0f5;
    --text-muted: #a3a1bc;

    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Outfit', sans-serif;
}

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

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-orange));
    color: #fff;
    box-shadow: 0 4px 15px rgba(32, 164, 243, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(32, 164, 243, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(4, 3, 10, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-image {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.logo-main {
    font-family: 'Allerta Stencil', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-main .highlight {
    color: var(--accent-orange);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

.logo-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-left: 6px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-light);
}

.btn-nav {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid var(--glass-border);
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
}

.btn-paypal {
    background: #00457C;
    border-color: #0079C1;
    color: #fff !important;
    font-weight: 600;
}

.btn-paypal:hover {
    background: #0079C1;
    border-color: #00457C;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 121, 193, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(32, 164, 243, 0.15), transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-text-wrapper {
    max-width: 100%;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(159, 92, 245, 0.1);
    border: 1px solid rgba(159, 92, 245, 0.2);
    border-radius: 20px;
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--accent-yellow);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Blend the image edges smoothly into the background */
    -webkit-mask-image: radial-gradient(circle at center, black 45%, transparent 75%);
    mask-image: radial-gradient(circle at center, black 45%, transparent 75%);
}

.hero-graphic {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Overview Section */
.overview {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(4, 3, 10, 0.8));
    position: relative;
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.overview-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
    opacity: 0;
    transition: var(--transition);
}

.overview-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.overview-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(32, 164, 243, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-cyan);
}

.overview-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #fff;
}

.overview-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(32, 164, 243, 0.15), transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.cta-container {
    display: flex;
    gap: 60px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 60px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-form-wrapper {
    flex: 1;
    background: rgba(4, 3, 10, 0.5);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.05);
}

.form-group option {
    background: var(--bg-darker);
    color: #fff;
}

.submit-btn {
    width: 100%;
}

/* Footer */
footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.link-group a,
.link-group p {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .cta-container {
        flex-direction: column;
        padding: 40px;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-links {
        gap: 40px;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-darker);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--glass-border);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
        gap: 60px;
    }
    
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .tagline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .cta-form-wrapper {
        padding: 24px;
    }
}