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

:root {
    /* Color Palette - Dark Theme */
    --primary-color: #1D7874;
    --primary-dark: #165f5b;
    --primary-light: #679289;
    --secondary-color: #F4C095;
    --accent-color: #679289;
    --text-primary: #ffffff;
    --text-secondary: #F4C095;
    --text-light: #679289;
    --bg-primary: #071E22;
    --bg-secondary: #0a2a2f;
    --bg-tertiary: #0d3439;
    --border-color: #1D7874;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);

    /* Typography */
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-primary);
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(7, 30, 34, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #F4C095;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 160px 0 120px;
    background: linear-gradient(135deg, #071E22 0%, #0a2a2f 100%);
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: white;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--bg-primary);
}

.btn-block {
    width: 100%;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: white;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: white;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card-highlight {
    background: linear-gradient(135deg, #1D7874 0%, #165f5b 100%);
    color: white;
    border: 1px solid #679289;
}

.feature-card-highlight .feature-title,
.feature-card-highlight .feature-description {
    color: white;
}

.feature-card-highlight .feature-list li {
    color: rgba(255, 255, 255, 0.9);
}

.feature-card-highlight .feature-list li::before {
    color: rgba(255, 255, 255, 0.7);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-card-highlight .feature-icon {
    background: rgba(255, 255, 255, 0.2);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.feature-description {
    font-size: 16px;
    color: white;
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: white;
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: white;
    font-weight: 700;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.benefit-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--primary-color);
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.benefit-item p {
    font-size: 14px;
    color: white;
}

/* Screenshots Section */
.screenshots {
    background: var(--bg-secondary);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.screenshot-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.screenshot-image {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.screenshot-image:hover {
    opacity: 0.9;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: fadeIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.screenshot-info {
    padding: 24px;
}

.screenshot-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.screenshot-info p {
    font-size: 14px;
    color: white;
    line-height: 1.6;
}

.screenshot-note {
    margin-top: 48px;
    text-align: center;
    padding: 20px;
    background: rgba(29, 120, 116, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(29, 120, 116, 0.3);
}

.screenshot-note p {
    color: white;
    font-size: 14px;
}

/* Contact Section */
.contact {
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.contact-description {
    font-size: 16px;
    color: white;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.contact-detail-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-detail-item a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.contact-detail-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29, 120, 116, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--text-light);
    font-size: 13px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info .section-title {
        text-align: center;
    }

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

    .contact-details {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
    }

    .nav-links {
        gap: 20px;
        margin-top: 12px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .contact-detail-item {
        flex-direction: column;
        text-align: center;
    }
}
