/* FINTEXA Inc. - Main Stylesheet */
/* File: styles.css */

/* ===== CSS VARIABLES ===== */
:root {
    --royal-blue: #091235;
    --navy-blue: #14202E;
    --midnight-blue: #2B4257;
    --blue-gray: #88A9C3;
    --white: #ffffff;
    --light-text: #e0e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Font Sizes */
    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-md: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 2.5rem;
    --text-4xl: 3rem;
    --text-5xl: 3.5rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(136, 169, 195, 0.3);
    --shadow-lg: 0 8px 25px rgba(136, 169, 195, 0.4);
    
    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 25px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--navy-blue) 100%);
    color: var(--white);
    min-height: 100vh;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: var(--text-5xl);
    font-weight: 700;
}

h2 {
    font-size: var(--text-3xl);
    font-weight: 600;
}

h3 {
    font-size: var(--text-xl);
    font-weight: 600;
}

h4 {
    font-size: var(--text-lg);
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-sm);
}

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

/* ===== HEADER & NAVIGATION ===== */
header {
    background: rgba(20, 32, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--midnight-blue);
    transition: background var(--transition-normal);
}

header.scrolled {
    background: rgba(20, 32, 46, 0.98);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-md);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--blue-gray);
    text-decoration: none;
    transition: color var(--transition-normal);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--blue-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: var(--midnight-blue);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--blue-gray);
    margin: 3px 0;
    transition: var(--transition-normal);
}

/* ===== LAYOUT COMPONENTS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-lg) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.section-large {
    padding: var(--spacing-xl) var(--spacing-md);
}

/* Page Headers */
.page-header {
    margin-top: 80px;
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-md);
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-header h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(45deg, var(--white), var(--blue-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: var(--text-5xl);
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(45deg, var(--white), var(--blue-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-md);
    color: var(--blue-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== GRID SYSTEMS ===== */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===== CARDS ===== */
.card {
    background: rgba(43, 66, 87, 0.3);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--midnight-blue);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(43, 66, 87, 0.5);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--blue-gray);
}

.card p {
    color: var(--light-text);
}

/* Feature Cards */
.feature-card {
    background: rgba(43, 66, 87, 0.3);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--midnight-blue);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(43, 66, 87, 0.5);
}

.feature-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--blue-gray);
}

.feature-card p {
    color: var(--light-text);
}

/* Product Cards */
.product-card {
    background: rgba(20, 32, 46, 0.6);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--midnight-blue);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-gray);
}

.product-card h3 {
    color: var(--blue-gray);
    margin-bottom: var(--spacing-sm);
}

.product-card .status {
    background: var(--midnight-blue);
    color: var(--blue-gray);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-xl);
    font-size: var(--text-xs);
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.product-card .status.coming-soon {
    background: var(--warning);
    color: var(--white);
}

.product-card .status.available {
    background: var(--success);
    color: var(--white);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--midnight-blue), var(--blue-gray));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--royal-blue);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--blue-gray);
    border: 2px solid var(--blue-gray);
}

.btn-outline:hover {
    background: var(--blue-gray);
    color: var(--royal-blue);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: var(--text-md);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: var(--text-xs);
}

/* ===== FORM ELEMENTS ===== */
.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--blue-gray);
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--midnight-blue);
    border-radius: var(--radius-md);
    background: rgba(43, 66, 87, 0.3);
    color: var(--white);
    outline: none;
    transition: border-color var(--transition-normal);
}

.form-input:focus {
    border-color: var(--blue-gray);
}

.form-input::placeholder {
    color: var(--blue-gray);
}

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

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

.contact-form select {
    cursor: pointer;
}

/* Checkbox Styling */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--light-text);
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    flex-shrink: 0;
}

/* ===== SPECIAL SECTIONS ===== */
/* About Content */
.about-content {
    background: rgba(43, 66, 87, 0.3);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--midnight-blue);
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(10px);
}

.about-content p {
    font-size: var(--text-md);
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

/* Product Spotlight */
.product-spotlight {
    background: rgba(20, 32, 46, 0.5);
    padding: var(--spacing-xl) var(--spacing-md);
    margin: var(--spacing-md) 0;
    border-radius: var(--radius-lg);
}

.spotlight-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.spotlight-content h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--spacing-sm);
    color: var(--blue-gray);
}

