@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'EB Garamond', serif;
}

p, span, div, a, button, input, textarea, label {
    font-family: 'Inter', sans-serif;
}

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

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.nav-brand a {
    display: block;
    text-decoration: none;
}

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

.brand-name {
    font-family: 'EB Garamond', serif;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.powered-by {
    font-size: 12px;
    color: #7f8c8d;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #F57C00;
}

.verify-btn {
    background: #F57C00;
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.verify-btn:hover {
    background: #E65100;
    color: white !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: url('images/AuthentAI_bg.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(52, 73, 94, 0.8));
    mix-blend-mode: multiply;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-title {
    font-family: 'EB Garamond', serif;
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-button {
    background: #F57C00;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 40px;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #E65100;
    transform: translateY(-2px);
}

.powered-by-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.7;
}

.tripleid-logo {
    height: 40px;
}

/* Why Section */
.why-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.why-section h2 {
    font-family: 'EB Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: #5a6c7d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Features */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-card h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-card p {
    color: #5a6c7d;
    line-height: 1.6;
}

/* Data Integrity Section */
.data-integrity {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.integrity-text h2 {
    font-family: 'EB Garamond', serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 20px;
}

.integrity-text p {
    color: #5a6c7d;
    margin-bottom: 30px;
    line-height: 1.7;
}

.integrity-features {
    list-style: none;
}

.integrity-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: #5a6c7d;
}

.integrity-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #F57C00;
    font-weight: bold;
}

.chip-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Footer */
.footer {
    background: #333333;
    color: white;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-logo {
    max-height: 50px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
    display: block;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    font-size: 16px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.footer-column h4 {
    font-family: 'Inter', sans-serif;
    margin-bottom: 25px;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 15px;
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.footer-column a:hover {
    color: #F57C00;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding: 20px 0;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 14px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Legal Content Styles */
.legal-content {
    padding: 120px 0 80px;
    background: white;
}

.legal-content h1 {
    font-family: 'EB Garamond', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.last-updated {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 40px;
    font-size: 14px;
}

.legal-content h2 {
    font-family: 'EB Garamond', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 20px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.legal-content li {
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-content a {
    color: #F57C00;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Case Studies Styles */
.case-studies {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.case-studies h1 {
    font-family: 'EB Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 20px;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.case-study-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
}

.case-study-image {
    width: 100%;
    height: 200px;
    background: #e9ecef;
    overflow: hidden;
}

.case-study-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.case-study-content {
    padding: 30px;
    text-align: left;
}

.case-study-content h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.case-study-content p {
    color: #5a6c7d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.learn-more-btn {
    background: #F57C00;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.learn-more-btn:hover {
    background: #E65100;
}

/* Contact Form */
.contact-form {
    padding: 80px 0;
    background: white;
}

.contact-form h2 {
    font-family: 'EB Garamond', serif;
    text-align: left;
    font-size: 2.2rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 16px;
}

.form-group input:not([type="checkbox"]),
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #e9ecef;
    background: transparent;
    font-size: 16px;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:not([type="checkbox"])::placeholder,
.form-group textarea::placeholder {
    color: #bdc3c7;
    opacity: 1;
}

.form-group input:not([type="checkbox"]):focus,
.form-group textarea:focus {
    border-bottom-color: #F57C00;
}

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

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    appearance: none;
    border: 1px solid #ccc;
    border-radius: 0;
    position: relative;
    cursor: pointer;
    background: white;
}

.checkbox-item input[type="checkbox"]:checked {
    background: #F57C00;
    border: 1px solid #999;
    box-shadow: inset 0 0 0 1px white;
}

.checkbox-item input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #F57C00;
    border-radius: 0;
}

.checkbox-item label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
    font-size: 16px;
}

.submit-btn {
    background: #F57C00;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #E65100;
}

/* About Hero */
.about-hero {
    background: url('images/About_bg.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(52, 73, 94, 0.8));
    mix-blend-mode: multiply;
    z-index: 1;
}

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

.about-hero h1 {
    font-family: 'EB Garamond', serif;
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: -100vh;
        left: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: top 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 0;
        padding: 20px 0;
        z-index: 500;
        overflow-y: auto;
    }

    .nav-menu.active {
        top: 70px;
    }

    .nav-item {
        margin: 15px 0;
    }
    
    .nav-menu .nav-link {
        font-size: 18px;
        padding: 15px 20px;
        display: block;
        width: 100%;
    }
    
    .nav-menu .verify-btn {
        font-size: 16px;
        padding: 12px 24px;
        margin: 25px 20px 10px 20px;
        display: inline-block;
        width: auto;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 12px 16px;
    }
    
    .verify-btn {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .why-section h2 {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .integrity-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px 30px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .about-hero p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .integrity-text h2 {
        font-size: 1.8rem;
    }
    
    .integrity-text p {
        font-size: 0.95rem;
    }
    
    .case-studies h1 {
        font-size: 2rem;
    }
    
    .case-study-content h3 {
        font-size: 1.2rem;
    }
    
    .case-study-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .contact-form h2 {
        font-size: 1.8rem;
    }
    
    .form-group label {
        font-size: 15px;
    }
    
    .form-group input:not([type="checkbox"]),
    .form-group textarea {
        font-size: 16px;
    }
    
    .checkbox-item label {
        font-size: 15px;
    }
    
    .cta-button {
        font-size: 16px;
        padding: 12px 24px;
    }
    
    .footer-column h4 {
        font-size: 16px;
    }
    
    .footer-column a {
        font-size: 14px;
    }
    
    .footer-description {
        font-size: 14px;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
    }
    
    .legal-content p,
    .legal-content li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }

    .hero-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .feature-card {
        padding: 30px 20px;
    }

    .case-study-content {
        padding: 20px;
    }
}