/*
Theme Name: Colourpoint Technology
Description: Modern business theme for IT supply companies with product management and CSV import
Version: 1.0.0
Author: Colourpoint Technology
Text Domain: colourpoint
*/

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

/* CSS Custom Properties */
:root {
    --primary-color: #16027A;
    --secondary-color: #267FC1;
    --accent-color: #4F46E5;
    --success-color: #10B981;
    --warning-color: #8B5CF6;
    --error-color: #DC2626;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-dark: #111827;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

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

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

/* Container and Layout */
.container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.cp-section-container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Grid System */
.cp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.cp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.cp-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

/* Buttons */
.cp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: var(--space-sm);
    position: relative;
    overflow: hidden;
}

.cp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cp-button:hover::before {
    left: 100%;
}

.cp-button-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.cp-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.cp-button-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cp-button-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.cp-button-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    max-width: var(--container-xl);
    margin: 0 auto;
    min-height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.site-logo img {
    height: 40px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    margin: 0;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    padding: var(--space-sm) 0;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.menu-icon {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: var(--space-lg);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: var(--space-md);
}

.mobile-nav-menu a {
    display: block;
    padding: var(--space-md);
    color: var(--text-primary);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-menu a:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.mobile-cta {
    margin-top: var(--space-lg);
    text-align: center;
}

/* Hero Section */
.cp-hero {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding-top: 80px;
}

.cp-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.cp-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cp-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.cp-shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.cp-shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.cp-shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.cp-hero-content {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.cp-hero-text {
    text-align: left;
}

.cp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cp-hero .cp-section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 70%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cp-hero .cp-section-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-2xl);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-weight: 400;
}

.cp-hero-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: flex-start;
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.cp-hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.cp-hero-stat {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cp-stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.cp-stat-content {
    display: flex;
    flex-direction: column;
}

.cp-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.cp-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Hero Visual */
.cp-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-hero-dashboard {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 500px;
}

.cp-hero-dashboard:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.cp-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cp-dashboard-controls {
    display: flex;
    gap: var(--space-xs);
}

.cp-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.cp-control-red { background: #FF5F57; }
.cp-control-yellow { background: #FFBD2E; }
.cp-control-green { background: #28CA42; }

.cp-dashboard-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.cp-dashboard-metrics {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.cp-metric {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cp-metric-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.cp-metric-info {
    display: flex;
    flex-direction: column;
}

.cp-metric-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.cp-metric-value {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.cp-status-active {
    color: #10B981;
}

.cp-dashboard-chart {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.cp-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.cp-chart-header h4 {
    color: white;
    font-size: 0.875rem;
    margin: 0;
}

.cp-chart-legend {
    display: flex;
    gap: var(--space-sm);
}

.cp-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.cp-legend-color {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.cp-color-primary { background: var(--primary-color); }
.cp-color-secondary { background: var(--secondary-color); }

.cp-chart-bars {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 60px;
}

.cp-chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 2px 2px 0 0;
    min-height: 10px;
    animation: growUp 1s ease-out;
}

@keyframes growUp {
    from { height: 0; }
    to { height: var(--height, 50%); }
}

.cp-hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cp-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    animation: floatCard 4s ease-in-out infinite;
}

.cp-card-1 {
    top: 20%;
    right: -10%;
    animation-delay: 0s;
}

.cp-card-2 {
    top: 50%;
    left: -15%;
    animation-delay: 1s;
}

.cp-card-3 {
    bottom: 30%;
    right: -5%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.cp-hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.cp-scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section Styles */
.cp-homepage-section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.cp-homepage-section:nth-child(even) {
    background: var(--bg-secondary);
}

.cp-section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.cp-section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

.cp-section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cp-section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Products Section */
.cp-products {
    background: var(--bg-secondary);
}

.cp-category-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.cp-category-tab {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.cp-category-tab:hover,
.cp-category-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.cp-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.cp-product-item {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.cp-product-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.cp-product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--accent-color);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.cp-product-image {
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cp-product-item:hover .cp-product-image img {
    transform: scale(1.1);
}

.cp-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 2, 122, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cp-product-item:hover .cp-product-overlay {
    opacity: 1;
}

.cp-quick-view {
    color: white;
    text-decoration: none;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.cp-quick-view:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.cp-product-info {
    padding: var(--space-xl);
}

.cp-product-brand {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.cp-product-info h4 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.cp-product-price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.cp-product-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md);
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.cp-product-button:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.cp-brands-showcase {
    text-align: center;
    margin: var(--space-3xl) 0;
}

.cp-brands-showcase h3 {
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
}

.cp-brands-slider {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin: var(--space-2xl) 0;
    flex-wrap: wrap;
}

.cp-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 60px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.cp-brand-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cp-brand-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.cp-view-all-products {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* Services Section */
.cp-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.cp-service-item {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.cp-service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.cp-service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.cp-service-content h4 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.cp-service-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.cp-service-arrow {
    margin-left: auto;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.cp-service-item:hover .cp-service-arrow {
    opacity: 1;
    transform: translateX(0);
}

.cp-services-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* Testimonials */
.cp-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.cp-testimonial-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.cp-testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.cp-testimonial-rating {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    color: #FCD34D;
}

.cp-testimonial-quote {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
    position: relative;
}

.cp-quote-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.cp-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cp-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.cp-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.cp-author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.cp-author-title {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* FAQ Section */
.cp-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.cp-faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cp-faq-question {
    padding: var(--space-lg);
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    position: relative;
    background: var(--bg-primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cp-faq-question:hover {
    background: var(--bg-secondary);
}

.cp-faq-toggle {
    margin-left: auto;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.cp-faq-item.active .cp-faq-toggle {
    transform: rotate(45deg);
}

.cp-faq-answer {
    padding: 0 var(--space-lg);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cp-faq-item.active .cp-faq-answer {
    padding: var(--space-lg);
    max-height: 500px;
}

/* CTA Section */
.cp-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.cp-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.cp-cta-header {
    margin-bottom: var(--space-2xl);
}

.cp-cta-section .cp-section-title {
    color: white;
    text-align: left;
}

.cp-cta-section .cp-section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

.cp-cta-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.cp-cta-option {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cp-cta-option:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.cp-option-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto var(--space-lg);
}

.cp-cta-option h3 {
    color: white;
    margin-bottom: var(--space-md);
}

.cp-cta-option p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

.cp-contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.cp-contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cp-contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.cp-contact-info {
    display: flex;
    flex-direction: column;
}

.cp-contact-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.cp-contact-text {
    color: white;
    font-weight: 600;
}

/* Contact Form */
.cp-cta-form {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cp-form-header {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.cp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.cp-form-field {
    margin-bottom: var(--space-lg);
    position: relative;
}

.cp-form-field i {
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    z-index: 2;
}

.cp-form-field input,
.cp-form-field select,
.cp-form-field textarea {
    width: 100%;
    padding: var(--space-md) var(--space-md) var(--space-md) 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.cp-form-field input::placeholder,
.cp-form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.cp-form-field input:focus,
.cp-form-field select:focus,
.cp-form-field textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.cp-form-submit {
    text-align: center;
}

.cp-form-message {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
}

.cp-form-message.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.cp-form-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Floating Elements */
.cp-floating-elements {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cp-float-whatsapp a,
.cp-float-scroll-top button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.cp-float-whatsapp a {
    background: #25D366;
    color: white;
}

.cp-float-scroll-top button {
    background: var(--primary-color);
    color: white;
    opacity: 0;
    transform: translateY(20px);
}

.cp-float-scroll-top button.visible {
    opacity: 1;
    transform: translateY(0);
}

.cp-float-whatsapp a:hover,
.cp-float-scroll-top button:hover {
    transform: scale(1.1);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --space-lg: 16px;
        --space-xl: 24px;
        --space-2xl: 32px;
        --space-3xl: 48px;
    }
    
    .container, .cp-section-container {
        padding: 0 var(--space-md);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
    }
    
    .cp-hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .cp-hero-text {
        text-align: center;
    }
    
    .cp-hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .cp-hero .cp-section-title {
        font-size: 2.5rem;
    }
    
    .cp-section-title {
        font-size: 2rem;
    }
    
    .cp-hero-buttons {
        justify-content: center;
    }
    
    .cp-category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .cp-cta-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .cp-cta-options {
        grid-template-columns: 1fr;
    }
    
    .cp-form-row {
        grid-template-columns: 1fr;
    }
    
    .cp-floating-elements {
        bottom: var(--space-md);
        right: var(--space-md);
    }
}

@media (max-width: 480px) {
    .cp-products-grid,
    .cp-services-grid,
    .cp-testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .cp-hero .cp-section-title {
        font-size: 2rem;
    }
    
    .cp-section-title {
        font-size: 1.75rem;
    }
    
    .cp-hero-dashboard {
        transform: none;
        padding: var(--space-lg);
    }
    
    .cp-hero-stats {
        gap: var(--space-md);
    }
    
    .cp-hero-stat {
        padding: var(--space-md);
    }
}

/* Print Styles */
@media print {
    .site-header,
    .cp-floating-elements,
    .cp-cta-section {
        display: none;
    }
    
    .cp-homepage-section {
        page-break-inside: avoid;
        padding: var(--space-md) 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #333333;
        --text-primary: #000000;
        --text-secondary: #333333;
        --border-color: #000000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}