﻿/* ============================================
   Reset and Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background-color: #fafafa;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* ============================================
   Layout and Container
   ============================================ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 30px;
    min-height: auto;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-text h1 {
    font-size: 3em;
    color: #1a1a1a;
    margin-bottom: 0.25em;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a1a1a, #007acc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .tagline {
    font-size: 1.5em;
    color: #007acc;
    margin-bottom: 1em;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.hero-text .tagline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #007acc, #005fa3);
    border-radius: 2px;
}

.hero-text .description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 2em;
    line-height: 1.8;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}

.btn {
    flex: 1;
    min-width: 200px;
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #007acc, #005fa3);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 122, 204, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #005fa3, #004080);
    box-shadow: 0 8px 25px rgba(0, 122, 204, 0.4);
    transform: translateY(-3px);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 122, 204, 0.3);
}

.btn-primary:focus {
    outline: 2px solid #007acc;
    outline-offset: 2px;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #007acc !important;
    border: 2px solid #007acc;
}

.btn-secondary:hover {
    background-color: #e8f4ff;
    box-shadow: 0 2px 8px rgba(0, 122, 204, 0.15);
}

.btn-secondary:active {
    background-color: #d0e8ff;
}

.btn-secondary:focus {
    outline: 2px solid #007acc;
    outline-offset: 2px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.hero-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   Features Section
   ============================================ */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 80px;
    margin-bottom: 80px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 122, 204, 0.05);
}

.feature-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
    border-color: rgba(0, 122, 204, 0.15);
}

.feature-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    background: linear-gradient(135deg, rgba(0, 122, 204, 0.05), rgba(0, 122, 204, 0.02));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, rgba(0, 122, 204, 0.1), rgba(0, 122, 204, 0.05));
}

.feature-item img {
    width: 100%;
    max-width: 100px;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 122, 204, 0.1));
    transition: transform 0.3s ease;
}

.feature-item:hover img {
    transform: scale(1.1);
}

.feature-item h3 {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
    line-height: 1.4;
}

.feature-item p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #f9fbfd, #f5f7fa);
    font-size: 0.95em;
    color: #666;
}

/* ============================================
   Responsive Design - Large Screens (1024px and above)
   ============================================ */
@media (min-width: 1024px) {
    .button-group {
        flex-wrap: nowrap;
    }

    .btn {
        flex: 0 1 auto;
        min-width: 220px;
    }
}

/* ============================================
   Responsive Design - Tablets (769px to 1023px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1023px) {
    .button-group {
        flex-wrap: wrap;
    }

    .btn {
        flex: 1 1 calc(50% - 6px);
        min-width: 150px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Responsive Design - Mobile (768px and below)
   ============================================ */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    .navbar {
        padding: 10px 15px;
        margin-bottom: 20px;
    }

    .navbar-logo {
        font-size: 1.1em;
    }

    .navbar-logo img {
        width: 32px;
        height: 32px;
    }

    .hero-section {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
    }

    .hero-text h1 {
        font-size: 2.2em;
    }

    .hero-text .tagline {
        font-size: 1.2em;
    }

    .hero-text .description {
        font-size: 1em;
    }

    .button-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .btn {
        flex: 1;
        width: 100%;
        min-width: unset;
        padding: 14px 20px;
        font-size: 0.95em;
    }

    .hero-image {
        width: 100%;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .feature-item {
        padding: 30px 20px;
    }

    .feature-icon {
        height: 100px;
    }

    .feature-item img {
        max-width: 80px;
    }
}

/* ============================================
   Small Mobile Devices (480px and below)
   ============================================ */
@media (max-width: 480px) {
    .container {
        width: 100%;
        padding: 12px;
    }

    .hero-text h1 {
        font-size: 1.8em;
    }

    .hero-text .tagline {
        font-size: 1.1em;
    }

    .hero-text .description {
        font-size: 0.95em;
    }

    .hero-section {
        padding: 30px 15px;
        gap: 20px;
    }

    .feature-item {
        padding: 20px 15px;
    }

    footer {
        padding: 20px;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    body {
        background-color: #fff;
    }

    .button-group {
        display: none;
    }
}
