/* --- Global Styles & Resets --- */
:root {
    --color-blue-100: #DBEAFE;
    --color-blue-200: #BFDBFE;
    --color-blue-600: #2563EB;
    --color-blue-700: #1D4ED8;
    --color-green-100: #D1FAE5;
    --color-green-600: #059669;
    --color-purple-100: #E9D5FF;
    --color-purple-600: #9333EA;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;
    --color-white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--color-gray-50);
    color: var(--color-gray-800);
    line-height: 1.6;
}



.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem; /* Corresponds to px-6 */
}

.brand-logo {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
}

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

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

h1, h2, h3 {
    line-height: 1.2;
    color: var(--color-gray-900);
}

h1 { font-size: 44px; font-weight: 500; } /* text-4xl font-extrabold */
h2 { font-size: 44px; font-weight: 500; } /* text-3xl font-bold */
h3 { font-size: 22px; font-weight: 500; } /* text-xl font-bold */


/* --- Header & Navigation --- */
.main-header {
    background-color: var(--color-white);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-blue-700);
}

.nav-links {
    display: none; /* hidden */
}

.nav-links a {
    color: var(--color-gray-600);
}

.nav-links a:hover {
    color: var(--color-blue-700);
}

.nav-button {
    display: none; /* hidden */
    background-color: var(--color-blue-600);
    color: var(--color-white);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
}

.nav-button:hover {
    background-color: var(--color-blue-700);
}


/* --- Hero Section --- */
.hero-gradient {
    background: radial-gradient(circle at top, rgba(29, 78, 216, 0.1), transparent 70%);
}

.hero-section {
    padding-top: 6rem;
    padding-bottom: 4rem;
    text-align: center;
}

.hero-content {
    max-width: 56rem; /* max-w-4xl */
    margin: 0 auto;
}

.endorsement-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    margin-bottom: 1rem;
    border-radius: 9999px;
    background-color: #EBF4FF;
    color: var(--color-blue-600);
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid #90CDF4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.endorsement-badge svg {
    margin-right: 6px;
}

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

.hero-content p {
    max-width: 42rem; /* max-w-2xl */
    margin: 1.5rem auto 0;
    font-size: 1.125rem;
    color: var(--color-gray-600);
}

.hero-buttons {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem; /* space-x-4 */
}

.btn {
    display: inline-block;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-blue-600);
    color: var(--color-white);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(29, 78, 216, 0.3), 0 4px 6px -2px rgba(29, 78, 216, 0.1);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-blue-600);
    border: 1px solid var(--color-gray-300);
}

.btn-secondary:hover {
    background-color: var(--color-gray-100);
}

.hero-image {
    margin-top: 4rem;
}

.hero-image img {
    margin: 0 auto;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 42rem;
}


/* --- General Section & Grid Styles --- */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: var(--color-gray-600);
}

.grid-3-cols {
    display: grid;
    gap: 2rem;
}

/* --- Why Section --- */
.section-why {
    background-color: var(--color-white);
}
.why-card {
    background-color: var(--color-gray-50);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--color-gray-200);
    text-align: center;
}
.why-card p {
    margin-top: 0.5rem;
    color: var(--color-gray-600);
}
.icon-wrapper {
    display: inline-flex;
    padding: 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}
.icon-wrapper i { width: 2rem; height: 2rem; }
.icon-wrapper.bg-blue { background-color: var(--color-blue-100); color: var(--color-blue-600); }
.icon-wrapper.bg-green { background-color: var(--color-green-100); color: var(--color-green-600); }
.icon-wrapper.bg-purple { background-color: var(--color-purple-100); color: var(--color-purple-600); }


/* --- Features Section --- */
.section-features { background-color: var(--color-gray-50); }

.feature-card {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-card h3 { font-size: 1.125rem; font-weight: 600; }
.feature-card p { color: var(--color-gray-600); }

.icon-wrapper-small {
    background-color: var(--color-blue-100);
    color: var(--color-blue-600);
    padding: 0.75rem;
    border-radius: 9999px;
    flex-shrink: 0;
}
.icon-wrapper-small i { width: 1.5rem; height: 1.5rem; }


/* --- Applications Section --- */
#applications { background-color: var(--color-white); }
.application-card {
    background-color: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    padding: 1.5rem;
    border-radius: 0.5rem;
}
.application-card i {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--color-blue-600);
    margin-bottom: 1rem;
}
.application-card h3 { margin-bottom: 0.5rem; }
.application-card p { color: var(--color-gray-600); }


/* --- Gallery Section --- */
.section-gallery { background-color: var(--color-gray-50); }
.gallery-grid {
    display: grid;
    gap: 1.5rem;
}
.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* --- Tech Specs Section --- */
#specs { background-color: var(--color-white); }
.specs-table-wrapper {
    max-width: 42rem;
    margin: 0 auto;
    background-color: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: 0.5rem;
    overflow: hidden;
}
table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}
table td {
    padding: 1rem 1.5rem;
}
table tbody tr {
    border-bottom: 1px solid var(--color-gray-200);
}
table tbody tr:last-child {
    border-bottom: none;
}
table tbody tr:hover {
    background-color: var(--color-gray-100);
}
table td:first-child {
    font-weight: 500;
    color: var(--color-gray-700);
}

/* --- Call to Action (CTA) Section --- */
.section-cta {
    background-color: var(--color-blue-700);
    color: var(--color-white);
    text-align: center;
}
.section-cta p {
    color: var(--color-blue-200);
    max-width: 42rem;
    margin: 1rem auto 0;
}
.cta-button-wrapper {
    margin-top: 2rem;
}
.btn-cta {
    background-color: var(--color-white);
    color: var(--color-blue-700);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.btn-cta:hover {
    transform: scale(1.05);
}


/* --- Footer --- */
.main-footer {
    background-color: var(--color-gray-800);
    color: var(--color-white);
    text-align: center;
    padding: 2rem 0;
}
.footer-subtext {
    margin-top: 0.5rem;
    color: var(--color-gray-300);
}

/* --- Responsive Styles --- */

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    h1 { font-size: 3.75rem; } /* md:text-6xl */
    h2 { font-size: 2.25rem; } /* md:text-4xl */

    .nav-links {
        display: flex;
        gap: 2rem; /* space-x-8 */
    }
    .nav-button {
        display: inline-block;
    }
    
    .grid-3-cols {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-span-item {
        grid-column: span 2 / span 2;
    }
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-span-item {
        grid-column: span 1 / span 1; /* Reset span for 3-col layout */
    }
}

/* Small devices (phones, 480px and down) - Table Fix */
@media (max-width: 480px) {
    #specs table thead {
        display: none;
    }
    #specs table tbody,
    #specs table tr,
    #specs table td {
        display: block;
        width: 100%;
    }
    #specs table tr {
        padding: 12px 0;
        border-bottom: 1px solid var(--color-gray-200);
    }
    #specs table td:first-child {
        font-weight: 700;
        color: var(--color-gray-800);
        margin-bottom: 0.5rem;
    }
    #specs table td {
        text-align: left;
        padding: 0.25rem 1.5rem;
    }
}