/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #1c1917;
    --bg-secondary: #292524;
    --bg-tertiary: #44403c;
    --text-primary: #ffffff;
    --text-secondary: #a8a29e;
    --accent-primary: #a68550;
    --accent-secondary: #8c7042;
    --accent-tertiary: #6b5d3f;
    --border-color: #57534e;
    --success: #10b981;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
    --bg-primary: #f5f5f4;
    --bg-secondary: #e7e5e4;
    --bg-tertiary: #d6d3d1;
    --text-primary: #292524;
    --text-secondary: #57534e;
    --border-color: #a8a29e;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, .logo-text, .brand-initial, .hero-title, .section-title {
    font-family: 'Playfair Display', serif;
}

/* Customer Logos Section */
.customer-logos-section {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.logos-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.logos-tagline {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    animation: fadeIn 1s ease;
}

.logos-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
    display: flex;
    gap: 3rem;
    animation: scroll 40s linear infinite;
    width: fit-content;
    will-change: transform;
}

.logos-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.1);
}

.brand-logo {
    height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
    mix-blend-mode: lighten;
}

[data-theme="light"] .brand-logo {
    mix-blend-mode: darken;
    opacity: 0.8;
}

.brand-logo:hover {
    opacity: 1;
    mix-blend-mode: normal;
}

.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    min-width: 140px;
}

.logo-placeholder:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px rgba(166, 133, 80, 0.15);
    background: rgba(166, 133, 80, 0.05);
}

