/* ===========================
   Brand Colors
   =========================== */
:root {
    --ivory: #F7F3EE;
    --slate-dark: #2E3A59;
    --slate-light: #5F6F8D;
    --stone: #E3D7C6;
    --gold: #D4A955;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   Global Styles & Typography
   =========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    line-height: 1.7;
    color: var(--slate-dark);
    background-color: var(--ivory);
    overflow-x: hidden;
}

/* ===========================
   Utility Classes
   =========================== */

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===========================
   Container
   =========================== */

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Navigation
   =========================== */

.navbar {
    background-color: var(--ivory);
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(247, 243, 238, 0.95);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(46, 58, 89, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 20px;
}

.nav-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--slate-dark);
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand::before {
    content: '◆';
    color: var(--gold);
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--slate-light);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    padding: 6rem 0 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--slate-dark) 0%, var(--slate-light) 50%, var(--slate-dark) 100%);
    border-bottom: 3px solid var(--gold);
    color: var(--ivory);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 169, 85, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--ivory);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.tagline {
    font-size: 1.3rem;
    color: var(--stone);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ===========================
   Page Header
   =========================== */

.page-header {
    padding: 4rem 0 3rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--slate-dark) 0%, var(--slate-light) 50%, var(--slate-dark) 100%);
    border-bottom: 3px solid var(--gold);
    color: var(--ivory);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 169, 85, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--ivory);
    font-weight: 800;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out;
}

/* ===========================
   Main Content Section
   =========================== */

.content-section {
    padding: 4rem 0;
}

.content-section h2 {
    font-size: 2rem;
    color: var(--slate-dark);
    margin: 2.5rem 0 1.5rem 0;
    font-weight: 700;
    border-left: 5px solid var(--gold);
    padding-left: 1.2rem;
    position: relative;
    animation: slideIn 0.6s ease-out;
}

.content-section h2:first-child {
    margin-top: 0;
    animation-delay: 0s;
}

.content-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--slate-light) 100%);
    border-radius: 3px;
}

.content-section p {
    color: var(--slate-light);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1rem;
}

.content-section h3 {
    font-size: 1.3rem;
    color: var(--slate-dark);
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

/* ===========================
   Features Grid
   =========================== */

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

.feature-card {
    padding: 2.5rem;
    background-color: var(--ivory);
    border: 2px solid var(--stone);
    border-radius: 12px;
    border-left: 6px solid var(--gold);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 169, 85, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(46, 58, 89, 0.12);
    border-color: var(--gold);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card h3 {
    color: var(--slate-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--slate-light);
    font-size: 1rem;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

/* ===========================
   Role List
   =========================== */

.role-list {
    list-style: none;
    margin: 2rem 0 3rem 0;
}

.role-list li {
    padding: 1.2rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: var(--slate-light);
    line-height: 1.8;
    font-size: 1rem;
    border-bottom: 1px solid rgba(212, 169, 85, 0.2);
    transition: var(--transition);
}

.role-list li:hover {
    padding-left: 3rem;
    color: var(--slate-dark);
}

.role-list li::before {
    content: "★";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.1rem;
    animation: float 4s ease-in-out infinite;
}

/* ===========================
   Products List
   =========================== */

.products-list {
    margin: 2.5rem 0;
}

.product-card {
    padding: 2.5rem;
    background-color: var(--ivory);
    border: 2px solid var(--stone);
    border-radius: 12px;
    border-left: 6px solid var(--gold);
    margin-bottom: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 169, 85, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(46, 58, 89, 0.12);
    border-color: var(--gold);
}

.product-card h3 {
    color: var(--slate-dark);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.product-card p {
    color: var(--slate-light);
    margin: 0;
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

/* ===========================
   Contact Info
   =========================== */

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.contact-item {
    padding: 2.5rem;
    background-color: var(--ivory);
    border: 2px solid var(--stone);
    border-radius: 12px;
    border-left: 6px solid var(--gold);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 169, 85, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(46, 58, 89, 0.12);
    border-color: var(--gold);
}

.contact-item h3 {
    color: var(--slate-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.contact-item p {
    color: var(--slate-light);
    margin: 0;
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

.contact-item a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.contact-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.contact-item a:hover {
    color: var(--slate-dark);
}

.contact-item a:hover::after {
    width: 100%;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background: linear-gradient(135deg, var(--slate-dark) 0%, var(--slate-light) 50%, var(--slate-dark) 100%);
    border-top: 3px solid var(--gold);
    padding: 3rem 0;
    margin-top: 5rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--stone);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 169, 85, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer p {
    margin: 0.75rem 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    :root {
        --transition: all 0.25s ease;
    }

    .nav-menu {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 3.5rem 0 3rem 0;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .page-header {
        padding: 3rem 0 2rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .content-section h2 {
        font-size: 1.6rem;
        margin: 2rem 0 1rem 0;
        padding-left: 1rem;
    }

    .content-section p {
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .feature-card {
        padding: 2rem;
        border-radius: 10px;
    }

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

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .role-list li {
        padding: 1rem 0;
        padding-left: 2rem;
        font-size: 0.95rem;
    }

    .role-list li:hover {
        padding-left: 2.2rem;
    }

    .products-list {
        margin: 2rem 0;
    }

    .product-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }

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

    .product-card h3 {
        font-size: 1.2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .contact-item {
        padding: 2rem;
        border-radius: 10px;
    }

    .contact-item:hover {
        transform: translateY(-4px);
    }

    .footer {
        padding: 2rem 0;
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 20px;
    }

    .nav-brand {
        font-size: 1.1rem;
    }

    .nav-brand::before {
        font-size: 1.2rem;
    }

    .nav-menu {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu a {
        font-size: 0.85rem;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }

    .tagline {
        font-size: 1rem;
    }

    .page-header {
        padding: 2.5rem 0 1.5rem 0;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .content-section {
        padding: 2rem 0;
    }

    .content-section h2 {
        font-size: 1.4rem;
        margin: 1.5rem 0 0.75rem 0;
        padding-left: 0.75rem;
        border-left: 4px solid var(--gold);
    }

    .content-section h3 {
        font-size: 1.1rem;
    }

    .content-section p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .features-grid {
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .role-list {
        margin: 1.5rem 0;
    }

    .role-list li {
        padding: 0.75rem 0;
        padding-left: 1.8rem;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(212, 169, 85, 0.15);
    }

    .role-list li:hover {
        padding-left: 2rem;
    }

    .product-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .product-card h3 {
        font-size: 1.2rem;
    }

    .product-card p {
        font-size: 0.9rem;
    }

    .contact-info {
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .contact-item {
        padding: 1.75rem;
    }

    .contact-item h3 {
        font-size: 1.2rem;
    }

    .footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
        font-size: 0.85rem;
    }

    .footer p {
        margin: 0.4rem 0;
    }
}
