/* styles.css - ProgramOn Custom Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #f0f9ff;
    --accent: #10b981;
    --bg-dark: #0f172a;
    --text-main: #1e293b;
    --text-muted: #475569;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
    margin: 0;
    line-height: 1.6;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

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

/* Navigation */
.nav-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    height: 80px;
}

/* Kinetic Hero Layout */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    padding: 140px 5% 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.hero-content {
    grid-column: 1 / span 7;
    z-index: 10;
}

.hero-image-wrapper {
    grid-column: 8 / span 5;
    position: relative;
    height: 500px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Signature Card System */
.po-card {
    background: var(--white);
    border: 1px solid rgba(59, 130, 246, 0.1);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.po-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 0;
    background: var(--primary);
    transition: var(--transition);
}

.po-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.po-card:hover::before {
    height: 100%;
}

/* Distinctive Button System */
.btn-kinetic {
    position: relative;
    padding: 1rem 2rem;
    background: var(--bg-dark);
    color: var(--white);
    font-weight: 600;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    min-height: 48px;
    min-width: 160px;
    border: none;
    cursor: pointer;
}

.btn-kinetic span {
    position: relative;
    z-index: 2;
}

.btn-kinetic::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 0;
    background: var(--primary);
    transition: var(--transition);
    z-index: 1;
}

.btn-kinetic:hover::after {
    height: 100%;
}

/* Mobile Menu Overlay */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
}

#mobile-menu.active {
    transform: translateX(0);
}

/* Cookie Consent */
#cookie-consent {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: var(--bg-dark);
    color: white;
    padding: 1.5rem;
    z-index: 1000;
    display: none;
    flex-direction: column;
    gap: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
    #cookie-consent {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 1024px) {
    .hero-grid { 
        display: flex; 
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
    }
    .hero-content {
        width: 100%;
    }
    .hero-image-wrapper { 
        width: 100%;
        height: 350px; 
        margin-top: 2rem; 
        clip-path: none; 
        border-radius: 20px;
    }
    .hero-content .flex {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .text-6xl { font-size: 3rem; }
    .text-8xl { font-size: 3.5rem; }
    .hero-grid { padding-left: 1.5rem; padding-right: 1.5rem; }
}
