/*====================================================================
  1. CONFIGURATION & GLOBAL BASE STYLES
====================================================================*/

:root {
    /* Dark Theme Palette (Default) */
    --dark-bg: #1e293b;
    --dark-text: #cbd5e1;
    --dark-primary: #6366f1;
    --dark-secondary: #a3a5c4;
    --dark-accent: #3b82f6;
    --dark-card-bg: #334155;

    /* Light Theme Palette */
    --light-bg: #f8fafc;
    --light-text: #475569;
    --light-primary: #6366f1;
    --light-secondary: #78909c;
    --light-card-bg: #ffffff;

    /* Theme Variables (Default: Dark) */
    --bg: var(--dark-bg);
    --text: var(--dark-text);
    --primary: var(--dark-primary);
    --secondary: var(--dark-secondary);
    --accent: var(--dark-accent);
    --card-bg: var(--dark-card-bg);

    /* Global Settings */
    --font-family: 'Nunito', sans-serif;
    --transition-speed: 0.3s ease-in-out;
    --container-width: 1200px;
    --section-padding: 80px 0;
    --header-height: 60px;
    --border-radius: 10px;
    --box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
    --box-shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Light Theme Override */
body.light-theme {
    --bg: var(--light-bg);
    --text: var(--light-text);
    --primary: var(--light-primary);
    --secondary: var(--light-secondary);
    --card-bg: var(--light-card-bg);
}

/* Base Body Styles */
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-family);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}


/*====================================================================
  2. BASE ELEMENTS & UTILITIES
====================================================================*/

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

section {
    padding: var(--section-padding);
    text-align: center;
    transition: background-color var(--transition-speed);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: none;
    text-align: center;
    box-sizing: border-box; /* ADDED: Ensure padding doesn't affect width */
}

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

.btn-primary:hover {
    background-color: #d83d58;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 24px;
    border-radius: 30px;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    box-sizing: border-box; /* ADDED: Ensure padding doesn't affect width */
}


/*====================================================================
  3. HEADER & NAVIGATION
====================================================================*/

.header {
    background-color: var(--card-bg);
    height: var(--header-height);
    padding: 10px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-speed);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

body.light-theme .header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Logo */
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    text-decoration: none;
    transition: color var(--transition-speed);
    display: flex;
    align-items: center;
    height: 100%;
}

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

/* Navigation */
.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-menu ul li {
    margin-left: 30px;
}

.nav-menu ul li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    transition: color var(--transition-speed);
}

.nav-menu ul li a:hover {
    color: var(--secondary);
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary);
    left: 0;
    bottom: -5px;
    transition: width var(--transition-speed);
}

.nav-menu ul li a:hover::after {
    width: 100%;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 20px;
    transition: all var(--transition-speed);
}

.theme-toggle:hover {
    transform: rotate(30deg);
}

.theme-toggle .fa-sun {
    display: none;
}

body.light-theme .theme-toggle {
    background-color: var(--secondary);
}

body.light-theme .theme-toggle .fa-sun {
    display: block;
}

body.light-theme .theme-toggle .fa-moon {
    display: none;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 4px 0;
    transition: all var(--transition-speed);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/*====================================================================
  4. MAIN SECTIONS - COMMON PATTERNS
====================================================================*/

/* Hero Section */
.hero {
    background: url('../img/hero-background-dark.jpg') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Grid Sections */
.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Card Components */
.card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

body.light-theme .card {
    box-shadow: var(--box-shadow-light);
}

body.light-theme .card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Icon Styling */
.card-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    transition: color var(--transition-speed);
}

body.light-theme .card-icon {
    color: var(--primary);
}


/*====================================================================
  5. SPECIFIC SECTIONS
====================================================================*/

/* About Us */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.about-cta {
    margin-top: 2rem;
    text-align: center;
}

/* Services */
.services {
    background-color: var(--card-bg);
}

.service-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Testimonials */
.testimonials {
    background-color: var(--bg);
}

.testimonial-item {
    font-style: italic;
    position: relative;
}

.testimonial-item cite {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 15px;
}

/* Contact */
.contact {
    background-color: var(--card-bg);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form,
.contact-info {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--accent);
    border-radius: 5px;
    background-color: var(--card-bg);
    color: var(--text);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all var(--transition-speed);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.3);
}

body.light-theme .form-group input:focus,
body.light-theme .form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

/* Footer */
.footer {
    background-color: var(--card-bg);
    color: var(--text);
    text-align: center;
    padding: 30px 0;
    transition: all var(--transition-speed);
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    color: var(--text);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color var(--transition-speed);
}

.social-links a:hover {
    color: var(--secondary);
}


/*====================================================================
  6. PAGE SPECIFIC STYLES
====================================================================*/

/* Animated Hero */
.hero-animated {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../img/hero-background-dark.png') center/cover no-repeat;
    filter: brightness(0.2) blur(4px);
}

