/* 
 * DMARQ Website Styles
 * Modern, clean design with ample whitespace
 * Colors from branding guidelines:
 * - Deep Blue: #1A237E
 * - Vibrant Teal: #00ACC1
 * - Bright Orange: #FF7043
 * - Light Gray: #F5F5F5
 * - Dark Gray: #212121
 */

/* Base styles and reset */
:root {
    --blue: #1A237E;
    --teal: #00ACC1;
    --orange: #FF7043;
    --light-gray: #F5F5F5;
    --dark-gray: #212121;
    --white: #FFFFFF;
    --black: #000000;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--blue);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

code {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-size: 0.9em;
}

/* Button styles */
.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    border: none;
    box-shadow: var(--shadow);
}

.button.primary {
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: var(--white);
}

.button.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 0.95;
}

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

.button.secondary:hover {
    background-color: rgba(0, 172, 193, 0.1);
    transform: translateY(-2px);
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    z-index: 100;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: block;
}

.logo img {
    height: 40px;
}

.logo-light {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-gray);
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: var(--teal);
}

.nav-link:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 2px;
    width: 0;
    background-color: var(--teal);
    transition: var(--transition);
}

.nav-link:hover:after {
    width: 100%;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 5px 0;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 172, 193, 0.1);
    color: var(--teal);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--blue);
}

.hero-text {
    font-size: 1.125rem;
    color: var(--dark-gray);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-image {
    position: relative;
}

.dashboard-preview {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(-5deg);
}

/* Section Styling */
.section {
    padding: 100px 0;
}

.section.bg-alt {
    background-color: var(--light-gray);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--blue);
}

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

.section-paragraph {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    opacity: 0.9;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.125rem;
}

.emoji {
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* Status Card */
.card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: var(--transition);
}

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

.status-card {
    width: 100%;
}

.card-title {
    margin-bottom: 1.5rem;
    color: var(--blue);
    font-size: 1.5rem;
}

.status-list {
    list-style: none;
    padding: 0;
}

.status-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.status-item:last-child {
    border-bottom: none;
}

.status-item::before {
    content: '⬛';
    margin-right: 10px;
    font-size: 1.25rem;
}

.status-item.done::before {
    content: '✅';
}

.status-item.coming::before {
    content: '🔜';
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    margin-bottom: 1rem;
    color: var(--blue);
}

.feature-details {
    list-style: none;
    padding: 0;
    text-align: center;
}

.feature-details li {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

/* Why DMARQ Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    text-align: center;
    padding: 2rem;
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.why-title {
    margin-bottom: 1rem;
    color: var(--blue);
}

.why-text {
    color: var(--dark-gray);
    opacity: 0.9;
}

/* Getting Started Section */
.setup-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: start;
}

.terminal {
    background-color: var(--dark-gray);
    border-radius: var(--radius);
    overflow: hidden;
}

.terminal-header {
    background-color: #333;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.terminal-button:nth-child(1) {
    background-color: #ff5f56;
}

.terminal-button:nth-child(2) {
    background-color: #ffbd2e;
}

.terminal-button:nth-child(3) {
    background-color: #27c93f;
}

.terminal-title {
    color: var(--white);
    opacity: 0.7;
    font-size: 0.8rem;
    margin-left: 1rem;
}

.terminal-body {
    padding: 1rem;
}

.terminal-line {
    font-family: monospace;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.terminal-line.success {
    color: #27c93f;
    opacity: 1;
}

.requirements-title {
    margin-bottom: 1rem;
    color: var(--blue);
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.requirements-list li:last-child {
    border-bottom: none;
}

/* Legal Section */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.legal-card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: var(--transition);
}

.legal-card:hover {
    box-shadow: var(--shadow-lg);
}

.legal-title {
    color: var(--blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.legal-text {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.legal-link {
    display: inline-block;
    color: var(--teal);
    font-weight: 600;
}

.legal-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--white);
    opacity: 0.8;
}

.footer-heading {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-link {
    display: block;
    color: var(--white);
    opacity: 0.7;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-link:hover {
    opacity: 1;
    color: var(--teal);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-link {
    color: var(--white);
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-bottom-link:hover {
    opacity: 1;
    color: var(--teal);
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
        padding: 1rem 0;
    }
    
    .mobile-link {
        display: block;
        padding: 0.7rem 0;
        color: var(--dark-gray);
        font-weight: 500;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .mobile-link.highlight {
        color: var(--teal);
        font-weight: 600;
    }
    
    .hero .container,
    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .setup-card {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark mode support for future implementation */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #1a1a1a;
        --light-gray: #2d2d2d;
        --dark-gray: #e0e0e0;
        --shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3), 0 4px 6px rgba(0, 0, 0, 0.2);
    }
    
    .logo-dark {
        display: none;
    }
    
    .logo-light {
        display: block;
    }
    
    .header {
        background-color: rgba(26, 26, 26, 0.98);
    }
    
    .card, .feature-card, .legal-card {
        background-color: #252525;
    }
    
    .terminal {
        background-color: #111;
    }
}