@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary-color: #1E3A8A; /* Deep Blue */
    --secondary-color: #3B82F6; /* Sky Blue */
    --accent-color: #10B981; /* Green */
    --bg-color: #F9FAFB; /* Light Grey / White */
    --text-color: #1F2937; /* Dark Gray for text */
    --text-light: #6B7280; /* Light Gray for subtext */
    --white: #FFFFFF;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Borders */
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

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

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.py-4 { padding: 4rem 0; }
.py-6 { padding: 6rem 0; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px; /* Rounded corners */
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(30, 58, 138, 0.39);
}

.btn-primary:hover {
    background-color: #172d6e; /* Darker blue */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.23);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.btn-secondary:hover {
    background-color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.btn-accent:hover {
    background-color: #0d9467;
    transform: translateY(-2px);
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

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

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: radial-gradient(circle at top, #ffffff, var(--bg-color));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -1px;
}

.hero p.subtext {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 4rem;
}

.hero-dashboard {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255,255,255,0.4);
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
    position: relative;
}
.hero-dashboard img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(59, 130, 246, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.feature-link i {
    transition: var(--transition);
}
.feature-card:hover .feature-link i {
    transform: translateX(5px);
}

/* Why Choose Us */
.why-us {
    background-color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.why-item {
    padding: 20px;
}

.why-item .icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.why-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    border-radius: var(--border-radius-lg);
    padding: 4rem 2rem;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
    background-color: var(--white);
    color: var(--primary-color);
}
.cta-section .btn:hover {
    background-color: #f1f1f1;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}

.stars {
    color: #FBBF24;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}
.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--white);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-col p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
}
.footer-links a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--bg-color);
    border-radius: 50%;
    color: var(--primary-color);
}
.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid var(--bg-color);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .btn-group {
        flex-direction: column;
    }
    
    .hero .btn {
        width: 100%;
    }
    
    .footer-grid { grid-template-columns: 1fr; }
}

/* --- Added Pages Styles --- */

/* Product Layouts */
.product-showcase {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 6rem;
}
.product-showcase:nth-child(even) {
    flex-direction: row-reverse;
}
.product-content {
    flex: 1;
}
.product-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.product-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.product-features-list {
    list-style: none;
    margin-bottom: 2rem;
}
.product-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 500;
}
.product-features-list li i {
    color: var(--accent-color);
}
.product-image {
    flex: 1;
}
.product-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
}
@media (max-width: 768px) {
    .product-showcase, .product-showcase:nth-child(even) {
        flex-direction: column;
    }
}

/* Pricing Table */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}
.pricing-card.popular {
    border: 2px solid var(--secondary-color);
    position: relative;
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
}
.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pricing-price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}
.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}
.pricing-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-features li i {
    color: var(--accent-color);
}
.pricing-card .btn {
    width: 100%;
}

/* Contact Details */
.contact-wrapper {
    display: flex;
    gap: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.contact-info {
    flex: 1;
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
}
.contact-info h3 {
    color: var(--white);
    margin-bottom: 20px;
}
.contact-info p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.contact-detail i {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-top: 5px;
}
.contact-form {
    flex: 2;
    padding: 40px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
}

/* About Us Layout */
.about-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-image img {
    border-radius: var(--border-radius);
}
.about-content h2 {
    margin-bottom: 1rem;
}
.about-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
}

/* Sticky CTA Mobile */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 15px 20px;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
    z-index: 999;
}
@media (max-width: 768px) {
    .sticky-cta {
        display: flex;
        gap: 10px;
    }
    .sticky-cta .btn {
        flex: 1;
    }
    body {
        padding-bottom: 80px; /* space for sticky cta */
    }
}
