/* --- CSS Reset & Variables --- */
:root {
    --primary-color: #032f2e;
    --secondary-color: #062f2d;
    --bg-light: #f6f6f6;
    --text-dark: #333;
    --text-light: #fff;
    --accent: #409EFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Archivo', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: #d1d1d1;
    color: var(--primary-color);
}

/* --- Header & Navigation --- */
header {
    background: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 40px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}
.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: #d1d1d1;
}
.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background-color: #78a095;
    padding: 150px 0 100px;
    color: var(--text-light);
}
.hero-content {
    max-width: 800px;
}
.hero h1 {
    font-size: 55px;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero h4 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 30px;
}
.app-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}
.app-buttons img {
    height: 60px;
    border-radius: 8px;
}

/* --- About Section --- */
.about {
    background: var(--bg-light);
    padding: 100px 0;
    text-align: center;
}
.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.section-subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 18px;
}
.video-container {
    max-width: 800px;
    margin: 0 auto 50px;
}
.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 10px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.feature-box img {
    width: 80px;
    margin-bottom: 20px;
}

/* --- How it Works (Tabs) --- */
.how-it-works {
    padding: 100px 0;
    background: #fff;
}
.tabs-container {
    display: flex;
    gap: 50px;
    align-items: center;
}
.tab-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.tab-btn {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: left;
    transition: 0.3s;
}
.tab-btn.active {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.tab-btn h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
.tab-content {
    flex: 1;
    text-align: center;
}
.tab-img {
    display: none;
    max-width: 100%;
    border-radius: 20px;
}
.tab-img.active {
    display: block;
    animation: fadeIn 0.5s;
}

/* --- Pricing Section --- */
.pricing {
    background: var(--bg-light);
    padding: 100px 0;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.pricing-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}
.pricing-card.recommended {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}
.pricing-card h3 {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.price {
    font-size: 40px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.price sup { font-size: 20px; }
.pricing-card ul {
    list-style: none;
    margin: 20px 0 30px;
}
.pricing-card ul li {
    margin-bottom: 10px;
    font-size: 15px;
}
.enterprise-box {
    text-align: center;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
}
.disclaimer {
    font-size: 12px;
    color: #777;
    text-align: center;
}

/* --- Contact Section --- */
.contact {
    background: var(--primary-color);
    padding: 100px 0;
    color: #fff;
}
.contact .section-title {
    color: #fff;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
}
.form-group {
    margin-bottom: 20px;
}
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}
.submit-btn {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* --- Footer --- */
footer {
    background: #222;
    color: #fff;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.footer-logo img {
    width: 130px;
}
.social-icons a {
    display: inline-block;
    background: #666;
    color: #fff;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 3px;
    margin-right: 10px;
}
.footer-links a {
    display: block;
    color: #ccc;
    margin-bottom: 10px;
}
.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 14px;
    color: #ccc;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: 1fr; }
    .tabs-container { flex-direction: column; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.recommended { transform: scale(1); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 40px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        padding: 20px;
        text-align: center;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .app-buttons { flex-direction: column; }
}

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

/* --- Registration Page Styles --- */
.register-section {
    background-color: var(--primary-color);
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px); /* 70px is an example header height */
}

.register-container {
    max-width: 500px;
    width: 100%;
    padding: 40px;
    background-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 10px;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h1 {
    color: var(--text-light);
    margin: 0;
    font-size: 2em;
}

.form-header p {
    color: #ccc;
    margin-top: 5px;
}

/* This is a duplicate from your main contact form style, ensure it is consistent */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 14px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Archivo', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    color: var(--text-dark);
}

.form-control::placeholder {
    color: #999;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(64, 158, 255, 0.5);
}

.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    margin-top: 25px;
    margin-bottom: 25px;
}

.form-group-checkbox input[type="checkbox"] {
    margin-top: 5px;
    margin-right: 12px;
    min-width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
}

.checkbox-label {
    font-size: 14px;
    color: #ddd;
    line-height: 1.5;
}

.checkbox-label a {
    color: #87CEFA; /* Light Sky Blue for better contrast on dark background */
    font-weight: bold;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #337ab7;
}

.navigation-link {
    text-align: center;
    margin-top: 25px;
    font-size: 15px;
}

.navigation-link a {
    color: #87CEFA;
    font-weight: 600;
}

/* --- Login Page Styles --- */
.login-section {
    background-color: var(--primary-color); /* Same dark background as register */
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px); /* Adjust based on actual header/footer height */
}

.login-container {
    max-width: 450px; /* Slightly narrower than register for a focused feel */
    width: 100%;
    padding: 40px;
    background-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 10px;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-container .form-header { /* Specific to login container */
    margin-bottom: 30px;
}

.login-container .form-header h1 {
    color: var(--text-light);
    margin: 0;
    font-size: 2em;
}

.login-container .form-header p {
    color: #ccc;
    margin-top: 5px;
}

/* Reusing .form-group and .form-control styles from register/contact for consistency */
/* (Make sure these are already in style.css, if not, copy from register.html's style block) */
/*
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 14px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Archivo', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    color: var(--text-dark);
}

.form-control::placeholder {
    color: #999;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(64, 158, 255, 0.5);
}
*/

.forgot-password {
    text-align: right;
    margin-bottom: 25px;
    font-size: 14px;
}

.forgot-password a {
    color: #87CEFA; /* Light Sky Blue for better contrast */
    text-decoration: none;
    font-weight: 600;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Reusing .submit-btn and .navigation-link styles */
/*
.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #337ab7;
}

.navigation-link {
    text-align: center;
    margin-top: 25px;
    font-size: 15px;
}

.navigation-link a {
    color: #87CEFA;
    font-weight: 600;
}
*/