/* ===================================
   HEK-IT - One Pager Styles
   Brand Colors:
   - Dark Gray/Anthracite: #3d4654
   - Dark Blue: #1f3557
   - Orange: #ef7d21
   =================================== */

/* CSS Variables */
:root {
    /* Brand Colors */
    --color-dark-gray: #3d4654;
    --color-dark-blue: #1f3557;
    --color-blue: #2a4a7a;
    --color-orange: #ef7d21;
    --color-orange-light: #ff9a47;
    --color-orange-dark: #d66b15;
    
    /* Neutral Colors */
    --color-white: #ffffff;
    --color-off-white: #f8f9fc;
    --color-light-gray: #e8ecf3;
    --color-medium-gray: #8896a8;
    --color-text: #2d3748;
    --color-text-light: #5a6778;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-dark-gray) 100%);
    --gradient-orange: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(31, 53, 87, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(31, 53, 87, 0.08);
    --shadow-md: 0 4px 20px rgba(31, 53, 87, 0.12);
    --shadow-lg: 0 8px 40px rgba(31, 53, 87, 0.16);
    --shadow-orange: 0 4px 20px rgba(239, 125, 33, 0.3);
    
    /* Typography */
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark-blue);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.1rem;
}

.highlight {
    color: var(--color-orange);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-orange);
    color: var(--color-white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(239, 125, 33, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-dark-blue);
    border-color: var(--color-dark-blue);
}

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

.btn-outline {
    background: transparent;
    color: var(--color-dark-blue);
    border-color: var(--color-light-gray);
}

.btn-outline:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.btn-light {
    background: var(--color-white);
    color: var(--color-dark-blue);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Section Styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(239, 125, 33, 0.1);
    color: var(--color-orange);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-top: 16px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 45px;
    transition: transform var(--transition-normal);
}

.nav-logo:hover img {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-dark-gray);
    position: relative;
}

.nav-link:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-orange);
    transition: width var(--transition-normal);
}

.nav-link:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-orange);
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-orange);
    color: var(--color-white) !important;
    border-radius: var(--radius-xl);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-dark-blue);
    transition: all var(--transition-normal);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--color-orange);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--color-dark-blue);
    bottom: -100px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--color-orange);
    top: 50%;
    left: 50%;
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(-10px, 20px) rotate(-5deg); }
    75% { transform: translate(-20px, -10px) rotate(3deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(31, 53, 87, 0.08);
    color: var(--color-dark-blue);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
}

.hero-text h1 {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transform: translateX(0);
    transition: all var(--transition-normal);
}

.hero-card:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-lg);
}

.hero-card:first-child {
    margin-left: 40px;
}

.hero-card:last-child {
    margin-left: 80px;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(239, 125, 33, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-orange);
}

.hero-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.hero-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-medium-gray);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-medium-gray);
    border-bottom: 2px solid var(--color-medium-gray);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(10px); }
    60% { transform: translateX(-50%) translateY(5px); }
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--section-padding);
    background: var(--color-off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transform: translateX(-20px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.feature.visible {
    transform: translateX(0);
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(239, 125, 33, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-orange);
}

.feature-text h4 {
    margin-bottom: 4px;
    color: var(--color-dark-blue);
}

.feature-text p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.stat-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.stat-card:nth-child(2) {
    transition-delay: 0.1s;
}

.stat-card:nth-child(3) {
    transition-delay: 0.2s;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===================================
   Products Section
   =================================== */
.products {
    padding: var(--section-padding);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all var(--transition-slow);
    border: 1px solid var(--color-light-gray);
}

.product-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card.featured {
    border: 2px solid var(--color-orange);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--gradient-orange);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.product-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon svg {
    width: 40px;
    height: 40px;
}

.meba-icon {
    background: linear-gradient(135deg, rgba(239, 125, 33, 0.15) 0%, rgba(239, 125, 33, 0.05) 100%);
    color: var(--color-orange);
}

.fis-icon {
    background: linear-gradient(135deg, rgba(239, 100, 50, 0.2) 0%, rgba(239, 125, 33, 0.1) 100%);
    color: #e85a30;
}

.product-badge {
    padding: 6px 12px;
    background: var(--color-off-white);
    color: var(--color-text-light);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-content h3 {
    font-size: 1.75rem;
    color: var(--color-dark-blue);
    margin-bottom: 4px;
}

.product-tagline {
    color: var(--color-orange);
    font-weight: 600;
    margin-bottom: 16px;
}

.product-description {
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-features {
    margin-bottom: 32px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--color-text);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--color-light-gray);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: var(--color-orange);
}

.product-footer {
    margin-top: auto;
}

.product-footer .btn {
    width: 100%;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--color-orange);
    border-radius: 50%;
    opacity: 0.1;
    right: -100px;
    top: -100px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-padding);
    background: var(--color-off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transform: translateX(-20px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.info-card.visible {
    transform: translateX(0);
    opacity: 1;
}

.info-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: rgba(239, 125, 33, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-orange);
}

.info-content h4 {
    margin-bottom: 4px;
    color: var(--color-dark-blue);
}

.info-content a,
.info-content p {
    color: var(--color-text-light);
}

.info-content a:hover {
    color: var(--color-orange);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-weight: 500;
    color: var(--color-dark-blue);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--color-light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-orange);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-medium-gray);
}

.btn-submit {
    grid-column: span 2;
    padding: 16px 32px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-dark-blue);
    color: var(--color-white);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 280px;
}

.footer-links h4 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-orange);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-card {
        flex: 1;
        min-width: 150px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .info-card {
        flex: 1;
        min-width: 250px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        padding: 100px 40px;
        gap: 30px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding-top: 100px;
        min-height: auto;
    }
    
    .hero-card:first-child,
    .hero-card:last-child {
        margin-left: 0;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .form-group.full-width,
    .btn-submit {
        grid-column: span 1;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .info-card {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .product-card {
        padding: 30px;
    }
    
    .product-header {
        flex-direction: column;
        gap: 16px;
    }
}