.hero-animated .hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(-45deg,
        rgba(0, 0, 0, 0.4),
        rgba(255, 255, 255, 0.15),
        rgba(0, 0, 0, 0.4),
        rgba(255, 255, 255, 0.15)
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.hero-animated h1,
.hero-animated p {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.hero-animated h1 {
    animation-delay: 0.3s;
    font-size: 3rem;
}

.hero-animated p {
    animation-delay: 0.6s;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

body.light-theme .hero-animated .hero-gradient {
    background: linear-gradient(-45deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.05)
    );
}

body.light-theme .hero-animated h1,
body.light-theme .hero-animated p {
    color: var(--text);
}

/* Service Detail Page */
.service-page-hero {
    background-color: var(--card-bg);
    padding: 100px 0 50px;
    text-align: center;
}

.detail-section {
    padding: var(--section-padding);
    background-color: var(--bg);
}

.detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: left;
}

.detail-content {
    flex: 3;
    min-width: 300px;
}

.detail-content img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.detail-content ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.detail-content ul li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.detail-content ul li::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.detail-sidebar {
    flex: 1;
    min-width: 350px;
    max-width: 350px;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed);
    box-sizing: border-box;
    border-left: 5px solid;
    border-image: linear-gradient(to bottom, var(--primary), var(--secondary)) 1;
}

.detail-sidebar:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Content Divider */
.content-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--text);
    line-height: 1.7;
}

.feature-list li::before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1.2rem;
}

/* Benefits List */
.benefits-list {
    margin-top: 20px;
}

.benefits-list p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.benefit-icon {
    color: var(--primary);
    margin-right: 12px;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* Placeholder Code */
.placeholder-code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
    color: var(--text);
}

/* Sidebar Elements */
.sidebar-image {
    width: 100%;
    border-radius: var(--border-radius);
    margin: 10px 0 20px;
}

.sidebar-text {
    margin-bottom: 20px;
    line-height: 1.6;
}

.sidebar-text.requirements {
    font-size: 0.95rem;
    color: var(--text);
    opacity: 0.9;
}

.sidebar-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

/* FIXED: Ensure buttons in sidebar are properly contained */
.detail-sidebar .btn {
    margin: 10px 0;
    width: 100%;
    box-sizing: border-box; /* ADDED: Ensure padding is included in width */
    display: block; /* ADDED: Make buttons block elements */
    text-align: center; /* ADDED: Center text */
}

/* MAILcolab Feature */
.mailcolab-feature {
    background-color: #0f172a;
    padding: var(--section-padding);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--primary);
}

.ai-highlight {
    color: #10b981;
}

.mailcolab-feature .feature-icon {
    color: var(--primary);
    font-size: 4rem;
    margin-bottom: 20px;
}

.mailcolab-cta-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


/*====================================================================
  7. PRICING PAGE STYLES
====================================================================*/

.pricing-section {
    padding: 60px 20px;
}

.tenant-note {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin: 30px auto;
    max-width: 800px;
    text-align: left;
}

.trial-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 20px;
    text-align: center;
    border-radius: 16px;
    margin: 60px auto 40px;
    max-width: 1000px;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.trial-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.trial-content {
    position: relative;
    z-index: 1;
}

.trial-badge {
    background: #10b981;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trial-highlight {
    color: #6366f1;
    font-weight: 700;
}

.trial-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.trial-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid #6366f1;
}

