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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    color: #000000;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    color: #2c2c2c;
    line-height: 1.7;
}

/* ===========================
   Layout Container
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   Navigation Header
   =========================== */
.navbar {
    background-color: #ffffff;
    padding: 16px 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

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

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.nav-link {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-link:hover {
    color: #18dac6;
}

.nav-link.active {
    color: #000000;
    font-weight: 700;
    border-bottom: 2px solid #18dac6;
}

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

.nav-buttons .btn {
    padding: 10px 24px;
    font-size: 0.9375rem;
}

/* Dropdown Menu */
.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    cursor: pointer;
    border: none;
    background-color: #18dac6;
    color: #000000;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1000;
}

.dropdown-container:hover .dropdown-menu,
.dropdown-container:focus-within .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #2c2c2c;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f7fafc;
    color: #18dac6;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    background: linear-gradient(135deg, #f8fdfd 0%, #e8f9f8 100%);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 720px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(24, 218, 198, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
    min-height: 500px;
    padding: 0 80px;
}

.hero-content-left {
    flex: 1;
    max-width: 550px;
    text-align: left;
    margin: 0;
    position: relative;
    z-index: 2;
}

.hero-content-left .hero-title,
.hero-content-left .hero-subtitle,
.hero-content-left .hero-description {
    margin-left: 0;
    margin-right: 0;
}

.hero-content-left .cta-buttons {
    justify-content: flex-start;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    right: 0;
    top: -120px;
    bottom: -100px;
    width: 50%;
    max-width: none;
    transform: none;
}

.dashboard-image {
    width: auto;
    height: 100%;
    min-height: 720px;
    max-width: 100%;
    object-fit: cover;
    object-position: left center;
}

.hero-title {
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #2c2c2c;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #18dac6;
    color: #000000;
}

.btn-primary:hover {
    background-color: #14c4b0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24, 218, 198, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #000000;
    border: 2px solid #18dac6;
}

.btn-secondary:hover {
    background-color: #18dac6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24, 218, 198, 0.2);
}

.btn.large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* ===========================
   Feature Sections
   =========================== */
.feature-section {
    padding: 100px 0;
}

.feature-section.alt-bg {
    background-color: #f9fafb;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    margin-bottom: 16px;
}

.section-intro {
    font-size: 1.125rem;
    color: #2c2c2c;
}

/* ===========================
   Features Grid
   =========================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.features-grid.grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: #ffffff;
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    /* Animation properties will be set by JS */
    opacity: 0;
    transform: translateY(50px);
}

.feature-card.animate-in {
    transition: all 0.3s ease;
}

.feature-card.animate-in:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(24, 218, 198, 0.15);
    border-color: #18dac6;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(24, 218, 198, 0.1) 0%, rgba(24, 218, 198, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-title {
    color: #000000;
    margin-bottom: 12px;
}

.feature-description {
    color: #2c2c2c;
    line-height: 1.7;
}

/* ===========================
   Features Page Styles
   =========================== */
.hero-description {
    font-size: 1.125rem;
    color: #2c2c2c;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.section-eyebrow {
    font-size: 1rem;
    color: #2c2c2c;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.features-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.feature-list-item {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    color: #18dac6;
    line-height: 1;
    flex-shrink: 0;
    min-width: 80px;
}

.feature-list-content {
    flex: 1;
}

.feature-list-title {
    font-size: 1.75rem;
    color: #000000;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-list-description {
    font-size: 1.0625rem;
    color: #2c2c2c;
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-list-description:last-child {
    margin-bottom: 0;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    background: linear-gradient(135deg, #18dac6 0%, #14c4b0 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    color: #000000;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.25rem;
    color: #000000;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: #000000;
    color: #18dac6;
}

.cta-section .btn-primary:hover {
    background-color: #1a1a1a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-section .btn-secondary {
    background-color: transparent;
    color: #000000;
    border-color: #000000;
}

.cta-section .btn-secondary:hover {
    background-color: #000000;
    color: #18dac6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: #ffffff;
    padding: 60px 80px 40px;
    border-top: 1px solid #e5e7eb;
}

.footer-logo-wrapper {
    margin-bottom: 24px;
}

.footer-logo {
    height: 36px;
    width: auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    max-width: 400px;
}

.footer-description {
    color: #2c2c2c;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-contact {
    text-align: right;
}

.footer-heading {
    color: #000000;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-email {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #18dac6;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: #e5e7eb;
    margin: 40px 0 24px;
}

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

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-link {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #18dac6;
}

.footer-separator {
    color: #d1d5db;
    font-size: 0.875rem;
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-link {
    color: #2c2c2c;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: #18dac6;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animation Classes */
.feature-card.animate-in {
    animation: slideUpFade 0.6s ease-out forwards;
}

/* Stagger animation delays for cards */
.features-grid .feature-card:nth-child(1).animate-in {
    animation-delay: 0.1s;
}

.features-grid .feature-card:nth-child(2).animate-in {
    animation-delay: 0.2s;
}

.features-grid .feature-card:nth-child(3).animate-in {
    animation-delay: 0.3s;
}

.features-grid .feature-card:nth-child(4).animate-in {
    animation-delay: 0.4s;
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablets and below */
@media (max-width: 992px) {
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-content-wrapper {
        flex-direction: column;
        gap: 40px;
        min-height: auto;
        padding: 0 40px;
    }
    
    .hero-content-left {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-content-left .cta-buttons {
        justify-content: center;
    }
    
    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        justify-content: center;
    }
    
    .dashboard-image {
        max-width: 100%;
    }
    
    .feature-section {
        padding: 80px 0;
    }
    
    .cta-section {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
    
    .features-grid.grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .navbar {
        padding: 12px 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-buttons {
        gap: 8px;
    }
    
    .nav-buttons .btn {
        padding: 8px 16px;
        font-size: 0.8125rem;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-content-wrapper {
        padding: 0 24px;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .feature-section {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid.grid-2x2 {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        gap: 48px;
    }
    
    .feature-list-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .feature-number {
        font-size: 2.5rem;
    }
    
    .feature-list-title {
        font-size: 1.5rem;
    }
    
    .footer {
        padding: 60px 24px 40px;
    }
    
    .footer-logo-wrapper {
        margin-bottom: 20px;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-brand,
    .footer-contact {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-bottom-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .footer-separator {
        display: none;
    }
    
    .footer-social {
        align-self: flex-start;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .navbar {
        padding: 12px 16px;
    }
    
    .hero-content-wrapper {
        padding: 0 16px;
    }
    
    .footer {
        padding: 60px 16px 40px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .nav-buttons {
        gap: 6px;
    }
    
    .nav-buttons .btn {
        padding: 7px 14px;
        font-size: 0.75rem;
    }
    
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 32px 24px;
    }
    
    .cta-description {
        font-size: 1.125rem;
    }
}
