:root {
    --primary: var(--db-primary-color, #ab773b);
    --secondary: var(--db-secondary-color, #1e3a8a);
    --accent: var(--db-accent-color, #ab773b);
    --light: #f8fafc;
    --dark: #020617;
    --text-muted: rgba(255, 255, 255, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #fff;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Header */
.header {
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.landing-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a.btn-signup {
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
}

.nav-links a.btn-signup:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-links a.btn-login {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-links a.btn-login:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 7rem 2rem;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1920') no-repeat center center;
    background-size: cover;
    opacity: 0.12;
    z-index: -1;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    animation: fadeUp 0.8s ease-out both;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    color: var(--text-muted);
    line-height: 1.6;
    animation: fadeUp 0.8s ease-out 0.15s both;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.25rem;
    margin-top: 0.5rem;
    z-index: 2;
    animation: fadeUp 0.8s ease-out 0.3s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.btn-primary:hover {
    background: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-section {
    padding: 6rem 2rem;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about-section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--accent);
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.about-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-top: 1.75rem;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: rgba(15, 23, 42, 0.25);
    text-align: center;
}

.features h2 {
    font-size: 2.4rem;
    margin-bottom: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* Footer */
.footer {
    padding: 2.5rem 2rem;
    text-align: center;
    background: rgba(2, 6, 23, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Decorative Circles */
.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.04);
    border: 1px solid rgba(37, 99, 235, 0.06);
    pointer-events: none;
    z-index: 0;
}

.circle-1 {
    width: 450px;
    height: 450px;
    top: -8%;
    left: -5%;
    animation: drift 20s ease-in-out infinite;
}

.circle-2 {
    width: 350px;
    height: 350px;
    bottom: 12%;
    right: -4%;
    animation: drift 25s ease-in-out infinite reverse;
}

.testimonial-section {
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin: 40px 0;
    text-align: center;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-icon {
    font-size: 2rem;
    color: var(--db-primary-color, #ab773b);
    margin-bottom: 15px;
    opacity: 0.85;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    color: #ffffff; /* High contrast white text */
    margin-bottom: 15px;
}

.testimonial-author {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--db-primary-color, #ab773b);
    letter-spacing: 0.5px;
}

.footer {
    background-color: #0d1322;
    color: #94a3b8;
    padding: 60px 20px 20px 20px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    max-height: 35px;
    margin-bottom: 15px;
}

.footer-tagline {
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-contact-info p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
}

.footer-contact-info i {
    color: var(--db-primary-color, #ab773b);
    width: 16px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--db-primary-color, #ab773b);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

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

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* Responsive collapse for smaller screens */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, 10px); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 1rem;
    }
    .header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .circle {
        display: none;
    }
    .about-section h2,
    .features h2 {
        font-size: 2rem;
    }
    .hero {
        padding: 5rem 1.5rem;
    }
}

/* ========== Tablet ========== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 2.8rem;
    }
}

/* ========== Mobile Large ========== */
@media (max-width: 768px) {
    .header {
        padding: 1rem 1.25rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .nav-links a {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    .landing-img {
        max-height: 35px;
    }
    .hero {
        padding: 4rem 1.5rem 3rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
        max-width: 100%;
    }
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 1rem;
    }
    .about-section,
    .features {
        padding: 3rem 1.5rem;
    }
    .about-section h2,
    .features h2 {
        font-size: 1.8rem;
    }
    .circle {
        display: none;
    }
    .footer {
        padding: 1.5rem;
    }
}

/* ========== Mobile Small ========== */
@media (max-width: 480px) {
    .header {
        padding: 0.75rem 1rem;
    }
    .nav-links a {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    .nav-links a.btn-login,
    .nav-links a.btn-signup {
        padding: 0.5rem 1rem;
    }
    .hero {
        padding: 3rem 1.25rem 2.5rem;
    }
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .feature-card {
        padding: 1.5rem;
    }
    .feature-card h3 {
        font-size: 1.1rem;
    }
    .about-container p {
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    .nav-links {
        gap: 0.3rem;
    }
}

/* Footer links */
.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: #fff;
}

@media (max-width: 480px) {
    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
}
