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

:root {
    --azure-blue: #0078D4;
    --azure-light: #50E6FF;
    --azure-dark: #003168;
    --success-green: #10B981;
    --warning-orange: #F59E0B;
    --gradient-primary: linear-gradient(135deg, #0078D4 0%, #50E6FF 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, #50E6FF 2px, #50E6FF 3px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, #50E6FF 2px, #50E6FF 3px);
    background-size: 100px 100px;
    animation: patternMove 30s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

/* Floating gradient orbs */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--azure-blue);
    top: -250px;
    right: -250px;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--azure-light);
    bottom: -200px;
    left: -200px;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -80px) scale(1.1); }
    66% { transform: translate(-50px, 80px) scale(0.9); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Header/Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
}

.logo {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.5rem;
    color: var(--azure-light);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 120, 212, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 120, 212, 0.6);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--azure-light);
    transform: translateY(-3px);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.step {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.06);
    border-color: var(--azure-light);
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 120, 212, 0.4);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--azure-light);
}

.step-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* Inventory Tools Section */
.inventory-tools {
    padding: 6rem 0;
}

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

.tool-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.tool-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
    border-color: var(--azure-light);
    box-shadow: 0 20px 60px rgba(0,120,212,0.3);
}

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

.tool-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,120,212,0.4);
}

.tool-status {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-green);
    border: 1px solid var(--success-green);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tool-status.coming-soon {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-orange);
    border-color: var(--warning-orange);
}

.tool-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tool-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tool-features {
    list-style: none;
    margin-bottom: 2rem;
}

.tool-features li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: rgba(255,255,255,0.8);
}

.tool-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tool-link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,120,212,0.5);
}

.tool-link::after {
    content: '→';
    transition: margin-left 0.3s ease;
}

.tool-link:hover::after {
    margin-left: 0.5rem;
}

/* Modal/Popup Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9998;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

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

.modal {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid rgba(80, 230, 255, 0.3);
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    animation: slideUp 0.4s ease;
    z-index: 9999;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.modal-close:hover {
    background: rgba(255, 59, 48, 0.2);
    border-color: rgba(255, 59, 48, 0.5);
    color: #ff3b30;
    transform: rotate(90deg);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 120, 212, 0.4);
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.modal-status {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-green);
    border: 1px solid var(--success-green);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.modal-body {
    padding: 2rem 2.5rem;
}

.modal-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modal-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--azure-light);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.modal-section-title:first-child {
    margin-top: 0;
}

.modal-features {
    list-style: none;
    margin-bottom: 2rem;
}

.modal-features li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.3rem;
}

.modal-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.modal-tech-badge {
    padding: 0.5rem 1.2rem;
    background: rgba(0, 120, 212, 0.2);
    border: 1px solid rgba(0, 120, 212, 0.5);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--azure-light);
}

.modal-footer {
    padding: 1.5rem 2.5rem 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-btn {
    flex: 1;
    min-width: 200px;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.modal-btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 120, 212, 0.4);
}

.modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 120, 212, 0.6);
}

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

.modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--azure-light);
    transform: translateY(-2px);
}

.modal-highlight {
    background: rgba(80, 230, 255, 0.1);
    border-left: 3px solid var(--azure-light);
    padding: 1.2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.modal-highlight p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

/* Add Tool Card - Different Style */
.add-tool-card {
    background: rgba(255,255,255,0.02);
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 400px;
}

.add-tool-card:hover {
    border-color: var(--azure-light);
    background: rgba(255,255,255,0.04);
}

.add-icon {
    font-size: 4rem;
    color: var(--azure-light);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.add-tool-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.9);
}

.add-tool-description {
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: rgba(0,0,0,0.2);
}

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

.feature-box {
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--azure-light);
}

.feature-text {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--azure-light);
}

.footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .logo { font-size: 2.5rem; }
    .tagline { font-size: 1.2rem; }
    .hero-description { font-size: 1rem; }
    .section-title { font-size: 2rem; }
    .steps { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}
