:root {
    --primary-color: #2563eb;
    --accent-color: #6366f1;
    --background-primary: #ffffff;
    --background-secondary: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: rgba(148, 163, 184, 0.1);
    --card-bg: rgba(255, 255, 255, 0.8);
    --navbar-bg: rgba(255, 255, 255, 0.8);
    --primary-rgb: 37, 99, 235;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
}

body.dark-mode {
    --background-primary: #0f172a;
    --background-secondary: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: rgba(148, 163, 184, 0.1);
    --card-bg: rgba(30, 41, 59, 0.8);
    --navbar-bg: rgba(15, 23, 42, 0.8);
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--background-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.animation-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.animation-background::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 40px;
    height: 40px;
}

.logo-path {
    fill: var(--primary-color);
    transition: fill 0.3s ease;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    padding-right: 2rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(15deg);
    color: var(--primary-color);
}

.profile-dropdown {
    position: relative;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.profile-btn:hover {
    color: var(--primary-color);
}

.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.profile-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-radius: 0.25rem;
}

.dropdown-content a:hover {
    background: rgba(var(--primary-rgb), 0.1);
}

.dropdown-content a.logout {
    color: var(--error-color);
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
}

.dropdown-content a.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

.glass-effect {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Unified Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--navbar-bg);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

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

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Glass Effect */
.glass-effect {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px var(--shadow-color);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.theme-toggle:hover {
    color: var(--primary-color);
}

/* Notifications */
.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    background: var(--card-bg);
    color: var(--text-color);
    box-shadow: 0 4px 6px var(--shadow-color);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.notification.success {
    border-left: 4px solid #10b981;
}

.notification.error {
    border-left: 4px solid #ef4444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        width: 100%;
        margin: 1rem 0;
    }

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

:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --background-light: #ffffff;
    --background-dark: #1a1a1a;
    --text-light: #1a1a1a;
    --text-dark: #ffffff;
    --nav-height: 70px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --bg-primary: #f7f7f7;
    --bg-secondary: #e5e5e5;
    --bg-card: #ffffff;
    --text-primary: #333;
    --text-secondary: #666;
    --primary-rgb: 37, 99, 235;
    --success-color: #22c55e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}

body {
    background-color: var(--background-light);
    color: var(--text-light);
    transition: var(--transition);
}

body.dark-mode {
    background-color: var(--background-dark);
    color: var(--text-dark);
}

.navbar {
    height: var(--nav-height);
    padding: 0 2rem;
    background-color: var(--background-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.dark-mode .navbar {
    background-color: var(--background-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    fill: var(--primary-color);
    transition: var(--transition);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: inherit;
    font-size: 1.2rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--primary-color);
}

.profile-dropdown {
    position: relative;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.profile-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark-mode .profile-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-content {
    position: absolute;
    top: 120%;
    right: 0;
    background-color: var(--background-light);
    min-width: 200px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dark-mode .dropdown-content {
    background-color: var(--background-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profile-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark-mode .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-content a.logout {
    color: #dc2626;
}

main {
    margin-top: var(--nav-height);
}

.hero-section {
    position: relative;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    backdrop-filter: blur(10px);
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.dark-mode .hero-content p {
    color: #999;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-secondary {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.dark-mode .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.particles-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.node-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(var(--primary-rgb), 0.1) 1px, transparent 1px),
        radial-gradient(circle at 70% 70%, rgba(var(--primary-rgb), 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: nodeFloat 20s linear infinite;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: gradientFlow 8s ease infinite;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.flowchart-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.flowchart-step {
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.flowchart-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 
        0 10px 30px -10px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px -20px rgba(var(--primary-rgb), 0.2),
        inset 0 0 0 1px rgba(var(--primary-rgb), 0.2);
}

.step-connector {
    position: absolute;
    left: 50%;
    top: -50px;
    bottom: -50px;
    width: 2px;
    transform: translateX(-50%);
}

.connector-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent,
        rgba(var(--primary-rgb), 0.2) 20%,
        rgba(var(--primary-rgb), 0.2) 80%,
        transparent
    );
    transform: translateX(-50%);
}

.connector-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
    animation: pulseDot 2s infinite;
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-number {
    font-size: 4rem;
    font-weight: bold;
    color: rgba(var(--primary-rgb), 0.1);
    position: absolute;
    top: -1rem;
    left: -1rem;
    line-height: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.step-visual {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.file-icon {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--primary-color);
    animation: moveToScanner 3s infinite;
}

.scanner {
    position: absolute;
    top: 50%;
    right: 30%;
    transform: translate(50%, -50%);
    width: 100px;
    height: 150px;
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 0.5rem;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    animation: scanDocument 2s infinite;
}

.ai-analysis {
    position: relative;
    width: 100%;
    height: 100%;
}

.document-scan {
    position: relative;
    width: 150px;
    height: 200px;
    margin: 0 auto;
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 0.5rem;
}

.scan-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary-color),
        transparent
    );
    animation: aiScan 2s infinite;
}

.data-points {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(var(--primary-rgb), 0.5) 0%, transparent 1px),
        radial-gradient(circle at 70% 70%, rgba(var(--primary-rgb), 0.5) 0%, transparent 1px);
    background-size: 30px 30px;
    animation: dataPointsPulse 2s infinite;
}

.blockchain-verification {
    position: relative;
    width: 100%;
    height: 100%;
}

.hash-animation {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-family: monospace;
    color: var(--primary-color);
}

.hexagon-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='40' viewBox='0 0 24 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40c8.837 0 16-7.163 16-16S8.837 8 0 8v4c6.627 0 12 5.373 12 12S6.627 36 0 36V40z' fill='%234facfe' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: rotateHexagons 20s linear infinite;
}

.verified-stamp {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    color: var(--primary-color);
    animation: stampPulse 2s infinite;
}

.results-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.status-cards {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

.status {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.status.active {
    opacity: 1;
    transform: scale(1.1);
}

.status.verified {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.status.pending {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.status.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

@keyframes nodeFloat {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseDot {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.7);
    }
}

@keyframes moveToScanner {
    0%, 100% { transform: translate(-50%, -50%); opacity: 1; }
    45% { transform: translate(50%, -50%); opacity: 1; }
    50% { transform: translate(50%, -50%); opacity: 0; }
    95% { transform: translate(-50%, -50%); opacity: 0; }
}

@keyframes scanDocument {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

@keyframes aiScan {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes dataPointsPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes rotateHexagons {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

@keyframes stampPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        filter: brightness(1);
    }
    50% {
        transform: translateX(-50%) scale(1.1);
        filter: brightness(1.2);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }

    .step-card {
        padding: 1.5rem;
    }

    .step-visual {
        min-height: 150px;
    }

    .status-cards {
        flex-direction: column;
        gap: 1rem;
    }

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

/* Enhanced Animations */
@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-100px) translateX(50px);
    }
    50% {
        transform: translateY(-50px) translateX(-50px);
    }
    75% {
        transform: translateY(-150px) translateX(25px);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.1);
        filter: brightness(1.2);
    }
}

/* Glowing effects */
.glow-effect {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .step-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step:nth-child(even) .step-content {
        direction: ltr;
    }

    .step-visual {
        min-height: 250px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .step-text h3 {
        font-size: 1.8rem;
    }

    .step-number {
        font-size: 6rem;
        top: -1.5rem;
        left: -1.5rem;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.step {
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.step:nth-child(even) .step-content {
    direction: rtl;
}

.step:nth-child(even) .step-text {
    direction: ltr;
}

.step-visual {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-visual i {
    font-size: 4rem;
    color: var(--primary-color);
}

.step-text h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.upload-animation {
    position: relative;
}

.upload-animation i {
    animation: bounce 2s infinite;
}

.ai-scan-animation .scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    animation: scan 2s infinite;
}

.blockchain-grid {
    display: grid;
    gap: 1rem;
    position: relative;
}

.hash-display {
    font-family: monospace;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    color: var(--text-primary);
}

.status-cards {
    display: flex;
    gap: 1rem;
}

.status-card {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-card.verified {
    background: var(--success-color);
    color: white;
}

.share-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.share-options i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.share-options i:hover {
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes scan {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .step-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step:nth-child(even) .step-content {
        direction: ltr;
    }

    .step-visual {
        min-height: 200px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .step-text h3 {
        font-size: 1.5rem;
    }
}

/* Update verify page sizing */
.verify-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.verify-header {
    text-align: center;
    margin: 3rem 0;
}

.verify-methods {
    margin-bottom: 3rem;
}

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

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.verification-results,
.activity-log {
    margin: 2rem 0;
    padding: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .step-content {
        flex-direction: column;
        gap: 2rem;
    }

    .step-visual {
        min-height: 300px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .method-tabs {
        grid-template-columns: 1fr;
    }
}

/* Dark mode adjustments */
.dark-mode .parallax-bg {
    opacity: 0.05;
}

.dark-mode .neural-nodes {
    opacity: 0.15;
}

/* Why Choose CrediSafe Section */
.why-credisafe {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    overflow: hidden;
    min-height: 100vh;
}

/* Parallax Background */
.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(var(--primary-rgb), 0.1) 0%, transparent 50%);
    transform: translateZ(-10px);
    animation: floatNodes 20s infinite linear;
}

.security-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(var(--primary-rgb), 0.05) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(var(--primary-rgb), 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: translateZ(-5px);
    animation: moveGrid 15s infinite linear;
}

/* Specialty Cards Container */
.specialty-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* Specialty Card */
.specialty-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

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

.specialty-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 20px 40px -20px rgba(var(--primary-rgb), 0.2),
        inset 0 0 0 1px rgba(var(--primary-rgb), 0.2);
}

/* Card Icon */
.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.icon-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
}

.icon-container i {
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

/* Icon Effects */
.scan-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.network-effect {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, 
        rgba(var(--primary-rgb), 0.2) 0%,
        transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s ease;
}

.connect-effect {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.ripple-effect {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.2);
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s ease;
}

.rotate-effect {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.pulse-effect {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.2);
    transform: scale(1);
    opacity: 0;
    transition: all 0.3s ease;
}

/* Hover Effects */
.specialty-card:hover .scan-effect {
    opacity: 1;
    animation: scanMove 2s infinite;
}

.specialty-card:hover .network-effect {
    opacity: 1;
    transform: scale(1.5);
}

.specialty-card:hover .connect-effect {
    opacity: 1;
    transform: scale(1);
}

.specialty-card:hover .ripple-effect {
    opacity: 1;
    transform: scale(1.5);
    animation: ripple 1.5s infinite;
}

.specialty-card:hover .rotate-effect {
    opacity: 1;
    animation: rotate 10s linear infinite;
}

.specialty-card:hover .pulse-effect {
    animation: pulse 1.5s infinite;
}

/* Card Content */
.specialty-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.specialty-card p {
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
}

/* Card Glow */
.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(var(--primary-rgb), 0.15) 0%,
        transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.specialty-card:hover .card-glow {
    opacity: 1;
}

/* Animations */
@keyframes floatNodes {
    0% { transform: translateZ(-10px) rotate(0deg); }
    100% { transform: translateZ(-10px) rotate(360deg); }
}

@keyframes moveGrid {
    0% { transform: translateZ(-5px) translate(0, 0); }
    100% { transform: translateZ(-5px) translate(30px, 30px); }
}

@keyframes scanMove {
    0% { top: 0; opacity: 1; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

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

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .specialty-cards {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .specialty-card {
        padding: 1.5rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .specialty-card h3 {
        font-size: 1.25rem;
    }
}

/* Live Demo Section */
.live-demo {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    position: relative;
    overflow: hidden;
}

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

.verification-methods {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.method-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px -10px rgba(var(--primary-rgb), 0.2);
}

.method-card.active {
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.method-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.verification-interface {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.upload-area {
    border: 2px dashed rgba(var(--primary-rgb), 0.2);
    border-radius: 1rem;
    padding: 3rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.browse-link {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
}

.verification-status {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.status-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    animation: scanMove 2s infinite;
}

.blockchain-nodes {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.node {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: nodePulse 2s infinite;
}

/* Security & Compliance Section */
.security-compliance {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.security-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px -20px rgba(var(--primary-rgb), 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.blockchain-effect,
.shield-effect,
.ai-effect,
.compliance-effect {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.security-card:hover .blockchain-effect {
    opacity: 1;
    animation: rotate 10s linear infinite;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(var(--primary-rgb), 0.2),
        transparent
    );
}

.security-card:hover .shield-effect {
    opacity: 1;
    animation: shieldPulse 2s infinite;
    background: radial-gradient(
        circle at center,
        rgba(var(--primary-rgb), 0.2) 0%,
        transparent 70%
    );
}

.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.badge {
    position: relative;
    width: 100px;
    height: 100px;
    transition: all 0.3s ease;
}

.badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.badge-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        rgba(var(--primary-rgb), 0.2) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px);
}

.badge:hover .badge-glow {
    opacity: 1;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.success-metrics {
    display: flex;
    justify-content: space-around;
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 2rem;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.testimonials-carousel {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    overflow: hidden;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    margin: 1rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px -20px rgba(var(--primary-rgb), 0.2);
}

.quote {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.name {
    font-weight: 600;
    color: var(--text-primary);
}

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

.verified-badge {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.partner-logos {
    max-width: 1200px;
    margin: 4rem auto 0;
    overflow: hidden;
}

.logo-scroll {
    display: flex;
    gap: 3rem;
    animation: scrollLogos 30s linear infinite;
}

.logo-scroll img {
    height: 40px;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.logo-scroll img:hover {
    opacity: 1;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .verification-methods {
        flex-direction: column;
    }

    .security-features {
        grid-template-columns: 1fr;
    }

    .compliance-badges {
        flex-wrap: wrap;
    }

    .success-metrics {
        flex-direction: column;
        gap: 2rem;
    }
}

/* How It Works - Compact Flowchart */
.how-it-works {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.flowchart-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.flowchart {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.flow-step {
    flex: 1;
    max-width: 280px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.flow-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.step-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.glow-effect {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.2), transparent 70%);
    opacity: 0;
    transition: all 0.3s ease;
}

.flow-step:hover .glow-effect {
    opacity: 1;
    transform: scale(1.2);
}

.step-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.flow-step:hover .step-content {
    transform: translateY(-5px);
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 20px 40px -20px rgba(var(--primary-rgb), 0.2);
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.step-details {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.flow-step:hover .step-details {
    height: 100px;
}

/* Connectors */
.connector {
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    z-index: 1;
}

.connector-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(var(--primary-rgb), 0.3),
        rgba(var(--primary-rgb), 0.1)
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.connector-dot {
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.flow-step.visible .connector-line {
    transform: scaleX(1);
}

.flow-step.visible .connector-dot {
    transform: translate(50%, -50%) scale(1);
}

/* Status Indicators */
.status-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

.status.verified { background: rgba(0, 255, 0, 0.1); color: #00ff00; }
.status.pending { background: rgba(255, 170, 0, 0.1); color: #ffaa00; }
.status.rejected { background: rgba(255, 0, 0, 0.1); color: #ff0000; }

/* Share Options */
.share-options {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.share-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blockchain-nodes {
    position: absolute;
    inset: 0;
}

.glow-particles {
    position: absolute;
    inset: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .flowchart {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .flow-step {
        width: 100%;
        max-width: 400px;
    }

    .connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .flow-step {
        max-width: 100%;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}




/* Example CSS adjustments */
section {
    margin: 0; /* Remove margin */
    padding: 0; /* Remove padding */
}

/* Specific adjustments for your sections */
.hero-section {
    margin-bottom: 0; /* Adjust as necessary */
}

.why-credisafe {
    margin-top: 0; /* Adjust as necessary */
}