:root {
    --pup-maroon: #800000;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --dark-gradient: linear-gradient(135deg, #434343 0%, #000000 100%);
    --light-bg: #f8f7f5;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --card-hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 15px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f7f5 !important;
    min-height: 100vh;
}

.min-vh-75 {
    min-height: 75vh;
}

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

.bg-dark {
    background-color: var(--pup-maroon) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--pup-gold);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #5e0303 0%, #a0522d 100%) !important;
    min-height: 60vh;
    position: relative;
    overflow: hidden;
    color: white !important;
    padding: 60px 0;
}

.hero-section .hero-title {
    color: white !important;
}

.hero-section .hero-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-section .stat-number {
    color: white !important;
}

.hero-section .stat-label {
    color: rgba(255, 255, 255, 0.8) !important;
}

.hero-section::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-title {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.hero-stats {
    position: relative;
    z-index: 2;
}

.hero-stats .stat-number {
    color: #fff;
    font-weight: 700;
}

.hero-stats .stat-label {
    color: rgba(240, 228, 228, 0.8);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.face-scan-animation {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.scan-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f2fe, transparent);
    animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
    0% { 
        transform: translateY(0); 
        opacity: 1; 
    }
    50% { 
        transform: translateY(150px); 
        opacity: 0.8; 
    }
    100% { 
        transform: translateY(300px); 
        opacity: 0; 
    }
}

.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #00f2fe;
}

.corner-tl {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.corner-tr {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.corner-bl {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.corner-br {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    right: -20%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    left: -25%;
    animation-delay: 1s;
}

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

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

/* Guide Cards */
.guide-cards-section {
    padding: 60px 0;
    background-color: #d4a574 !important;
    position: relative;
    z-index: 999;
    margin-top: 0;
    border-top: 5px solid #800000;
    min-height: 800px;
    display: block !important;
    visibility: visible !important;
}

.section-title {
    font-weight: 700;
    color: #2c3e50 !important;
    margin-bottom: 1rem;
    font-size: 2.5rem !important;
    text-align: center;
}

.guide-card {
    background: white !important;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 2px solid #dee2e6 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.guide-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.guide-card h3 {
    color: #2c3e50 !important;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.5rem !important;
    font-weight: bold !important;
}

.guide-card p {
    color: #495057 !important;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1rem !important;
}

.feature-list {
    margin-bottom: 2rem;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #495057;
}

.btn-guide {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-guide:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

/* Features Section */
.features-section {
    background-color: #c49660 !important;
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.feature-item {
    padding: 2rem;
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--success-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    color: #6c757d;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .face-scan-animation {
        width: 250px;
        height: 250px;
    }
    
    .guide-card {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* Legacy styles for existing pages */
.hero-section { background: #f8f9fa; padding: 60px 0; }
.guide-section { padding: 60px 0; border-bottom: 1px solid #eee; }
.about-us-section { padding: 60px 0; background: #343a40; color: white; }
.card { margin-bottom: 30px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); transition: transform 0.3s; }
.card:hover { transform: translateY(-10px); }
.team-member img { width: 150px; height: 150px; object-fit: cover; }

/* Step-by-Step Guide styles */
.step-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.step-icon {
    font-size: 3rem;
    color: var(--pup-maroon);
    margin-bottom: 20px;
    line-height: 1;
}

.step-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #343a40;
}

.step-card p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Accordion for FAQ */
#faqAccordion .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

#faqAccordion .btn-link {
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

#faqAccordion .btn-link:hover {
    color: var(--pup-maroon);
}

#faqAccordion .card-body {
    background-color: #fff;
}

.btn-pup-maroon {
    background-color: var(--pup-maroon);
    color: white;
    border: 2px solid var(--pup-maroon);
    transition: all 0.3s ease;
}

.btn-pup-maroon:hover {
    background-color: white;
    color: var(--pup-maroon);
}

.btn-pup-gold {
    background-color: var(--pup-gold);
    color: var(--pup-maroon);
    border: 2px solid var(--pup-gold);
    transition: all 0.3s ease;
}

.btn-pup-gold:hover {
    background-color: var(--pup-maroon);
    color: var(--pup-gold);
    border-color: var(--pup-maroon);
}
