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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    padding: 80px 0 60px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.truck-animation {
    position: absolute;
    width: 100%;
    height: 100%;
}

.truck-1, .truck-2, .truck-3, .truck-4, .truck-5, .truck-6 {
    position: absolute;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite !important;
    will-change: transform;
}

.truck-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.truck-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.truck-3 {
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}

.truck-4 {
    top: 10%;
    right: 40%;
    animation-delay: 1s;
    font-size: 50px;
}

.truck-5 {
    top: 80%;
    left: 30%;
    animation-delay: 3s;
    font-size: 45px;
}

.truck-6 {
    top: 30%;
    left: 5%;
    animation-delay: 5s;
    font-size: 55px;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.icon-1, .icon-2, .icon-3, .icon-4, .icon-5, .icon-6, .icon-7, .icon-8 {
    position: absolute;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.15);
    animation: float 8s ease-in-out infinite;
}

.icon-1 {
    top: 15%;
    right: 20%;
    animation-delay: 1s;
}

.icon-2 {
    top: 70%;
    left: 5%;
    animation-delay: 3s;
}

.icon-3 {
    top: 30%;
    right: 5%;
    animation-delay: 5s;
}

.icon-4 {
    top: 80%;
    right: 30%;
    animation-delay: 7s;
}

.icon-5 {
    top: 25%;
    left: 50%;
    animation-delay: 2s;
    font-size: 35px;
}

.icon-6 {
    top: 75%;
    right: 50%;
    animation-delay: 4s;
    font-size: 32px;
}

.icon-7 {
    top: 50%;
    left: 20%;
    animation-delay: 6s;
    font-size: 38px;
}

.icon-8 {
    top: 85%;
    left: 60%;
    animation-delay: 8s;
    font-size: 36px;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    padding-top: 40px;
}

.hero-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    margin-top: 40px;
}

.hero-text {
    color: white;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: slideInLeft 1s ease-out;
    text-align: center;
    color: white;
}

.gradient-text {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-subtitle code {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-visual {
    animation: slideInRight 1s ease-out 0.6s both;
}

.excel-mockup {
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
    border: 2px solid #d0d7de;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 100%;
    overflow-x: auto;
}

.excel-mockup:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.excel-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #d0d7de;
    z-index: 1;
}

.excel-header {
    background: #f8f9fa;
    padding: 8px 15px 0 15px;
    border-bottom: 1px solid #d0d7de;
    position: relative;
    z-index: 2;
}

.excel-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
}

.tab {
    padding: 6px 12px;
    background: #f1f3f4;
    border: 1px solid #d0d7de;
    border-bottom: none;
    font-size: 0.85rem;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    position: relative;
    border-radius: 4px 4px 0 0;
}

