/* General Body & Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-dark: #0a192f; /* Deep Navy Blue */
    --secondary-light: #f0f8ff; /* Alice Blue */
    --accent-color: #64ffda; /* Bright Teal */
    --text-color-dark: #ccd6f6; /* Light Grayish Blue for text on dark */
    --text-color-light: #333; /* Dark Gray for text on light */
    --card-background: #ffffff; /* White for cards */
    --footer-bg: #0a192f; /* Dark for footer */
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);

    --font-family-primary: 'Inter', sans-serif;

    --padding-section: 60px 20px;
    --max-width-content: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--text-color-light);
    background-color: var(--secondary-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3em;
    font-weight: 700;
}

h2 {
    font-size: 2.5em;
    font-weight: 600;
}

h3 {
    font-size: 1.8em;
    font-weight: 500;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Utility Classes */
.container {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-heading {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1.1em;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background-color: var(--primary-dark);
    color: var(--text-color-dark);
    border-color: var(--primary-dark);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Header */
.main-header {
    background-color: var(--primary-dark);
    padding: 15px 0;
    box-shadow: 0 4px 15px var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--accent-color);
    font-size: 1.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
}

.nav-menu ul li {
    margin-left: 30px;
}

.nav-menu ul li a {
    color: var(--text-color-dark);
    font-weight: 500;
    font-size: 1.05em;
    padding: 5px 0;
    position: relative;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2c42 100%);
    color: var(--text-color-dark);
    padding: 100px 0;
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-content h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.4em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

.hero-buttons .btn {
    margin: 0 15px;
}

/* General Section Styling */
.section-padding {
    padding: var(--padding-section);
}

.feature-grid,
.card-grid,
.team-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item,
.card,
.team-member,
.pricing-plan {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-item:hover,
.card:hover,
.team-member:hover,
.pricing-plan:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px var(--shadow-medium);
}

.feature-item img,
.card img,
.team-member img {
    width: 100%; /* Make images fill card width */
    max-height: 200px; /* Limit height for consistency */
    object-fit: cover; /* Cover area without distortion */
    border-radius: 8px;
    margin-bottom: 20px;
}

.feature-item h3,
.card h3,
.team-member h3,
.pricing-plan h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.feature-item p,
.card p,
.team-member p,
.pricing-plan p {
    color: var(--text-color-light);
    font-size: 0.95em;
}

/* About Page Specifics */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.about-text-block {
    flex: 1;
    text-align: left;
    max-width: 800px;
}

.about-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow-medium);
}

/* How It Works/Features Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px var(--shadow-light);
    text-align: center;
}

.step-card .icon {
    font-size: 3em;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.step-card h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* Licensing Page */
.pricing-plan {
    border: 2px solid var(--secondary-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-plan.featured {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
}

.pricing-plan h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.price {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.price span {
    font-size: 0.5em;
    font-weight: 400;
    color: var(--text-color-light);
}

.pricing-plan ul {
    list-style: none;
    text-align: left;
    margin: 20px 0 30px;
    flex-grow: 1;
}

.pricing-plan ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 0.95em;
}

.pricing-plan ul li::before {
    content: '✔'; /* Checkmark icon */
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: bold;
}

.pricing-plan .btn {
    margin-top: auto; /* Push button to bottom */
    width: 100%;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contact-info p strong {
    min-width: 80px;
    color: var(--primary-dark);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-dark);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-family-primary);
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.2);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-primary {
    width: auto;
    padding: 12px 30px;
    font-size: 1em;
}

/* Footer */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--text-color-dark);
    padding: 40px 0;
    text-align: center;
    font-size: 0.95em;
    margin-top: 50px;
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-links ul li a {
    color: var(--text-color-dark);
    font-weight: 400;
    opacity: 0.8;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.social-icons a {
    color: var(--text-color-dark);
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5em;
    }
    .hero-content p {
        font-size: 1.2em;
    }
    .section-heading {
        font-size: 2.2em;
    }
    .nav-menu ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        padding: 20px 0;
    }
    .nav-menu ul.active {
        display: flex;
    }
    .nav-menu ul li {
        margin: 10px 0;
        text-align: center;
    }
    .hamburger {
        display: flex;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 2em;
    }
    .hero-section {
        padding: 80px 0;
    }
    .hero-content h1 {
        font-size: 3em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .hero-buttons .btn {
        margin: 10px 0;
        display: block;
    }
    .section-padding {
        padding: 40px 15px;
    }
    .feature-grid, .card-grid, .team-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .about-content {
        flex-direction: column;
    }
    .about-text-block, .about-image-wrapper {
        text-align: center;
    }
    .contact-grid {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1em;
    }
    .logo {
        font-size: 1.5em;
    }
    .main-footer .footer-links ul {
        flex-direction: column;
    }
    .main-footer .footer-links ul li {
        margin: 5px 0;
    }
}

/* Javascript functionality for hamburger menu */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}
