:root {
    --bg-deep: rgba(4, 15, 32, 1.0);
    --bg-panel: rgba(6, 17, 34, 1.0);
    --text-primary: #F8F9FA;
    --text-secondary: #FAFBFC;
    --accent-metal: rgba(234, 105, 23, 1.0);
    --accent-hover: rgba(254, 168, 52, 1.0);
    --accent-cta: rgba(25, 143, 186, 1.0);
    --accent-cta-hover: rgba(158, 225, 233, 1.0);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Montserrat', serif;
    --max-width: 1200px;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: #fff;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-metal);
}

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

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

.highlight {
    color: var(--accent-metal);
    font-style: normal;
}

/* Navigation */
nav {
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem 0;
    background: rgba(4, 15, 32, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.brand {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.05em;
}

.brand span {
    font-weight: 700;
    color: var(--accent-metal);
}

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

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-metal);
}

.lang-switch {
    border: 1px solid var(--border-subtle);
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.nav-eilo {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-eilo img {
    height: 22px;
    width: auto;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.nav-eilo:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-subtle);
}

.nav-eilo:hover img {
    opacity: 1;
}

/* Hero & Sections */
.hero {
    padding: 8rem 0;
    background: radial-gradient(circle at 80% 20%, rgba(26, 39, 66, 1.0) 0%, var(--bg-deep) 60%);
}

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

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.section-subtitle {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    text-align: center;
}

.eilo-showcase-logo {
    flex: 1;
}

.eilo-showcase-text {
    flex: 2;
}

.eilo-desc {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.eilo-link {
    color: var(--accent-metal);
    font-weight: bold;
    border-bottom: 1px solid;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--accent-metal);
    color: var(--accent-metal);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.btn:hover {
    background: var(--accent-metal);
    color: white;
}

/* Grid Systems */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

/* Service Cards */
.card {
    background: var(--bg-panel);
    padding: 2.5rem;
    border-left: 3px solid var(--accent-metal);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Eilo Showcase */
.eilo-showcase {
    background: linear-gradient(to right, rgba(6, 17, 34, 1.0), rgba(4, 15, 32, 1.0));
    border: 1px solid var(--accent-metal);
    padding: 3rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.eilo-logo {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: #fff;
    letter-spacing: 2px;
}

/* Page Wrapper with Background Accents */
.page-wrapper {
    position: relative;
    overflow: hidden;
}

.bg-accent {
    position: absolute;
    width: 500px;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    opacity: 0.35;
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.bg-accent-1 {
    background-image: url('ENT_CRD_1_BG.png');
    top: -50px;
    right: -50px;
    width: 600px;
    height: 600px;
}

.bg-accent-2 {
    background-image: url('ENT_CRD_3_BG.png');
    top: 50%;
    left: -100px;
    width: 500px;
    height: 500px;
    opacity: 0.3;
}

.bg-accent-3 {
    background-image: url('ENT_CRD_5_BG.png');
    bottom: 5%;
    right: -50px;
    width: 500px;
    height: 500px;
    opacity: 0.25;
}

.page-wrapper .hero,
.page-wrapper .section {
    position: relative;
    z-index: 1;
}

/* Features Panel */
.features-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.features-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-metal), var(--accent-hover), transparent);
}

/* Screenshot Preview */
.screenshot-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 160px;
    position: relative;
}

.screenshot-preview img {
    position: absolute;
    width: 240px;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.screenshot-preview img:nth-child(1) {
    transform: translateX(-160px) rotate(-6deg);
    z-index: 1;
}

.screenshot-preview img:nth-child(2) {
    z-index: 3;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.screenshot-preview img:nth-child(3) {
    transform: translateX(160px) rotate(6deg);
    z-index: 2;
}

.screenshot-preview img:hover {
    z-index: 10;
    transform: scale(2) rotate(0deg) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 0 2px var(--accent-metal);
    border-radius: 12px;
}

/* Test Account Info */
.test-account-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--accent-metal);
    border-radius: 0 8px 8px 0;
}

.test-account-info p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.test-account-info .btn {
    margin-top: 0;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
}

/* About Us */
.about-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 800px;
    line-height: 1.8;
    opacity: 0.85;
}

.founders-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.founder-card {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s, border-color 0.3s;
}

.founder-card:hover {
    transform: translateY(-3px);
    border-color: rgba(234, 105, 23, 0.3);
}