.trial-feature i {
    color: #6366f1;
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

.pricing-grid {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0;
    text-align: center;
}

.pricing-card {
    background-color: var(--dark-bg);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--box-shadow);
    border: 2px solid transparent;
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.pricing-card:hover::before {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.pricing-card.premium {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    border-color: #6366f1;
    transform: scale(1.03);
}

.pricing-card.premium::before {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.pricing-card.premium:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.plan-title {
    font-size: 2rem;
    color: #f8fafc;
    margin-bottom: 10px;
    font-weight: 700;
}

.plan-subtitle {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 25px;
    min-height: 40px;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 20px 0 10px;
    color: #f8fafc;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-price small {
    font-size: 1rem;
    font-weight: 400;
    color: #94a3b8;
    -webkit-text-fill-color: #94a3b8;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 25px 0 35px;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.5;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i.fa-check {
    color: #10b981;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.plan-features i.fa-times {
    color: #ef4444;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-label {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 8px;
    vertical-align: middle;
}

.usage-info {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    border-left: 4px solid #6366f1;
    text-align: left;
}

.usage-info i {
    color: #6366f1;
    margin-right: 10px;
}

.usage-note {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 5px;
    font-style: italic;
}

.btn-purchase {
    margin-top: auto;
    width: 100%;
    padding: 16px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 10px;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

.btn-purchase i {
    margin-right: 10px;
    font-size: 1.1rem;
    vertical-align: middle;
}

.btn-appsource {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    color: white;
}

.btn-appsource:hover {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-trial {
    background: linear-gradient(90deg, #10b981, #059669);
    color: white;
}

.btn-trial:hover {
    background: linear-gradient(90deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-contact {
    background: linear-gradient(90deg, #475569, #334155);
    color: #f8fafc;
}

.btn-contact:hover {
    background: linear-gradient(90deg, #334155, #1e293b);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 41, 59, 0.3);
}

/* Comparison Table */
.comparison-section {
    margin: 80px auto;
    max-width: var(--container-width);
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dark-bg);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background: rgba(99, 102, 241, 0.2);
    color: #f8fafc;
    font-weight: 600;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    background: rgba(30, 41, 59, 0.8);
}

.comparison-table i.fa-check {
    color: #10b981;
    font-size: 1.2rem;
}

.comparison-table i.fa-times {
    color: #ef4444;
    font-size: 1.2rem;
}

/*====================================================================
  8. ADDITIONAL STYLES FOR PRICING PAGE
====================================================================*/

/* Hero Logo */
.hero-logo {
    margin-bottom: 10px;
    height: 150px;
    width: auto;
}

.hero-subtitle {
    max-width: 800px;
    margin: 0 auto;
}

/* Trial Section Specific */
.trial-title {
    color: white;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.trial-description {
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.trial-feature h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.trial-feature p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
}

.trial-note {
    color: #94a3b8;
    font-size: 0.9rem;
    max-width: 500px;
    margin: 15px auto 0;
}

/* Plan Notes */
.plan-note {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 15px;
    text-align: center;
}

.plan-note i {
    margin-right: 5px;
}

.enterprise-price {
    font-size: 2.8rem !important;
}

.tenant-summary {
    max-width: 1000px;
    margin: 40px auto 0;
}

/* Comparison Table Title */
.comparison-title {
    text-align: center;
    color: #f8fafc;
    margin-bottom: 40px;
    font-size: 2rem;
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
}

.faq-title {
    text-align: center;
    color: #f8fafc;
    margin-bottom: 40px;
    font-size: 2rem;
}

.faq-item {
    background: #1e293b;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    color: #6366f1;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.faq-item h3 i {
    margin-right: 10px;
}

.faq-item p {
    color: #cbd5e1;
    margin: 0;
    line-height: 1.6;
}

/* Pricing Button Spacing */
.btn-trial {
    max-width: 300px;
    margin: 30px auto 15px;
    display: block;
}

/* Ensure all purchase buttons are properly aligned */
.pricing-card .btn-purchase {
    margin-top: 20px;
}

/*====================================================================
  9. ANIMATIONS & KEYFRAMES
====================================================================*/

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}


/*====================================================================
  10. RESPONSIVE DESIGN
====================================================================*/

/* Desktop to Tablet */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }
}

/* Tablet */
@media (max-width: 900px) {
    .detail-container { flex-direction: column; }
    .detail-sidebar { max-width: 100%; order: 1; }
    .detail-content { order: 2; }
    
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; }
    .pricing-card.premium { transform: none; border-color: #6366f1; }
    .comparison-section { display: none; }
    .trial-features { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
    /* Mobile Menu */
    .hamburger-menu { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -300px;
        width: 300px;
        height: calc(100vh - var(--header-height));
        background-color: rgba(51, 65, 85, 0.9);
        backdrop-filter: blur(12px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        transition: right var(--transition-speed);
        z-index: 999;
        box-shadow: -8px 0 20px rgba(0, 0, 0, 0.6);
        padding-top: 20px;
    }
    
    body.light-theme .nav-menu {
        background-color: rgba(255, 255, 255, 0.9);
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active { right: 0; }
    
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }
    
    .nav-menu ul li {
        width: 100%;
        border-bottom: 1px solid var(--accent);
        margin-left: 0;
    }
    
    .nav-menu ul li a { padding: 15px 20px; }
    
    /* Content Adjustments */
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .section-grid { grid-template-columns: 1fr; }
    .contact-content { flex-direction: column; }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    
    /* Pricing Page Responsive */
    .hero-logo {
        height: 100px;
    }
    
    .trial-title {
        font-size: 2rem;
    }
    
    .trial-description {
        font-size: 1rem;
    }
    
    .faq-title,
    .comparison-title {
        font-size: 1.8rem;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    /* Service Detail Page Responsive */
    .benefits-list p {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .benefit-icon {
        margin-bottom: 5px;
    }
    
    .detail-content img {
        margin-bottom: 20px;
    }
    
    .feature-list li {
        padding-left: 25px;
        font-size: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.95rem; }
    .btn { padding: 10px 20px; }
    .container { padding: 0 15px; }
    
    .hero-animated h1 { font-size: 2rem; }
    .hero-animated p { font-size: 1rem; }
    
    .mailcolab-feature h2 { font-size: 2rem; }
    .mailcolab-cta-grid { flex-direction: column; }
}