/*
* Jeweliffy - Premium Jewellery Management System
* Frontend Stylesheet (Corporate Light Theme)
*/

:root {
    /* Color Palette - Light Corporate Theme */
    --primary-color: #ffffff;
    /* White Background */
    --secondary-color: #f8f9fa;
    /* Light Gray Secondary */
    --accent-color: #d4af37;
    /* Gold */
    --accent-hover: #b5952f;
    /* Gold Hover */
    --primary-blue: #0d1e4c;
    /* Corporate Navy Blue */
    --text-main: #1a1a1a;
    /* Nearly Black Headers */
    --text-muted: #5a6b7c;
    /* Muted Blue-Gray Text */
    --border-color: #e2e8f0;
    /* Light Border */
    --dark-bg: #0d1e4c;
    /* Dark sections (Hero/Footer) */

    /* Spacing */
    --container-padding: 2rem;
    --section-spacing: 5rem;

    /* Transitions */
    --transition-base: 0.3s ease-in-out;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.text-accent {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.text-blue {
    color: var(--primary-blue);
}

.text-white {
    color: #fff !important;
}

.d-flex {
    display: flex;
}

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

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.my-5 {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 6px;
    /* More corporate, less rounded */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #081230;
    border-color: #081230;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 30, 76, 0.2);
}

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

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


.btn-outline {
    background-color: transparent;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

.btn-outline-white {
    border-color: #fff;
    color: #fff;
}

.btn-outline-white:hover {
    background-color: #fff;
    color: var(--primary-blue);
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: #fff;
    /* White header for clear logo visibility */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
}

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

.logo img {
    height: 50px;
}

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

.nav-link {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    /* Account for white header */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(13, 30, 76, 0.1);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.hero-image {
    margin-top: 4rem;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    /* Softer shadow */
    border: 1px solid #fff;
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 10px;
}

.hero-glow {
    display: none;
    /* Removed for cleaner look */
}

/* Features Grid */
.features-section {
    padding: var(--section-spacing) 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 30, 76, 0.05);
    /* Light blue bg */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
}

/* Comparison Section (Dark to break up flow) */
.comparison-section {
    padding: var(--section-spacing) 0;
    background: var(--dark-bg);
    color: #fff;
}

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

@media (max-width: 768px) {
    .comparison-container {
        grid-template-columns: 1fr;
    }
}

.pain-points li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pain-points li::before {
    content: "✕";
    color: #ef4444;
}

.solutions li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.solutions li::before {
    content: "✓";
    color: #22c55e;
    font-weight: bold;
}

/* Campaign/Marketing Section (Light Gray) */
.marketing-section {
    background: var(--secondary-color);
    padding: var(--section-spacing) 0;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a2c5e 100%);
    color: #fff;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, #0d1e4c, #050a18);
    /* Deep Corporate Blue Gradient */
    padding: 5rem 0 2rem;
    color: #e2e8f0;
    /* Off-white text */
    border-top: 3px solid var(--accent-color);
    /* Gold Top Border */
}

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

.footer-brand p {
    margin-top: 1rem;
    opacity: 0.9;
    color: #cbd5e1;
    /* Lighter grey-blue */
    line-height: 1.7;
}

/* Footer Logo Highlight */
.footer-logo-container {
    background: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.footer-logo-container img {
    height: 50px;
    width: auto;
}

.footer-col h4 {
    color: var(--accent-color);
    /* Gold Headings */
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

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

.footer-links a {
    color: #cbd5e1;
    transition: var(--transition-base);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    /* Gold Hover */
    padding-left: 5px;
    /* Subtle movement */
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.2);
    /* Darker bottom bar */
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    /* Subtle Gold Border */
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Social Icons - Circular Corporate Style */
.footer-links li a i {
    width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition-base);
    color: var(--accent-color);
}

.footer-links li a:hover i {
    background: var(--accent-color);
    color: #fff;
}

.footer-col .fab {
    /* Override previous generic style */
    width: auto;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 120px;
    }

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

/* Pricing Table */
.pricing-section {
    padding: var(--section-spacing) 0;
    background: #fff;
}

.pricing-table-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Clean shadow */
    padding: 2rem;
    overflow-x: auto;
    border: 1px solid var(--border-color);
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 800px;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

.pricing-table thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.feature-col {
    text-align: left;
    width: 40%;
    font-weight: 600;
    color: var(--primary-blue);
}

.plan-col {
    text-align: center;
    width: 30%;
    vertical-align: top;
}

.plan-col.corporate-header {
    background: #f8faff;
    border-top: 4px solid var(--primary-blue);
    /* Highlight */
    border-radius: 4px 4px 0 0;
}

.plan-col.corporate-bg {
    background: #f8faff;
}

.popular-badge {
    background: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.amc-price {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.gst-note {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 5px;
}

.category-row td {
    background: #f1f5f9;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
}

.fa-check {
    color: #16a34a;
}

.fa-times {
    color: #cbd5e1;
}

/* Contact Section */
.contact-section {
    padding: var(--section-spacing) 0;
    background: #f8f9fa;
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-image img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 100%;
    object-fit: cover;
}

.contact-form-wrapper {
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 0px;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8f9fa;
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(13, 30, 76, 0.05);
}

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

.contact-btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-image {
        display: none;
        /* Hide image on mobile to save space or move to bottom if preferred */
    }
}

/* Animations */
@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-mockup-animate {
    animation: floatUp 1.2s ease-out forwards;
    /* Ensure it starts invisible if JS isn't involved, though keyframes handle 0% */
    opacity: 0;
    animation-fill-mode: forwards;
}