/* --- Global Variables & Resets --- */
:root {
    --primary: #0A2540;       /* Deep navy blue */
    --accent: #635BFF;        /* Vibrant tech purple/blue */
    --accent-hover: #4A44D4;
    --text-dark: #32325D;
    --text-light: #6B7C93;
    --bg-white: #FFFFFF;
    --bg-gray: #F6F9FC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--accent);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--primary);
    text-decoration: none;
    border: 2px solid var(--primary);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

/* --- Navigation --- */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-login {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    border: 1px solid #E6EBF1;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: var(--bg-gray);
}

/* --- Hero Section --- */
.hero {
    background-color: var(--bg-gray);
    padding: 6rem 0;
    text-align: center;
    border-bottom: 1px solid #E6EBF1;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}

/* --- Trust Banner --- */
.trust-banner {
    background-color: var(--primary);
    color: var(--bg-white);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 1.1rem;
}

/* --- Platform Overview (Products) --- */
.platform-overview {
    padding: 5rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid #E6EBF1;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.product-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- Philosophy / Story Section --- */
.philosophy {
    background-color: var(--bg-gray);
    padding: 5rem 0;
    border-top: 1px solid #E6EBF1;
    border-bottom: 1px solid #E6EBF1;
}

.philosophy-content {
    display: flex;
    justify-content: center;
    text-align: center;
}

.text-block h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.text-block p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--primary);
    color: #A0ABC0;
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul a {
    text-decoration: none;
    color: #A0ABC0;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #2D3748;
    padding-top: 2rem;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #A0ABC0;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--bg-white);
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}

/* --- Scroll Animation States --- */

/* Initial state: Hidden and slightly shifted down */
.product-card, 
.section-title, 
.section-subtitle, 
.text-block {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* For elements inside a grid, adding a slight staggered delay looks great */
.product-card:nth-child(1) { transition-delay: 0.1s; }
.product-card:nth-child(2) { transition-delay: 0.2s; }
.product-card:nth-child(3) { transition-delay: 0.3s; }

/* Animated state: triggered by JavaScript */
.animate-visible {
    opacity: 1;
    transform: translateY(0);
}