.tab.active {
    background: white;
    color: #1a73e8;
    border-bottom: 1px solid white;
    z-index: 3;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

.tab:hover:not(.active) {
    background: #e8f0fe;
    color: #1a73e8;
}

.excel-content {
    padding: 20px;
}

.formula-bar {
    background: white;
    padding: 8px 12px;
    border: 1px solid #d0d7de;
    border-radius: 0;
    margin-bottom: 15px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.9rem;
    color: #1a73e8;
    border-left: 3px solid #1a73e8;
    display: flex;
    align-items: center;
    position: relative;
}

.formula-bar::before {
    content: 'fx';
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    background: #f8f9fa;
    border: 1px solid #d0d7de;
    padding: 4px 6px;
    font-size: 0.8rem;
    color: #5f6368;
    border-radius: 2px;
}

.spreadsheet {
    border: 1px solid #d0d7de;
    border-radius: 0;
    overflow: hidden;
    background: white;
    min-width: 600px;
    overflow-x: auto;
}

.row {
    display: grid;
    grid-template-columns: 40px 120px 100px 120px 100px 120px 100px;
    border-bottom: 1px solid #e1e5e9;
    min-height: 40px;
    gap: 1px;
}

.row.header {
    background: #f8f9fa;
    font-weight: 600;
    color: #5f6368;
    border-bottom: 2px solid #d0d7de;
    position: sticky;
    top: 0;
    z-index: 10;
}

.cell {
    padding: 8px 12px;
    border-right: 1px solid #e1e5e9;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    min-height: 32px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.cell:last-child {
    border-right: none;
}

.row-number {
    background: #f8f9fa;
    border-right: 1px solid #d0d7de;
    padding: 8px 4px;
    font-size: 0.8rem;
    color: #5f6368;
    text-align: center;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.status-pending {
    color: #ea4335;
    font-weight: 600;
    background: #fce8e6;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.status-shipped {
    color: #137333;
    font-weight: 600;
    background: #e6f4ea;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.status-critical {
    color: #dc2626;
    background: #fef2f2;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #fca5a5;
}

.status-high {
    color: #ea580c;
    background: #fff7ed;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #fed7aa;
}

.status-medium {
    color: #d97706;
    background: #fffbeb;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #fde68a;
}

.status-low {
    color: #059669;
    background: #f0fdf4;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #bbf7d0;
}

.status-complete {
    color: #059669;
    background: #f0fdf4;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #bbf7d0;
}

.status-pending {
    color: #7c3aed;
    background: #faf5ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #d8b4fe;
}

.status-overdue {
    color: #dc2626;
    background: #fef2f2;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #fca5a5;
}

.status-disputed {
    color: #dc2626;
    background: #fef2f2;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #fca5a5;
}

.status-scheduled {
    color: #2563eb;
    background: #eff6ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #bfdbfe;
}

.status-in-transit {
    color: #7c3aed;
    background: #faf5ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #d8b4fe;
}

.status-out-for-delivery {
    color: #059669;
    background: #f0fdf4;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #bbf7d0;
}

.status-wrong-address {
    color: #dc2626;
    background: #fef2f2;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #fca5a5;
}

.status-paid {
    color: #059669;
    background: #f0fdf4;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #bbf7d0;
}

.status-delayed {
    color: #ea4335;
    font-weight: 600;
    background: #fce8e6;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.status-delivered {
    color: #137333;
    font-weight: 600;
    background: #d4edda;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.features-header .section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-showcase {
    position: relative;
    z-index: 2;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Interactive Demo Section */
.interactive-demo-section {
    margin-top: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.interactive-demo-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.interactive-demo-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.demo-iframe {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

@media (max-width: 768px) {
    .demo-iframe {
        height: 500px;
    }
    
    .interactive-demo-section h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .demo-iframe {
        height: 400px;
    }
    
    .interactive-demo-section {
        padding: 30px 0;
    }
}

/* Interactive Examples Section in Features */
.interactive-examples-section {
    margin-top: 80px;
    text-align: center;
    position: relative;
    z-index: 5;
    background: transparent;
}

.interactive-examples-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

.interactive-examples-section p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 20px;
}

.interactive-examples-section .examples-note {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0369a1;
    font-size: 0.95rem;
}

.interactive-examples-section .examples-note i {
    color: #0ea5e9;
    font-size: 1.1rem;
}

.interactive-examples-section .examples-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.interactive-examples-section .query-accordion {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    border: 1px solid #e5e7eb;
}

.interactive-examples-section .accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.interactive-examples-section .accordion-item:last-child {
    border-bottom: none;
}

.interactive-examples-section .accordion-header {
    padding: 24px 28px;
    background: #f8fafc;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    position: relative;
    z-index: 11;
    pointer-events: auto;
    font-size: 1.1rem;
}

.interactive-examples-section .accordion-header:hover {
    background: #e2e8f0;
}

.interactive-examples-section .accordion-header.active {
    background: #10b981;
    color: white;
}

.interactive-examples-section .accordion-header i:first-child {
    font-size: 1.2rem;
    color: #10b981;
}

.interactive-examples-section .accordion-header.active i:first-child {
    color: white;
}

.interactive-examples-section .accordion-header span {
    font-weight: 600;
    font-size: 1.1rem;
}

.interactive-examples-section .accordion-header i:last-child {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.interactive-examples-section .accordion-header.active i:last-child {
    transform: rotate(180deg);
}

.interactive-examples-section .accordion-content {
    padding: 0 28px 28px;
    display: none;
}

.interactive-examples-section .accordion-item.active .accordion-content {
    display: block;
}

.interactive-examples-section .accordion-item.active .accordion-header {
    background: #1a73e8;
    color: white;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.interactive-examples-section .accordion-item.active .accordion-header i:last-child {
    transform: rotate(180deg);
}

.interactive-examples-section .query-item {
    padding: 20px;
    margin: 12px 0;
    background: #f8fafc;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    z-index: 12;
    pointer-events: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.interactive-examples-section .query-item:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.interactive-examples-section .query-item.selected {
    background: linear-gradient(135deg, #1a73e8, #4285f4);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
    transform: translateY(-2px);
}

.interactive-examples-section .query-item.selected .query-formula {
    color: #10b981;
    font-weight: 600;
}

.interactive-examples-section .query-item.selected .query-description {
    color: #374151;
    font-weight: 500;
}

.interactive-examples-section .query-formula {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 8px;
}

.interactive-examples-section .query-description {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

.excel-demo {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.excel-demo .excel-window {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    max-width: 800px;
    width: 100%;
}

.excel-demo .excel-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 16px;
}

.excel-demo .excel-tabs {
    display: flex;
    gap: 8px;
}

.excel-demo .excel-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
}

.excel-demo .excel-tab.active {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.excel-demo .excel-tab i {
    color: #10b981;
}

.excel-demo .excel-tab.active i {
    color: white;
}

.excel-demo .excel-formula-bar {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-family: 'Courier New', monospace;
}

.excel-demo .formula-label {
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 12px;
    min-width: 30px;
    text-align: center;
}

.excel-demo .formula-input {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    padding: 6px 12px;
    font-size: 14px;
    color: #1e293b;
    flex: 1;
    font-family: 'Courier New', monospace;
}

.excel-demo .excel-table {
    overflow-x: auto;
}

.excel-demo table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.excel-demo th,
.excel-demo td {
    padding: 8px 12px;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.excel-demo th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.excel-demo .row-header {
    background: #f1f5f9 !important;
    font-weight: 600;
    color: #64748b;
    width: 40px;
    text-align: center;
}

.excel-demo .row-number {
    background: #f1f5f9;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    width: 40px;
}

.excel-demo .status-delayed {
    background: #fef3c7;
    color: #d97706;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8, #34a853, #fbbc04, #ea4335);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.feature-card.analytics {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.feature-card.queries {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: white;
}

.feature-card.sync {
    background: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
    color: white;
}

.feature-card.integration {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-preview {
    margin-top: 20px;
}

.mini-chart {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 40px;
}

.chart-bar {
    background: rgba(255, 255, 255, 0.3);
    width: 12px;
    border-radius: 2px;
    animation: chartGrow 2s ease-out;
}

@keyframes chartGrow {
    from { height: 0; }
    to { height: var(--height, 100%); }
}

.query-examples {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.query-example {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Consolas', monospace;
    font-size: 12px;
    color: white;
    backdrop-filter: blur(10px);
}

.sync-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 16px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.sync-icon.spinning {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.excel-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 16px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.excel-badge i {
    font-size: 18px;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, #2563eb, transparent);
    z-index: 1;
}

.step:last-child::after {
    height: 100px;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Examples Section */
.examples {
    padding: 100px 0;
    background: #f8fafc;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.examples-note {
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    border: 1px solid #3b82f6;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 0 auto 40px;
    max-width: 700px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.examples-note i {
    color: #3b82f6;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.examples-note span {
    color: #1e40af;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.5;
}

.examples-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    min-height: 600px;
}

/* Accordion Styles */
.query-accordion {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 20px 25px;
    background: #f8fafc;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.accordion-header:hover {
    background: #e8f0fe;
}

.accordion-item.active .accordion-header {
    background: #1a73e8;
    color: white;
}

.accordion-header i:first-child {
    font-size: 18px;
    width: 20px;
}

.accordion-header span {
    font-weight: 600;
    font-size: 1.1rem;
    flex: 1;
}

.accordion-header i:last-child {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i:last-child {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    overflow-y: auto;
}

.accordion-content::-webkit-scrollbar {
    width: 6px;
}

.accordion-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.accordion-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.accordion-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.query-item {
    background: white;
    padding: 20px;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-bottom: 1px solid #f1f3f4;
}

.query-item:last-child {
    border-bottom: none;
}

.query-item:hover {
    background: #f8f9fa;
    border-color: #1a73e8;
}

.query-formula {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #2563eb;
    background: #eff6ff;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 4px solid #2563eb;
}

.query-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Excel Live Preview Styles */
.excel-live-preview {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #217346;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.excel-preview-header {
    background: linear-gradient(to bottom, #217346, #1e5f3a);
    color: white;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid #1a4d2e;
}

.excel-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

.excel-logo i {
    font-size: 16px;
    color: white;
}

.excel-tabs {
    display: flex;
    gap: 0;
    justify-content: flex-start;
}

.excel-tabs .tab {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    position: relative;
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.excel-tabs .tab i {
    font-size: 12px;
}

.excel-tabs .tab.active {
    background: white;
    color: #217346;
    border-bottom: 1px solid white;
    z-index: 3;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

.excel-tabs .tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.excel-preview .excel-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.excel-preview .excel-tabs {
    display: flex;
    gap: 20px;
}

.excel-preview .tab {
    padding: 8px 16px;
    background: #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #666;
}

.excel-preview .tab.active {
    background: #2563eb;
    color: white;
}

.excel-preview .excel-content {
    padding: 20px;
}

.excel-preview .formula-bar {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #2563eb;
    border-left: 4px solid #2563eb;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.excel-preview .spreadsheet {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.excel-preview .row {
    display: grid;
    grid-template-columns: 40px 120px 100px 120px 100px 120px 100px;
    min-height: 40px;
    gap: 1px;
}

.excel-preview .row.header {
    background: #f8f9fa;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.excel-preview .cell {
    padding: 12px 15px;
    border-right: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.excel-preview .cell:last-child {
    border-right: none;
}

.excel-preview .status-pending {
    color: #f59e0b;
    font-weight: 600;
}

.excel-preview .status-shipped {
    color: #10b981;
    font-weight: 600;
}

/* Signup Section */
.signup {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.signup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.signup-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.signup-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.benefit i {
    color: #ffd700;
    font-size: 20px;
}

.signup-form-container {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.signup-form h3 {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 16px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #2563eb, #3b82f6);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 20px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 28px;
    color: #2563eb;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Legal Pages */
.legal-content {
    padding: 120px 0 80px;
    background: #f8fafc;
    min-height: 100vh;
}

.legal-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 60px;
}

.legal-section {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.legal-section p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section ul {
    color: #475569;
    line-height: 1.7;
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-section li {
    margin-bottom: 8px;
}

.legal-section strong {
    color: #1e293b;
    font-weight: 600;
}

/* Responsive Design */
/* Mobile First - Small phones (320px-420px) */
@media (max-width: 420px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        order: 1;
        margin-bottom: 20px;
    }
    
    .hero-main-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
        display: flex;
        flex-direction: column;
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .signup-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .signup-form-container {
        padding: 30px 20px;
    }
    
    .excel-mockup {
        transform: none;
    }
}

/* Tablets and small laptops (421px-768px) */
@media (min-width: 421px) and (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        order: 1;
        margin-bottom: 20px;
    }
    
    .hero-main-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        display: flex;
        flex-direction: column;
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .signup-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .step::after {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .examples-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .query-examples {
        max-height: 400px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-header .section-title {
        font-size: 2.5rem;
    }
    
    .interactive-examples-section .examples-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 420px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .signup-form-container {
        padding: 30px 20px;
    }
    
    .excel-mockup {
        transform: none;
    }
    
    .hero-main-content {
        gap: 20px;
        display: flex;
        flex-direction: column;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
