
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&display=swap');

:root {
    --primary-color: #5E5DF0;
    --secondary-color: #9A9A9A;
    --background-color: #F7F7F7;
    --card-background: #FFFFFF;
    --text-color: #1A1A1A;
    --heading-color: #0D0D0D;
    --border-color: #DDDDDD;
    --font-family: 'Manrope', sans-serif;
    --border-radius: 16px;
    --transition-speed: 0.3s;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    padding-top: 90px;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

/* --- Global Styles --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: 800;
}

.section-padding {
    padding: 100px 0;
}

/* --- Navbar --- */
.navbar {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(234, 234, 234, 0.5);
    padding: 1rem 0;
    transition: background var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--heading-color);
}

.navbar-brand .text-info {
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin: 0 0.75rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler {
    transition: transform 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] {
    transform: rotate(90deg);
}

/* --- Hero Section --- */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(120deg, #F7F7F7 0%, #E6E6E6 100%);
}

.hero-section h1 {
    font-size: 4.5rem;
}

/* --- Buttons --- */
.btn {
    border-radius: 50rem;
    font-weight: 700;
    padding: 16px 32px;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(94, 93, 240, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(94, 93, 240, 0.3);
}

/* --- Cards --- */
.card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    will-change: transform;
}

.card:hover {
    transform: translateY(-5px) perspective(1000px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

#team .card-body img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

#team .card-body .ms-3 {
    transition: transform 0.2s ease-in-out;
}

#team .card-body .ms-3:hover {
    transform: scale(1.2);
}

/* --- Features Section --- */
#features .icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8A8AFF 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

/* --- Showcase Section --- */
.phone-mockup {
    border: 12px solid var(--border-color);
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

.phone-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.phone-mockup .content {
    border-radius: 28px;
    overflow: hidden;
}

/* --- Roadmap Section --- */
.roadmap-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    opacity: 0.2;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even)::after {
    left: -10px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 1rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 24px rgba(52, 58, 73, 0.08);
}

/* --- Forms --- */
#contact .form-control {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    transition: all var(--transition-speed) ease;
}

#contact .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(94, 93, 240, 0.2);
    background-color: #fff;
}

#contact form {
    background-color: var(--card-background);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}

/* --- Footer --- */
footer {
    background-color: #F7F7F7;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-color);
    padding: 3rem 0;
}

footer .navbar-brand {
    font-size: 1.5rem;
}

footer .navbar-brand .text-turquoise {
     color: var(--primary-color) !important;
}

/* --- Theme Toggler --- */
#theme-toggler {
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-color);
    background: none;
    border: none;
}

/* --- Scroll Animations --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Media Queries --- */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }

    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .navbar-nav {
        background-color: var(--card-background);
        border-radius: var(--border-radius);
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    }

    .roadmap-timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 10px;
    }
}
