:root {
    --primary: #6C63FF;
    --primary-hover: #5b53d8;
    --primary-light: rgba(108, 99, 255, 0.1);
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #1A1A24;
    --text-main: #2D3748;
    --text-muted: #718096;
    --border-color: #E2E8F0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Image Fade-in on Load */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img.loaded {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.bg-light {
    background-color: var(--bg-light);
}

.bg-white {
    background-color: var(--bg-white);
}

.text-center {
    text-align: center;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.text-reveal {
    animation: slideUp 0.8s ease-out forwards;
}

/* Typography & Buttons */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: #1A202C;
}

h1 span {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.25);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(108, 99, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: #CBD5E0;
}

.w-100 {
    width: 100%;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.navbar .logo {
    font-size: 24px;
    font-weight: 800;
    color: #1A202C;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.navbar .logo span {
    color: var(--primary);
}

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

.nav-links li a {
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-links li a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 120px 5% 60px;
    position: relative;
    background: radial-gradient(circle at top right, var(--primary-light), transparent 50%);
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

.hero-image {
    position: relative;
    max-width: 500px;
    height: 550px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(108, 99, 255, 0.2));
}

/* Industries Section */
.industries {
    padding: 60px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.industries-title {
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 32px;
}

.industries-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.industry-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.industry-badge i {
    color: var(--primary);
    font-size: 1.25rem;
}

.industry-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(108, 99, 255, 0.3);
    background: var(--bg-white);
}

/* Features */
.features {
    padding: 100px 0;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

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

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(108, 99, 255, 0.2);
}

.icon-box {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* App Screenshots Gallery */
.gallery {
    padding: 100px 0;
    overflow: hidden;
}

.gallery-scroll-container {
    width: 100%;
    margin-top: 48px;
    overflow-x: auto;
    padding: 20px 5%;
    /* Hide scrollbar for cleaner look but still scrollable */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.gallery-scroll-container::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: flex;
    gap: 32px;
    /* Allow track to comfortably fit all items without squishing */
    width: max-content;
    padding-bottom: 20px;
}

.gallery-item {
    height: 500px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
    background-color: var(--bg-light);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-info>p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.125rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}

.info-item i {
    font-size: 24px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 12px;
    border-radius: 12px;
}

.info-item h4 {
    margin-bottom: 4px;
    font-size: 1.125rem;
}

.info-item p {
    color: var(--text-muted);
}

.contact-form-container {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1A202C;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: border-color 0.2s;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-status {
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
}

.form-status.success {
    color: #10B981;
}

.form-status.error {
    color: #EF4444;
}

/* Privacy Page Specific */
.page-header {
    padding: 120px 0 60px;
    border-bottom: 1px solid var(--border-color);
}

.page-header p {
    color: var(--text-muted);
    margin-top: 8px;
}

.policy-content {
    margin: 60px auto;
    padding: 40px;
}

.rounded-box {
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.policy-content h2 {
    margin: 40px 0 16px;
    font-size: 1.5rem;
}

.policy-content p,
.policy-content ul {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.policy-content ul {
    margin-left: 24px;
}

.policy-content li {
    margin-bottom: 8px;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 80px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand .logo {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand p {
    color: #A0AEC0;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4,
.footer-cta h4 {
    margin-bottom: 24px;
    color: #fff;
    font-size: 1.125rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: #A0AEC0;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #A0AEC0;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-image {
        margin-top: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .contact-form-container {
        padding: 24px;
    }

    /* Hide header/navbar on mobile for Webview optimization */
    .privacy-page .navbar,
    .privacy-page .page-header {
        display: none;
    }

    .privacy-page .policy-content {
        margin-top: 20px;
    }
}

@media (max-width: 500px) {
    .navbar {
        padding: 15px 5%;
    }

    .navbar .btn-primary {
        display: none !important;
        /* Hide header button on very small screens to avoid overlap */
    }

    .navbar .logo {
        font-size: 20px;
    }

    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .industry-badge {
        font-size: 0.875rem;
        padding: 8px 16px;
    }

    .container {
        padding: 0 6%;
    }

    .section-title {
        font-size: 2rem;
    }
}