:root {
    --primary-color: #0f172a; /* Slate 900 */
    --secondary-color: #334155; /* Slate 700 */
    --accent-color: #3b82f6; /* Blue 500 */
    --accent-glow: #60a5fa; /* Blue 400 */
    --highlight: #f59e0b; /* Amber 500 */
    --text-light: #f8fafc;
    --text-dark: #1e293b;
    --bg-light: #ffffff;
    --bg-off-white: #f1f5f9;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header & Nav */
header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-color);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(to right, var(--text-light), var(--accent-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--highlight);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

/* Common Section Styles */
section {
    padding: 6rem 5%;
}

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

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: var(--accent-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

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

/* Section 1: Hero (Asymmetrical) */
.hero {
    background-color: var(--primary-color);
    color: var(--text-light);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, var(--secondary-color) 100%);
    transform: rotate(-15deg);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
}

/* Section 2: Features (Cards with shapes) */
.features {
    background-color: var(--bg-off-white);
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border-top: 5px solid var(--accent-color);
}

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

.shape-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    margin-bottom: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.feature-card:nth-child(2) .shape-icon {
    background: var(--highlight);
    border-radius: 50%;
}

.feature-card:nth-child(3) .shape-icon {
    background: var(--secondary-color);
    transform: rotate(45deg);
}

/* Section 3: Split Layout (Zig Zag) */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.split-content {
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-visual {
    background: var(--secondary-color);
    position: relative;
}

.split-visual::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    border: 10px solid rgba(255,255,255,0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

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

/* Section 4: Stats (Typographic) */
.stats {
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 4rem;
    color: var(--highlight);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Section 5: Services Preview (Horizontal Scroll/List) */
.services-list {
    background-color: var(--bg-light);
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
    transition: var(--transition);
}

.service-row:hover {
    padding-left: 1rem;
    border-bottom-color: var(--accent-color);
}

.service-row h3 {
    margin: 0;
    font-size: 1.5rem;
}

.arrow {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: #000;
    color: #888;
    padding: 4rem 5% 2rem;
    border-top: 10px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

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

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

/* Subpage Specifics */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 8rem 5% 4rem;
    text-align: center;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .split-section { grid-template-columns: 1fr; }
    .split-visual { height: 300px; }
    nav ul { gap: 1rem; }
    section { padding: 4rem 5%; }
}
