* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-btn {
    background: #fff;
    color: #667eea;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s;
}

.cta-btn:hover {
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #667eea;
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Solution Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-left: 4px solid #667eea;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

/* Demo Section */
.demo {
    background: #f8f9fa;
}

.demo-section {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.demo-section h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
}

input[type="text"],
input[type="date"] {
    width: 100%;
    padding: 12px;
    margin: 0.5rem 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-primary {
    background: #667eea;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: #764ba2;
}

#nftDisplay,
#verificationResult {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f0f0f0;
    border-radius: 5px;
    display: none;
}

#nftDisplay.show,
#verificationResult.show {
    display: block;
}

/* Tracking Timeline */
#trackingTimeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    margin: 2rem 0;
    padding-left: 2rem;
    border-left: 3px solid #667eea;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    left: -7.5px;
    top: 0;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

}
/* ===============================
   Connect Wallet Button (Navbar)
=============================== */

.wallet-btn {
    background: linear-gradient(135deg, #ffffff, #f3f4ff);
    color: #5b5fe9;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Hover */
.wallet-btn:hover:not(:disabled) {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
    background: #ffffff;
}

/* Active click */
.wallet-btn:active {
    transform: scale(0.97);
}

/* Connected state */
.wallet-btn:disabled {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    cursor: default;
    box-shadow: none;
}