.spotlight-content .badge {
    background: var(--midnight-blue);
    color: var(--blue-gray);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-xl);
    font-size: var(--text-xs);
    margin-bottom: var(--spacing-sm);
    display: inline-block;
}

/* Testimonials */
.testimonials {
    padding: var(--spacing-xl) var(--spacing-md);
    background: rgba(43, 66, 87, 0.2);
}

.testimonial-card {
    background: rgba(20, 32, 46, 0.6);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--midnight-blue);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    color: var(--light-text);
}

.testimonial-author {
    color: var(--blue-gray);
    font-weight: 600;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.team-member {
    background: rgba(20, 32, 46, 0.6);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--midnight-blue);
    text-align: center;
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--midnight-blue);
    margin: 0 auto var(--spacing-sm);
    display: block;
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--midnight-blue);
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--blue-gray);
}

.team-member h4 {
    color: var(--blue-gray);
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: var(--light-text);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

/* Timeline */
.timeline {
    position: relative;
    margin: var(--spacing-lg) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--blue-gray);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: var(--spacing-md) 0;
    display: flex;
    align-items: center;
}

.timeline-content {
    background: rgba(43, 66, 87, 0.3);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--midnight-blue);
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--midnight-blue);
    color: var(--blue-gray);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-xl);
    font-weight: 600;
    z-index: 10;
}

/* ===== CTA SECTIONS ===== */
.cta-section {
    background: linear-gradient(45deg, var(--royal-blue), var(--midnight-blue));
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    margin: var(--spacing-lg) 0;
    border-radius: var(--radius-lg);
}

.cta-section h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.cta-section p {
    font-size: var(--text-lg);
    margin-bottom: var(--spacing-md);
    color: var(--blue-gray);
}

/* Newsletter Section */
.newsletter {
    padding: var(--spacing-lg) var(--spacing-md);
    background: rgba(20, 32, 46, 0.3);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-sm);
    border: 1px solid var(--midnight-blue);
    border-radius: var(--radius-xl);
    background: rgba(43, 66, 87, 0.3);
    color: var(--white);
    outline: none;
}

.newsletter-form button {
    padding: var(--spacing-sm) var(--spacing-md);
    white-space: nowrap;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: rgba(20, 32, 46, 0.5);
    padding: var(--spacing-lg) var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
}

.contact-item h4 {
    color: var(--blue-gray);
    margin-bottom: var(--spacing-sm);
}

.contact-item p {
    color: var(--light-text);
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy-blue);
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.footer-section h3 {
    color: var(--blue-gray);
    margin-bottom: var(--spacing-sm);
}

.footer-section p,
.footer-section a {
    color: var(--light-text);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--blue-gray);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-links a {
    background: var(--midnight-blue);
    padding: 0.8rem;
    border-radius: 50%;
    color: var(--blue-gray);
    text-decoration: none;
    transition: all var(--transition-normal);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: var(--blue-gray);
    color: var(--navy-blue);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--midnight-blue);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    text-align: center;
    color: var(--blue-gray);
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--blue-gray); }
.text-secondary { color: var(--light-text); }
.text-white { color: var(--white); }

.bg-primary { background: var(--royal-blue); }
.bg-secondary { background: var(--navy-blue); }
.bg-accent { background: var(--midnight-blue); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.hidden { display: none; }
.visible { display: block; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section {
        padding: var(--spacing-md) var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(20, 32, 46, 0.98);
        flex-direction: column;
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    nav {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    header {
        position: relative;
    }
    
    /* Typography */
    .hero h1,
    .page-header h1 {
        font-size: var(--text-3xl);
    }
    
    .hero p,
    .page-header p {
        font-size: var(--text-sm);
    }
    
    h2 {
        font-size: var(--text-2xl);
    }
    
    /* Layout */
    .hero,
    .page-header {
        margin-top: var(--spacing-md);
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .section {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    /* Timeline */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .timeline-date {
        left: 20px;
        transform: none;
    }
    
    /* Newsletter Form */
    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }
    
    /* Grids */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Further mobile optimizations */
    .hero h1,
    .page-header h1 {
        font-size: var(--text-2xl);
    }
    
    .cta-section {
        padding: var(--spacing-md);
    }
    
    .btn {
        padding: var(--spacing-sm);
        font-size: var(--text-xs);
    }
    
    .card,
    .feature-card,
    .product-card {
        padding: var(--spacing-sm);
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    header,
    footer,
    .cta-section,
    .newsletter {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        padding: var(--spacing-sm) 0;
    }
}