/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --mustard: #D19C1D;
    --coral: #D76B3D;
    --teal: #0F4C5C;
    --green: #21523A;
    --burgundy: #5A2A27;
    --dark: #1A1A2E;
    --light: #F8F9FA;
    --gray: #6C757D;
    --white: #FFFFFF;
    --primary: var(--teal);
    --secondary: var(--mustard);
    --accent: var(--coral);
}

body {
    font-family: "Gill Sans", "Gill Sans MT", "Trebuchet MS", Calibri, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    overflow-x: hidden;
    background: var(--light);
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Geometric Background */
.geometric-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 50%, #dde5ed 100%);
}

.geometric-bg::before,
.geometric-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    opacity: 0.08;
}

.geometric-bg::before {
    top: -150px;
    right: -150px;
    background: linear-gradient(45deg, var(--mustard) 0%, var(--coral) 50%, transparent 70%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation: float 20s ease-in-out infinite;
}

.geometric-bg::after {
    bottom: -150px;
    left: -150px;
    background: linear-gradient(-45deg, var(--teal) 0%, var(--green) 50%, transparent 70%);
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
    animation: float 25s ease-in-out infinite reverse;
}

/* Additional cubist background elements */
.geometric-bg::before {
    box-shadow: 0 0 200px rgba(209, 156, 29, 0.1);
}

.geometric-bg::after {
    box-shadow: 0 0 200px rgba(15, 76, 92, 0.1);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, 50px) rotate(90deg); }
    50% { transform: translate(0, 100px) rotate(180deg); }
    75% { transform: translate(-50px, 50px) rotate(270deg); }
}

/* Abstract Art Layers */
.abstract-art-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.06;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.art-layer-1 {
    background-image: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    top: 0;
    left: 0;
}

.art-layer-2 {
    background-image: url('https://images.unsplash.com/photo-1557672172-298e090bd0f1?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    top: 0;
    right: 0;
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 0.6rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(15, 76, 92, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
}

.logo-svg {
    height: 70px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    margin: 0;
    padding: 0;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--mustard));
    transition: width 0.3s;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-btn {
    background: linear-gradient(135deg, var(--teal), var(--green));
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 0;
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 76, 92, 0.2);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 92, 0.3);
}

.cta-btn::after {
    display: none;
}

/* Hero Section */
#hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
    overflow: hidden;
}

.hero-art-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    opacity: 0.12;
}

.hero-art-img {
    position: absolute;
    width: 600px;
    height: 600px;
    object-fit: cover;
    mix-blend-mode: multiply;
    filter: grayscale(30%) contrast(1.2);
}

.art-img-1 {
    top: -100px;
    right: -100px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    transform: rotate(15deg);
}

.art-img-2 {
    bottom: -150px;
    left: -150px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transform: rotate(-20deg);
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    text-align: center;
    position: relative;
}

.glitch-text {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
    position: relative;
    font-family: "Gill Sans", "Gill Sans MT", "Trebuchet MS", Calibri, sans-serif;
    letter-spacing: -1px;
    text-shadow: 2px 2px 0px rgba(209, 156, 29, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.hero-cta {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: linear-gradient(135deg, var(--coral), var(--mustard));
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 0;
    transition: all 0.3s ease;
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
    box-shadow: 0 8px 25px rgba(215, 107, 61, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(215, 107, 61, 0.4);
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}

/* Cubist Shapes in Hero */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cube {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.15;
    animation: rotate3d 15s linear infinite;
}

.cube-1 {
    top: 10%;
    right: 10%;
    background: linear-gradient(45deg, var(--mustard), var(--coral));
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation-duration: 20s;
    box-shadow: 0 0 60px rgba(209, 156, 29, 0.2);
}

.cube-2 {
    bottom: 15%;
    left: 5%;
    background: linear-gradient(-45deg, var(--teal), var(--green));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation-duration: 25s;
    box-shadow: 0 0 60px rgba(15, 76, 92, 0.2);
}

.cube-3 {
    top: 50%;
    left: 50%;
    background: linear-gradient(90deg, var(--burgundy), var(--coral));
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
    animation-duration: 30s;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 60px rgba(90, 42, 39, 0.2);
}

.cube-4 {
    top: 20%;
    left: 15%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--green), var(--teal));
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    animation-duration: 18s;
    opacity: 0.12;
    box-shadow: 0 0 50px rgba(33, 82, 58, 0.15);
}

@keyframes rotate3d {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    letter-spacing: -1px;
    color: var(--dark);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--coral), var(--mustard), var(--teal));
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
}

