/* CloudStrucc Diagram Generator - Main Stylesheet */

:root {
    /* CloudStrucc Brand Colors */
    --primary-color: #012970;
    --secondary-color: #4154f1;
    --accent-color: #f85a40;
    --success-color: #198754;
    --dark-color: #012970;
    --light-bg: #f6f9ff;
    --white: #ffffff;
    --text-color: #444444;
    --heading-color: #012970;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--heading-color);
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    padding: 1rem 0;
    transition: all 0.3s;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-brand i {
    color: var(--secondary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    margin: 0 0.5rem;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.btn-get-started {
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-get-started:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(65, 84, 241, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, var(--light-bg) 0%, var(--white) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-image-bg {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(65, 84, 241, 0.2);
}

.btn-primary-hero {
    background: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-hero:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(65, 84, 241, 0.2);
}

.btn-outline-hero {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-hero:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(65, 84, 241, 0.2);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-color);
}

.feature-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
    border: 2px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(1, 41, 112, 0.1);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

/* Examples Section */
.examples {
    padding: 80px 0;
    background: var(--light-bg);
}

.example-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(1, 41, 112, 0.08);
    transition: all 0.3s;
    height: 100%;
}

.example-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(1, 41, 112, 0.15);
}

.example-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.example-content {
    padding: 1.5rem;
}

.badge-custom {
    background: rgba(65, 84, 241, 0.1);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

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

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

footer h5, footer h6 {
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 0.5rem;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Dashboard */
.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(1, 41, 112, 0.1);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}