.brand-initial {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.brand-name {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.logo-placeholder:hover .brand-name {
    color: var(--text-primary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.logo:hover {
    transform: scale(1.05);
}

.logo:hover .logo-icon {
    animation: spin 0.6s ease-in-out;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-icon {
    font-size: 1.8rem;
}

.material-icons {
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-login {
    padding: 0.5rem 1.5rem;
    background: var(--accent-primary);
    border-radius: 2px;
    border: 1px solid var(--accent-primary);
    color: #ffffff !important;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
}

.nav-login:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(166, 133, 80, 0.3);
    color: #ffffff !important;
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.theme-icon {
    font-size: 20px !important;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(180deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(166, 133, 80, 0.15), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(166, 133, 80, 0.05), transparent 25%);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .hero {
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(166, 133, 80, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(166, 133, 80, 0.05), transparent 25%);
}

/* Floating Fashion Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.float-icon {
    position: absolute;
    color: var(--accent-primary);
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .float-icon {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.float-icon .material-icons,
.float-icon i {
    font-size: 32px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-5deg);
    }
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gradient-text {
    background: linear-gradient(135deg, #e7e5e4 0%, #a68550 50%, #8c7042 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #292524 0%, #a68550 50%, #8c7042 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s backwards;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

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

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(166, 133, 80, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(166, 133, 80, 0.25);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-icon {
    font-size: 1.2rem;
}

.btn .material-icons {
    font-size: 1.2rem;
}

/* Bento Grid */
.bento-grid {
    padding: 8rem 2rem;
    background: var(--bg-primary);
    position: relative;
}

.bento-container {
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1000px;
}

.bento-container .section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3.5rem;
}

.bento-grid-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    grid-auto-rows: minmax(240px, auto);
    transform-style: preserve-3d;
}

.bento-item {
    background: rgba(41, 37, 36, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.1s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform-style: preserve-3d;
}

[data-theme="light"] .bento-item {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.05);
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(166, 133, 80, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.bento-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(166, 133, 80, 0.3);
}

[data-theme="light"] .bento-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-item:hover .bento-icon {
    transform: translateZ(20px) scale(1.1) rotate(5deg);
    color: var(--accent-primary);
    text-shadow: 0 0 20px rgba(166, 133, 80, 0.4);
}

/* Interactive Glow Effect */
.bento-item::after,
.workflow-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(166, 133, 80, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
}

.bento-item:hover::after,
.workflow-card:hover::after {
    opacity: 1;
}

.bento-content {
    position: relative;
    z-index: 1;
}



.bento-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
}

.bento-item .material-icons.bento-icon {
    font-size: 3.5rem;
}

/* Fashion-themed decorative accents */
.fashion-accent {
    position: absolute;
    opacity: 0.08;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.scissors-accent {
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23a68550"><path d="M9.64,7.64C9.87,7.14 10,6.59 10,6A4,4 0 0,0 6,2A4,4 0 0,0 2,6A4,4 0 0,0 6,10C6.59,10 7.14,9.87 7.64,9.64L10,12L7.64,14.36C7.14,14.13 6.59,14 6,14A4,4 0 0,0 2,18A4,4 0 0,0 6,22A4,4 0 0,0 10,18C10,17.41 9.87,16.86 9.64,16.36L12,14L19,21L20.41,19.59L12,11.17L14.36,8.81C14.86,9.04 15.41,9.17 16,9.17C16.6,9.17 17.17,9 17.66,8.76L20.41,11.51L21.82,10.1L19.08,7.35C19.92,6.43 20.23,5.14 19.87,3.95C19.5,2.76 18.54,1.8 17.35,1.43C16.16,1.07 14.87,1.38 13.95,2.22C13.03,3.06 12.72,4.35 13.08,5.54C13.45,6.73 14.41,7.69 15.6,8.06L12,11.67L9.64,9.31L9.64,7.64M6,8A2,2 0 0,1 4,6A2,2 0 0,1 6,4A2,2 0 0,1 8,6A2,2 0 0,1 6,8M6,20A2,2 0 0,1 4,18A2,2 0 0,1 6,16A2,2 0 0,1 8,18A2,2 0 0,1 6,20M16,7.17C15.45,7.17 15,6.72 15,6.17C15,5.62 15.45,5.17 16,5.17C16.55,5.17 17,5.62 17,6.17C17,6.72 16.55,7.17 16,7.17Z"/></svg>') no-repeat center;
    background-size: contain;
    transform: rotate(-15deg);
}

.mannequin-accent {
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23a68550"><path d="M12,2C10.89,2 10,2.89 10,4H14C14,2.89 13.1,2 12,2M5,6H19V8H5V6M16.5,9.5L15,18H9L7.5,9.5H16.5M9.5,10.5V17H10.5V10.5H9.5M13.5,10.5V17H14.5V10.5H13.5M11.5,10.5V17H12.5V10.5H11.5Z"/></svg>') no-repeat center;
    background-size: contain;
    transform: rotate(10deg);
}

.ruler-accent {
    top: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23a68550"><path d="M1.39,18.36L3.16,16.6L4.58,18L5.64,16.95L4.22,15.54L5.64,14.12L8.11,16.6L9.17,15.54L6.7,13.06L8.11,11.65L9.53,13.06L10.59,12L9.17,10.59L10.59,9.17L14.12,12.7L15.18,11.64L11.65,8.11L13.06,6.7L14.47,8.11L15.54,7.05L14.12,5.64L15.54,4.22L18,6.7L19.07,5.64L16.6,3.16L18.36,1.39L22.61,5.64L5.64,22.61L1.39,18.36Z"/></svg>') no-repeat center;
    background-size: contain;
    transform: rotate(45deg);
}

.hanger-accent {
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23a68550"><path d="M12,4A3.5,3.5 0 0,0 8.5,7.5H10.5A1.5,1.5 0 0,1 12,6A1.5,1.5 0 0,1 13.5,7.5A1.5,1.5 0 0,1 12,9C11.45,9 11,9.45 11,10V11.5H13V10.24C14.7,9.82 16,8.3 16,6.5A3.5,3.5 0 0,0 12,3A3.5,3.5 0 0,0 8.5,6.5V7.5C8.5,8.05 8.95,8.5 9.5,8.5H14.5C15.05,8.5 15.5,8.95 15.5,9.5V12.5C15.5,13.05 15.05,13.5 14.5,13.5H9.5C8.95,13.5 8.5,13.05 8.5,12.5V10H6.5V12.5C6.5,14.16 7.84,15.5 9.5,15.5H14.5C16.16,15.5 17.5,14.16 17.5,12.5V9.5C17.5,7.84 16.16,6.5 14.5,6.5H13.24C13.09,5.67 12.62,4.96 11.97,4.5C11.5,4.19 11,4 12,4M2,18V20H22V18L19,15L16,18L13,15L10,18L7,15L4,18L2,18Z"/></svg>') no-repeat center;
    background-size: contain;
}

.tape-accent {
    bottom: -20px;
    left: -20px;
    width: 110px;
    height: 110px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23a68550"><path d="M17.66,3.87L15.81,5.72C18.45,8.36 18.45,12.64 15.81,15.28L17.66,17.13C21.22,13.57 21.22,7.43 17.66,3.87M6.34,3.87C2.78,7.43 2.78,13.57 6.34,17.13L8.19,15.28C5.55,12.64 5.55,8.36 8.19,5.72L6.34,3.87M12,7C9.79,7 8,8.79 8,11S9.79,15 12,15 16,13.21 16,11 14.21,7 12,7M12,9C13.1,9 14,9.9 14,11S13.1,13 12,13 10,12.1 10,11 10.9,9 12,9Z"/></svg>') no-repeat center;
    background-size: contain;
    transform: rotate(-25deg);
}

.thread-accent {
    top: 50%;
    right: -25px;
    transform: translateY(-50%) rotate(15deg);
    width: 90px;
    height: 90px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23a68550"><path d="M6,2L4,4V6L6,8V14C6,16.21 7.79,18 10,18H11V22H13V18H14C16.21,18 18,16.21 18,14V8L20,6V4L18,2H6M8,4H16V5L14,7V14C14,15.11 13.11,16 12,16C10.89,16 10,15.11 10,14V7L8,5V4Z"/></svg>') no-repeat center;
    background-size: contain;
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.bento-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* About Section */
.about-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.about-text {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Workflow Cards */
.workflow-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.workflow-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.workflow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-card:hover::before {
    transform: scaleX(1);
}

.workflow-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(166, 133, 80, 0.15);
}

.workflow-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    background: rgba(166, 133, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.workflow-card:hover .workflow-icon-wrapper {
    background: var(--accent-primary);
    transform: scale(1.05) rotate(-5deg);
}

.workflow-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    transition: all 0.4s ease;
}

.workflow-card:hover .workflow-icon {
    -webkit-text-fill-color: white;
}

.workflow-step-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(166, 133, 80, 0.1);
    transition: all 0.4s ease;
}

.workflow-card:hover .workflow-step-number {
    color: rgba(166, 133, 80, 0.2);
    transform: scale(1.1);
}

.workflow-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.workflow-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.workflow-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.workflow-tags .tag {
    padding: 0.4rem 0.75rem;
    background: rgba(166, 133, 80, 0.1);
    border: 1px solid rgba(166, 133, 80, 0.2);
    border-radius: 2px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.workflow-card:hover .workflow-tags .tag {
    background: rgba(166, 133, 80, 0.15);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Workflow Connectors */
.workflow-cards {
    position: relative;
}

/* Desktop Connectors */
@media (min-width: 1025px) {
    .workflow-card:nth-child(1)::before,
    .workflow-card:nth-child(3)::before {
        content: '';
        position: absolute;
        top: 50%;
        right: -2.5rem; /* Spans the gap */
        width: 3rem;
        height: 2px;
        background: linear-gradient(90deg, var(--border-color) 50%, transparent 50%);
        background-size: 10px 100%;
        z-index: 0;
        opacity: 0.5;
    }

    .workflow-card:nth-child(1)::after,
    .workflow-card:nth-child(2)::after {
        content: '';
        position: absolute;
        bottom: -2.5rem;
        left: 50%;
        width: 2px;
        height: 3rem;
        background: linear-gradient(180deg, var(--border-color) 50%, transparent 50%);
        background-size: 100% 10px;
        z-index: 0;
        opacity: 0.5;
    }
}

/* Mobile Connectors */
@media (max-width: 1024px) {
    .workflow-cards {
        gap: 3rem; /* Increase gap for connector space */
    }
    
    .workflow-card:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -3.5rem;
        left: 50%;
        width: 2px;
        height: 4rem;
        background: linear-gradient(180deg, var(--border-color) 50%, transparent 50%);
        background-size: 100% 10px;
        transform: translateX(-50%);
        z-index: 0;
        opacity: 0.5;
    }
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 5rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
}

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

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

.footer-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-contact-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-icons a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-contact-icons .material-icons,
.footer-contact-icons i {
    font-size: 20px;
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

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

.newsletter-wrapper {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
}

.newsletter-button {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary);
    border: none;
    border-radius: 2px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: var(--accent-secondary);
    transform: scale(1.05);
}

.newsletter-button .material-icons {
    font-size: 20px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
}

.footer-logo .logo-icon {
    font-size: 1.8rem;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 0;
}

.footer-address {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    font-style: normal;
    margin-top: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 400;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-overlay {
    display: flex;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--bg-secondary);
    margin: auto;
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-tertiary);
}

[data-theme=\"light\"] .modal-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-overlay .modal-content {
    margin: auto;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--text-secondary);
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--text-primary);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-btn:hover {
    background: rgba(166, 133, 80, 0.1);
    color: var(--accent-primary);
}

.close-btn .material-icons {
    font-size: 24px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1.5rem;
}

.modal-header .material-icons {
    color: var(--primary-color);
}

.modal-body {
    overflow-y: auto;
    max-height: calc(90vh - 150px);
}

/* Custom scrollbar for modals */
.modal-content::-webkit-scrollbar,
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.modal-content h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-content input,
.modal-content select {
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.modal-content input:focus,
.modal-content select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.modal-content select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Login Page */
.login-section {
    min-height: 100vh;
    padding: 6rem 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.login-left {
    padding: 2rem;
}

.login-hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.login-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.feature-check {
    width: 32px;
    height: 32px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.material-icons.feature-check {
    font-size: 20px;
}

.login-right {
    display: flex;
    justify-content: center;
}

.login-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-lg);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.form-group input {
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-primary);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-link {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: var(--accent-secondary);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.login-divider span {
    background: var(--bg-secondary);
    padding: 0 1rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-social {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    justify-content: center;
}

.btn-social:hover {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.login-footer a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr;
    }

    .login-left {
        display: none;
    }

    .bento-grid-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large,
    .bento-wide {
        grid-column: span 2;
    }

    .bento-tall {
        grid-row: span 1;
    }

    .workflow-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .bento-grid-items {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
    }

    .bento-tall {
        grid-row: span 1;
    }

    .workflow-cards {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .login-card {
        padding: 2rem;
    }

    .modal-content {
        padding: 2rem;
        margin: 10% auto;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 2rem;
    background: var(--bg-primary);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    font-weight: 400;
}

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

.testimonial-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.testimonial-content {
    flex: 1;
    text-align: left;
}

.quote-icon {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.quote-icon .material-icons {
    font-size: 2.5rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 400;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
    text-align: left;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}
