/* TresorGuard - Main Stylesheet */

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

:root {
    --primary: #ef4444;
    --primary-dark: #dc2626;
    --primary-light: #fee2e2;
    --secondary: #1f2937;
    --text: #374151;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --blue: #3b82f6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    transition: all 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-icon {
    margin-left: 8px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 50%, #eff6ff 100%);
}

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

.success-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.badge-value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.badge-label {
    font-size: 14px;
    margin-top: 8px;
    opacity: 0.95;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-text {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Form Card */
.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 2px solid var(--border);
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

/* Alerts */
.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

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

.feature-card {
    padding: 40px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: #fee2e2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon img {
    width: 28px;
    height: 28px;
    color: #ef4444;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.feature-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--white);
}

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

.stat-card {
    padding: 40px;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    border: 2px solid var(--border);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.stat-icon img {
    width: 32px;
    height: 32px;
    color: #ef4444;
}

.stat-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 14px;
    color: var(--text-light);
}

/* Fraud Types Section */
.fraud-types {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

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

.fraud-card {
    padding: 40px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s;
}

.fraud-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.fraud-icon {
    width: 64px;
    height: 64px;
    background: #fee2e2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.fraud-icon img {
    width: 32px;
    height: 32px;
    color: #ef4444;
}

.fraud-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.fraud-text {
    color: var(--text-light);
    margin-bottom: 20px;
}

.fraud-list {
    list-style: none;
}

.fraud-list li {
    padding: 8px 0;
    color: var(--text);
    position: relative;
    padding-left: 20px;
}

.fraud-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Process Section */
.process {
    padding: 80px 0;
    background: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-card {
    padding: 40px 30px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.process-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.process-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.process-icon {
    width: 64px;
    height: 64px;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

.process-icon img {
    width: 32px;
    height: 32px;
    color: #ef4444;
}

.process-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.process-text {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--white);
}

.footer-cta {
    background: var(--primary);
    padding: 60px 0;
    text-align: center;
}

.footer-cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-cta-text {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.footer-main {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-text {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 12px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 30px 0;
}

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

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

.footer-bottom-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

/* Icon Styles */
.icon {
    width: 100%;
    height: 100%;
    display: block;
}

.icon svg {
    width: 100%;
    height: 100%;
}

.feature-icon .icon,
.stat-icon .icon,
.fraud-icon .icon,
.process-icon .icon {
    color: var(--primary);
}

.footer-contact .icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid,
    .fraud-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .features-grid,
    .fraud-grid,
    .stats-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 20px;
    }
}
