/* Stratican - Main Stylesheet */

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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-700: #334155;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --accent: #10b981;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
h3 { font-size: clamp(20px, 3vw, 24px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* Navigation */
nav {
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    color: var(--dark);
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
}

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

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

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 6px;
}

.nav-cta:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
    }
}

/* Page Header */
.page-header {
    padding: 140px 0 80px;
    background: var(--gray-50);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    font-size: 20px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 100px 0;
}

section.alt {
    background: var(--gray-50);
}

section.dark {
    background: var(--dark);
    color: var(--white);
}

section.dark h2,
section.dark h3 {
    color: var(--white);
}

section.dark p {
    color: var(--gray-300);
}

section.primary {
    background: var(--primary);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: var(--gray-50);
}

.hero h1 {
    max-width: 800px;
    margin-bottom: 24px;
}

.hero .subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--gray-700);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-bottom: 12px;
}

.card p {
    color: var(--gray-600);
    font-size: 15px;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-card-header {
    background: var(--gray-50);
    padding: 24px 32px;
    border-bottom: 1px solid var(--gray-200);
}

.service-card-header h3 {
    margin-bottom: 4px;
}

.service-card-header .tagline {
    color: var(--gray-500);
    font-size: 14px;
}

.service-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-body .btn {
    margin-top: auto;
}

.service-card-body ul {
    list-style: none;
    margin-bottom: 24px;
}

.service-card-body li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--gray-700);
}

.service-card-body li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat h3 {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat p {
    color: var(--gray-500);
    font-size: 16px;
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 24px;
    border-radius: 50%;
    margin-bottom: 24px;
}

.process-step h3 {
    margin-bottom: 12px;
}

.process-step p {
    color: var(--gray-500);
}

/* Quote/Testimonial */
.quote-block {
    font-size: clamp(20px, 3vw, 28px);
    font-style: italic;
    color: var(--gray-300);
    max-width: 800px;
    padding-left: 24px;
    border-left: 4px solid var(--primary);
    margin-bottom: 40px;
}

/* Guarantee Box */
.guarantee-box {
    background: var(--primary);
    color: var(--white);
    padding: 60px;
    border-radius: 16px;
    text-align: center;
}

.guarantee-box h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.guarantee-box p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section > p {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

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

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.two-col img {
    width: 100%;
    border-radius: 12px;
}

/* Team/About */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

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

.team-member img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h3 {
    margin-bottom: 4px;
}

.team-member .role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-member p {
    color: var(--gray-500);
    font-size: 15px;
}

/* Footer */
footer {
    padding: 60px 0 40px;
    background: var(--dark);
    color: var(--gray-400);
}

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

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

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand .logo {
    color: var(--white);
    display: inline-flex;
    margin-bottom: 16px;
}

.footer-brand .logo .logo-icon {
    filter: invert(1);
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 14px;
    max-width: 280px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.footer-links a {
    color: var(--gray-400);
    font-size: 14px;
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--gray-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 14px;
    margin: 0;
}

.footer-bottom a {
    color: var(--gray-400);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* Industries Grid (Home) */
.industry-card {
    background: var(--gray-50);
    padding: 32px;
    border-radius: 12px;
    transition: all 0.2s;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.industry-card h3 {
    margin-bottom: 12px;
}

.industry-card .pain {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.industry-card .solution {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 0;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question::after {
    content: "+";
    font-size: 24px;
    font-weight: 400;
    color: var(--gray-400);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--gray-600);
}

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

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Navigation Dropdowns */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    min-width: 220px;
    z-index: 1001;
}

.nav-dropdown .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.nav-dropdown .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-700);
    font-size: 14px;
}

.nav-dropdown .dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

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

@media (max-width: 768px) {
    .nav-dropdown .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        background: var(--gray-50);
        border-radius: 8px;
        margin-top: 8px;
    }
    
    .nav-dropdown .dropdown-menu a {
        padding-left: 24px;
    }
}

/* 3-Column Card Grid */
.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .card-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .card-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Industry Card Links */
a.industry-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.industry-card:hover {
    background: var(--white);
}

.industry-card.featured {
    background: var(--primary);
    color: var(--white);
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 32px;
}

.industry-card.featured:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.3);
}

.industry-card.featured h3 {
    color: var(--white);
    font-size: 28px;
}

.industry-card.featured .pain {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    font-size: 16px;
}

.industry-card.featured .solution {
    color: var(--white);
    font-size: 18px;
}

.industry-card.featured .learn-more {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
}

.industry-card.featured .learn-more::after {
    content: "→";
    transition: transform 0.2s;
}

.industry-card.featured:hover .learn-more::after {
    transform: translateX(4px);
}

/* Industry Page Hero */
.industry-hero {
    text-align: left;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stat Box */
.stat-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 32px;
}

.stat-box .stat {
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.stat-box .stat:last-child {
    border-bottom: none;
}

.stat-box .stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-box .stat-label {
    font-size: 14px;
    color: var(--gray-600);
}

/* ROI Box */
.roi-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 40px;
}

.roi-calc {
    margin-bottom: 24px;
}

.roi-line {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 16px;
}

.roi-line span:first-child {
    color: var(--gray-600);
}

.roi-line span:last-child {
    font-weight: 600;
    color: var(--gray-900);
}

.roi-line.total {
    border-bottom: none;
    padding-top: 20px;
    margin-top: 8px;
    border-top: 2px solid var(--primary);
}

.roi-line.total span:first-child {
    color: var(--gray-900);
    font-weight: 600;
}

.roi-line.total span:last-child {
    color: var(--primary);
    font-size: 24px;
}

.roi-note {
    font-size: 14px;
    color: var(--gray-500);
    font-style: italic;
    text-align: center;
}

/* Feature Box (for CTA sections) */
.feature-box {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
}

.feature-box h2 {
    margin-bottom: 16px;
}

.feature-box p {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 24px;
}

/* Highlight Box */
.highlight-box {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 32px;
}

.highlight-box h4 {
    margin-bottom: 16px;
    color: var(--gray-900);
}

.highlight-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-box li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--gray-700);
}

.highlight-box li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* Newsletter Box */
.newsletter-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-box h2 {
    margin-bottom: 12px;
}

.newsletter-box > p {
    color: var(--gray-600);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 16px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
}

/* Primary Light Color Variable */
:root {
    --primary-light: #eff6ff;
}

/* Gray 600 for better text */
.gray-600 {
    color: var(--gray-600);
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

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

/* Mobile dropdown fix */
@media (max-width: 768px) {
    .nav-dropdown .dropdown-menu {
        display: block;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .nav-dropdown .dropdown-toggle {
        display: block;
        padding: 8px 0;
    }
}

/* Blog Key Takeaways Box */
.key-takeaways {
    background: var(--primary);
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 40px;
    color: var(--white);
}

.key-takeaways h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.key-takeaways ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-takeaways li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
}

.key-takeaways li:last-child {
    margin-bottom: 0;
}

.key-takeaways li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.8);
}
