/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.7; 
    color: #333; 
    background: #fafafa; 
    font-weight: 400;
    letter-spacing: -0.01em;
}
a, button { text-decoration: none; font-family: inherit; }

/* Typography Enhancements */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.hero h1 {
    font-size: 3.25rem;
    background: linear-gradient(120deg, #1a1a1a 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.about-container .left {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(120deg, #000 0%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    font-weight: 400;
    color: #454545;
    max-width: 65ch;
}

.hero p {
    line-height: 1.8;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2.75rem;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    text-align: center;
}

section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #000, transparent);
}

/* Sticky Navbar */
nav { 
    position: sticky; 
    top: 0; 
    width: 100%; 
    background: rgba(255,255,255,0.95); 
    backdrop-filter: blur(8px); 
    border-bottom: 1px solid #eaeaea; 
    z-index: 1000; 
}
.nav-content { 
    display: flex; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 1rem 2rem; 
    position: relative;
}
.nav-logo { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
}
.nav-logo img { 
    height: 32px; 
}
.nav-logo span { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: #111; 
    letter-spacing: -0.02em;
}
.nav-right { 
    display: flex; 
    align-items: center; 
    margin-left: auto; 
    gap: 2rem; 
}
.nav-links { 
    display: flex; 
    gap: 2rem; 
    list-style: none; 
}
.nav-links a { 
    position: relative; 
    font-weight: 500; 
    color: #333; 
    padding: 0.5rem 0; 
    transition: color 0.2s;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}
.nav-links a::after { 
    content: ''; 
    position: absolute; 
    bottom: -4px; 
    left: 0; 
    width: 0; 
    height: 2px; 
    background: black; 
    transition: width 0.3s ease; 
}
.nav-links a:hover { color: black; }
.nav-links a:hover::after { width: 100%; }
.nav-button { 
    padding: 0.75rem 1.75rem; 
    font-size: 0.95rem; 
    font-weight: 500;
    height: 3rem; 
    border: none; 
    border-radius: 0.5rem; 
    background: black; 
    color: #fff; 
    cursor: pointer; 
    transition: all 0.3s; 
    letter-spacing: 0.01em;
}
.nav-button:hover { 
    background: rgb(40, 40, 40); 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
    margin-left: auto;
}

.hamburger-bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
}
.hamburger.active .hamburger-bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

/* Hero */
.hero { 
    background: linear-gradient(135deg, #d0f0fa, #ffffff); 
    padding: 4.5rem 4rem; 
    text-align: center; 
    border-radius: 1.5rem; 
    margin: 2rem auto; 
    position: relative; 
    overflow: hidden; 
    max-width: 1200px;
}
.hero::before, .hero::after { content: ''; position: absolute; background: rgba(255, 255, 255, 0.3); border-radius: 50%; z-index: 0; }
.hero::before { top: -50px; right: -50px; width: 200px; height: 200px; }
.hero::after { bottom: -60px; left: -60px; width: 220px; height: 220px; }
.hero h1 { 
    z-index: 1; 
    position: relative; 
    animation: fadeIn 0.8s ease-out;
}
.hero p { 
    max-width: 700px; 
    margin: 0 auto; 
    z-index: 1; 
    position: relative; 
    animation: fadeIn 0.8s ease-out 0.2s both;
}
.hero button { 
    padding: 1.1rem 2.75rem; 
    font-size: 1.1rem; 
    margin-top: 1.2rem;
    font-weight: 500;
    border: none; 
    border-radius: 0.5rem; 
    background: black; 
    color: #fff; 
    cursor: pointer; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.12); 
    transition: all 0.3s; 
    z-index: 1; 
    position: relative; 
    animation: fadeIn 0.8s ease-out 0.4s both;
    letter-spacing: 0.01em;
}
.hero button:hover { 
    background: rgb(40, 40, 40); 
    transform: translateY(-3px); 
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Sections and remaining styles... */
.about-container { 
    display: flex; 
    gap: 3rem; 
    align-items: flex-start; 
    margin: 4rem auto; 
    padding: 4rem 2rem; 
    max-width: 1200px; 
}
.about-container .left { 
    flex: 1; 
    font-size: 2.5rem; 
    line-height: 1.1;
}
.about-container .right { 
    flex: 2; 
    font-size: 1.1rem; 
    color: #454545; 
    text-align: justify;
}
.about-container .right p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.about-container .right p:last-child {
    margin-bottom: 0;
}

#usecases { 
    background: transparent; 
    padding: 4rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}