/* About Section */
#about {
    padding: 6rem 2rem;
    background: white;
    position: relative;
    overflow: hidden;
}

.about-art-wrapper {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 500px;
    z-index: 0;
    opacity: 0.08;
}

.about-art-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(20% 0%, 100% 0%, 100% 80%, 0% 100%, 0% 20%);
    filter: grayscale(40%) contrast(1.3);
    mix-blend-mode: multiply;
    transform: rotate(-5deg);
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--teal), var(--green));
    opacity: 0.04;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

#about::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(-45deg, var(--mustard), var(--coral));
    opacity: 0.04;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.8rem;
    color: var(--gray);
    font-weight: 400;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    padding: 2rem 1rem;
    text-align: center;
    color: white;
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:nth-child(1) {
    background: linear-gradient(135deg, var(--teal), var(--green));
}

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, var(--mustard), var(--coral));
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, var(--burgundy), var(--coral));
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Section */
#products {
    padding: 6rem 2rem;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.products-art-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.products-geometric-shape {
    position: absolute;
    opacity: 0.05;
}

.products-geometric-shape.shape-1 {
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--mustard), var(--coral));
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    transform: rotate(25deg);
}

.products-geometric-shape.shape-2 {
    bottom: 10%;
    left: 3%;
    width: 250px;
    height: 250px;
    background: linear-gradient(-45deg, var(--teal), var(--green));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transform: rotate(-15deg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.product-card {
    background: white;
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(15, 76, 92, 0.05);
}

.product-art-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
    opacity: 0.15;
    z-index: 0;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%);
}

.product-art-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) contrast(1.4);
    mix-blend-mode: multiply;
    transform: scale(1.1);
    transition: transform 0.4s ease;
}

.product-card:hover .product-art-img {
    transform: scale(1.2) rotate(2deg);
}

.product-card > * {
    position: relative;
    z-index: 2;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--teal), var(--mustard), var(--coral));
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    border-top: 4px solid;
    border-image: linear-gradient(90deg, var(--coral), var(--mustard)) 1;
}

.product-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.icon-shape {
    width: 100%;
    height: 100%;
    transition: transform 0.3s;
}

.product-card:hover .icon-shape {
    transform: rotate(15deg) scale(1.1);
}

.shape-groundhog {
    background: linear-gradient(135deg, var(--mustard), var(--coral));
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.shape-axiom {
    background: linear-gradient(135deg, var(--teal), var(--green));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.shape-meridian {
    background: linear-gradient(135deg, var(--coral), var(--mustard));
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.shape-rootline {
    background: linear-gradient(135deg, var(--burgundy), var(--teal));
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

.product-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
    letter-spacing: -0.5px;
    margin-top: 1rem;
}

.product-tagline {
    color: var(--coral);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.product-card > p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
    font-weight: 400;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Section */
#contact {
    padding: 6rem 2rem;
    background: white;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--mustard), var(--coral));
    opacity: 0.03;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    transform: rotate(45deg);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro p {
    font-size: 1.25rem;
    color: var(--gray);
    line-height: 1.9;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

/* Demo Form */
.demo-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(15, 76, 92, 0.1);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--gray);
    pointer-events: none;
    transition: all 0.3s;
    background: white;
    padding: 0 0.5rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.85rem;
    color: var(--teal);
}
.form-group select option:first-child {
    display: none;
}

.submit-btn {
    grid-column: 1 / -1;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--coral), var(--mustard));
    color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(215, 107, 61, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(215, 107, 61, 0.4);
    clip-path: polygon(3% 0%, 100% 0%, 97% 100%, 0% 100%);
}

.form-message {
    grid-column: 1 / -1;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--teal), var(--green));
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--mustard);
    opacity: 0.1;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    transform: rotate(45deg);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-svg {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    opacity: 0.95;
}

.footer-logo-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: white;
    text-transform: uppercase;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .glitch-text {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-art-wrapper {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem 0.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-geometric-shape {
        display: none;
    }

    .demo-form {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-art-img {
        width: 400px;
        height: 400px;
    }

    .abstract-art-layer {
        opacity: 0.03;
    }
}

@media (max-width: 480px) {
    .logo-svg {
        height: 50px;
    }
    
    header {
        padding: 0.5rem 1rem;
    }
}

    .nav-links {
        gap: 0.5rem;
    }

    .cta-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-art-img {
        display: none;
    }

    .product-art-overlay {
        height: 150px;
    }

    .footer-logo {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-logo-svg {
        height: 50px;
    }

    .footer-logo-text {
        font-size: 1.5rem;
    }