/* AIxion Master Stylesheet */
:root {
    --primary: #004a99;
    --primary-hover: #003d7a;
    --secondary: #007bff;
    --success: #28a745;
    --success-hover: #218838;
    --bg-main: #f8f9fa;
    --bg-card: #ffffff;
    --text-main: #333;
    --text-muted: #666;
    --border: #eee;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.05);
    --shadow-lg: 0 12px 20px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-main);
}

/* Navigation */
.nav {
    background: var(--bg-card);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-links a {
    padding: 8px 20px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(0, 74, 153, 0.05);
}

.nav-links a.btn-nav {
    border: 2px solid var(--primary);
    color: var(--primary);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s;
        height: calc(100vh - 70px);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        display: none;
        z-index: 999;
    }
    
    .nav-overlay.active {
        display: block;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2em; }
    .hero-subtitle { font-size: 1.1em; }
    .hero { padding: 60px 20px; }
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--success);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1em;
}

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

/* Sections */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: var(--text-main);
    text-align: center;
}

/* Industry Grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.industry-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #b8daff;
}

.industry-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.industry-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.industry-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature {
    text-align: center;
}

.feature .icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
}

.feature h3 {
    color: var(--text-main);
    margin-bottom: 10px;
}

.feature p {
    color: var(--text-muted);
    font-size: 0.95em;
}

/* Calculator */
.calculator {
    background: var(--bg-main);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calculator label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--text-main);
}

.calculator input {
    width: 100%;
    padding: 12px;
    margin: 10px 0 20px 0;
    font-size: 1.1em;
    border: 2px solid var(--border);
    border-radius: 5px;
}

.result {
    background: var(--bg-card);
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
    text-align: center;
}

.loss-monthly {
    font-size: 3em;
    color: #dc3545;
    font-weight: bold;
}

.loss-yearly {
    font-size: 1.5em;
    color: var(--text-muted);
    margin-top: 10px;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #003366, var(--primary));
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: white;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 50px 20px;
    text-align: center;
    font-size: 0.9em;
}

footer a {
    color: #ddd;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Forms */
.cta form {
    max-width: 500px;
    margin: 30px auto;
}

.cta input,
.cta button {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    font-size: 1.1em;
    border: 2px solid transparent;
    border-radius: 5px;
}

.cta input {
    background: white;
    color: var(--text-main);
}

.cta button {
    background: var(--success);
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.cta button:hover {
    background: var(--success-hover);
}

.guarantee {
    color: rgba(255,255,255,0.8);
    margin-top: 20px;
    line-height: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .industry-grid { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; gap: 30px; }
    section { padding: 60px 20px; }
}