#usecases h2 {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}
.cards { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 2rem; 
    justify-content: center; 
    margin: 2rem auto; 
    max-width: 1200px; 
}
.card { 
    flex: 1 1 calc(33% - 2rem); 
    border-radius: 1rem; 
    padding: 2.5rem; 
    text-align: center; 
    min-width: 200px; 
    transition: all 0.3s; 
}
.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.card:nth-child(1) { background: #e8dfd0; }
.card:nth-child(2) { background: #cfe3dc; }
.card:nth-child(3) { background: #d5d5eb; }
.card:nth-child(4) { background: #e0d4f7; }
.card:nth-child(5) { background: #d7e3c8; }
.card img { width: 60px; height: 60px; margin-bottom: 1rem; }
.card h3 { 
    font-size: 1.35rem; 
    margin-top: 1rem; 
    margin-bottom: 0.75rem;
    color: #1a1a1a; 
}
.card p { 
    margin-top: 0.5rem; 
    font-size: 0.95rem; 
    color: #555; 
    line-height: 1.6;
}

/* Blog Section */
#blog { 
    padding: 4rem 2rem; 
    margin: 2rem auto; 
    max-width: 1200px; 
}
#blog h2 {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}
.blog-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem; 
}
.post { 
    background: #fff; 
    border-radius: 1rem; 
    padding: 2.5rem; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s;
}
.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.06);
}
.post h3 { 
    margin-bottom: 1rem; 
    color: #1a1a1a; 
    font-size: 1.4rem;
}
.post p { 
    margin-bottom: 1.5rem; 
    color: #454545; 
    font-size: 0.95rem;
    line-height: 1.7;
}
.post a { 
    color: #000; 
    font-weight: 600;
    position: relative;
    transition: all 0.3s;
    display: inline-block;
}
.post a:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}
.post a:hover {
    color: #555;
}
.post a:hover:after {
    width: 100%;
}
.blog-grid .post { 
    display: flex;
    flex-direction: column; 
    height: 100%;
}
.blog-grid .post a { 
    margin-top: auto; 
}

/* CTA Section */
#cta { 
    color: black; 
    text-align: center; 
    padding: 5rem 2rem; 
    border-radius: 1rem; 
    margin: 4rem auto; 
    max-width: 1200px; 
}
#cta h2 { 
    font-size: 2.5rem; 
    margin-bottom: 1.5rem; 
}
#cta p { 
    font-size: 1.2rem; 
    margin: 0 auto 2.5rem;
    max-width: 700px;
    color: #454545; 
}
#cta button { 
    padding: 1.1rem 2.75rem; 
    font-size: 1.1rem;
    font-weight: 500; 
    border: none; 
    border-radius: 0.5rem; 
    background: black; 
    color: white; 
    cursor: pointer; 
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#cta button:hover { 
    background: rgb(40, 40, 40);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Footer */
footer { 
    background: #000;
    padding: 3rem 2rem 2rem; 
    text-align: center; 
    color: #fff; 
    font-size: 0.9rem;
    line-height: 1.6;
}
footer p {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    color: #fff;
}
.footer-links { 
    display: flex; 
    justify-content: center; 
    gap: 2rem; 
    list-style: none; 
    color: #fff;
    margin-bottom: 1.5rem;
}
.footer-links a { 
    color: #fff; 
    transition: color 0.2s;
    font-weight: 500; 
}
.footer-links a:hover { 
    color: #ccc; 
}
.footer-links i {
    font-size: 1.25rem;
    transition: transform 0.3s;
}
.footer-links i:hover {
    transform: translateY(-3px);
}
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin: 0 0 -30% 0;
}
/* Responsive Fixes */
@media (max-width: 768px) {
    /* Navbar Responsive Styles */
    .nav-content {
        padding: 1rem;
    }
    .nav-right {
        display: none;
        position: fixed;             
        inset: 0;
        width: 100vw;                
        height: 100vh;               
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding-top: 2rem;
        z-index: 1000;
    }
    .nav-right.active {
        display: flex;
    }
    .hamburger {
        display: flex;
        margin-left: auto;
        z-index: 1100;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
    }
    .nav-links a {
        font-size: 1.3rem;
        padding: 0.75rem 0;
        width: 100%;
        text-align: center;
    }

    /* Other Mobile Responsive Styles */
    .about-container { 
        flex-direction: column;
        gap: 2rem;
        padding: 3rem 1.5rem;
    }
    .hero {
        padding: 4rem 1.5rem;
        margin: 1.5rem 1rem;
    }
    .hero h1 { 
        font-size: 2rem; 
    }
    .hero p { 
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .cards { 
        justify-content: center; 
    }
    .card { 
        flex: 1 1 100%; 
    }
    .blog-grid { 
        grid-template-columns: 1fr; 
    }
    section h2 {
        font-size: 2rem;
    }
    #cta h2 {
        font-size: 2rem;
    }
    #cta p {
        font-size: 1rem;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 1rem 2rem;
    }
    .video-container {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%;
        margin: 0 0 -30% 0;
    }
    .video-container iframe {
        position: absolute;
        top: -15%;
        left: 10%;
        width: 70%;
        height: 70%;
    }
}