:root {
    /* Color Palette - Purple/Indigo Theme */
    --primary-color: #6366f1;
    /* Indigo 500 */
    --primary-dark: #4f46e5;
    /* Indigo 600 */
    --secondary-color: #64748b;
    /* Slate 500 */

    /* Backgrounds */
    --bg-body: #f8fafc;
    /* Slate 50 */
    --bg-hero: #0f172a;
    /* Slate 900 */
    --surface-card: #ffffff;

    /* Text */
    --text-main: #334155;
    /* Slate 700 */
    --text-heading: #1e293b;
    /* Slate 800 */
    --text-hero: #f1f5f9;
    /* Slate 100 */
    --text-muted: #94a3b8;
    /* Slate 400 */

    /* Borders & Effects */
    --border-color: #e2e8f0;
    /* Slate 200 */
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    --font-main: 'Inter', sans-serif;
    --max-width: 1200px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    color: var(--text-hero);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.text-gradient {
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-hero);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    /* Dark background for nav */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
}

.nav-links a:not(.btn-primary):hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-hero);
    perspective: 2000px;
    /* Add perspective for 3D effect */
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 4rem;
    z-index: 10;
    position: relative;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    margin-left: auto;
    margin-right: auto;
}

.hero-image-container {
    width: 100%;
    max-width: 1100px;
    position: relative;
    z-index: 1;
    /* The magic happens here */
    transform-style: preserve-3d;
    transform: rotateX(20deg) scale(0.9);
    transition: transform 0.5s ease-out;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 16px;
    padding: 8px;
    /* Inner border spacing */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 50px -10px rgba(0, 0, 0, 0.5),
        0 0 100px -20px rgba(99, 102, 241, 0.3);
    /* Glow */
    backdrop-filter: blur(10px);
}

.hero-img {
    width: 100%;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover effect for interactivity */
.hero-image-container:hover {
    transform: rotateX(10deg) scale(0.95);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

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

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

.card,
.feature-item {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.card:hover,
.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.card h3,
.feature-item h3 {
    margin-bottom: 1rem;
    color: var(--text-heading);
}

/* Footer */
.footer {
    padding: 4rem 0;
    background-color: white;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-col .logo {
    color: var(--text-heading);
}

.footer-col h4 {
    color: var(--text-heading);
    margin-bottom: 1.5rem;
}

.footer-col a {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.footer-col a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-hero);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    h1 {
        font-size: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Trusted By Section */
.trusted-by {
    padding: 2rem 0;
    background: var(--bg-hero);
    border-bottom: 1px solid var(--glass-border);
}

.trusted-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logo-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.logo-item {
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    /* Placeholder style */
}

/* Highlight Sections */
.highlight-section {
    padding: 6rem 0;
}

.highlight-section.alt-bg {
    background-color: #f1f5f9;
    /* Light gray for contrast */
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.highlight-grid.reverse .highlight-content {
    order: 2;
}

.highlight-grid.reverse .highlight-image {
    order: 1;
}

.highlight-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    color: var(--text-main);
}

.feature-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 0.75rem;
}

.dummy-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {

    .highlight-grid,
    .highlight-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .logo-grid {
        gap: 1.5rem;
    }
}