.founder-portrait {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
}

.founder-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-info {
    flex: 1;
    min-width: 0;
}

.founder-name {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #fff;
}

.founder-role {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-metal);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}

.founder-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--accent-metal);
    border-bottom: 1px solid var(--border-subtle);
}

.founder-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.founder-points li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    opacity: 0.85;
}

.founder-points li:first-child {
    font-size: 1.05rem;
    color: #fff;
    opacity: 0.9;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}

.founder-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-metal);
    opacity: 0.7;
}

.founder-mission {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    padding: 1rem 1.25rem;
    background: rgba(234, 105, 23, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(234, 105, 23, 0.12);
}

.mission-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-metal);
    margin-right: 0.5rem;
}

/* Footer */
footer {
    margin-top: auto;
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Tablet */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 5rem 0;
    }

    .section {
        padding: 4rem 0;
    }

    .grid-2 {
        gap: 2rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    /* Navigation */
    .nav-flex {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .brand {
        font-size: 1.2rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
        font-size: 0.8rem;
    }

    .nav-links a {
        padding: 0.4rem 0.6rem;
    }

    .nav-eilo {
        padding: 0.2rem 0.5rem;
    }

    .nav-eilo img {
        height: 18px;
    }

    .lang-switch {
        padding: 0.15rem 0.5rem;
        font-size: 0.7rem;
    }

    /* Typography */
    h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

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

    h3 {
        font-size: 1.2rem;
    }

    /* Hero */
    .hero {
        padding: 3rem 0 2rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        letter-spacing: 1px;
        margin-bottom: 2rem;
    }

    .eilo-showcase-logo,
    .eilo-showcase-text {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .eilo-desc {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

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

    /* Grid */
    .grid-2, .eilo-showcase {
        grid-template-columns: 1fr;
        display: block;
    }

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

    /* Cards */
    .card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    /* Screenshot Preview */
    .screenshot-preview {
        height: 80px;
        margin-bottom: 1rem;
    }

    .screenshot-preview img {
        width: 100px;
    }

    .screenshot-preview img:nth-child(1) {
        transform: translateX(-65px) rotate(-6deg);
    }

    .screenshot-preview img:nth-child(3) {
        transform: translateX(65px) rotate(6deg);
    }

    .screenshot-preview img:hover {
        transform: scale(2.5) rotate(0deg) !important;
    }

    /* Features Panel */
    .features-panel {
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .features-panel ul {
        font-size: 0.9rem;
    }

    /* Test Account Info */
    .test-account-info {
        padding: 1rem;
    }

    .test-account-info .btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        word-break: break-all;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Background Accents */
    .bg-accent {
        width: 200px;
        height: 200px;
        opacity: 0.15;
        filter: blur(30px);
    }

    .bg-accent-1 {
        top: -30px;
        right: -50px;
        width: 250px;
        height: 250px;
    }

    .bg-accent-2 {
        display: none;
    }

    .bg-accent-3 {
        width: 200px;
        height: 200px;
        bottom: 10%;
        right: -30px;
    }

    /* Eilo Showcase */
    .eilo-showcase {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
    }

    .eilo-logo {
        font-size: 2rem;
    }

    /* About Us */
    .about-intro {
        font-size: 1rem;
    }

    .founder-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .founder-portrait {
        width: 120px;
        height: 120px;
    }

    .founder-name {
        font-size: 1.25rem;
    }

    .founder-bio {
        font-size: 0.95rem;
    }

    /* Footer */
    footer {
        padding: 2rem 0;
        font-size: 0.8rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .brand {
        font-size: 1rem;
    }

    .nav-links {
        gap: 0.3rem;
        font-size: 0.7rem;
    }

    .screenshot-preview {
        height: 60px;
    }

    .screenshot-preview img {
        width: 75px;
    }

    .screenshot-preview img:nth-child(1) {
        transform: translateX(-48px) rotate(-5deg);
    }

    .screenshot-preview img:nth-child(3) {
        transform: translateX(48px) rotate(5deg);
    }

    .screenshot-preview img:hover {
        transform: scale(3) rotate(0deg) !important;
    }

    .features-panel ul {
        font-size: 0.8rem;
        line-height: 1.8;
    }

    .test-account-info .btn {
        display: block;
        text-align: center;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .eilo-desc {
        font-size: 0.9rem;
    }

    .eilo-logo {
        font-size: 1.8rem;
    }
}