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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* CSS Variables for Brand Colors */
:root {
    --primary-blue: #2563eb;
    --secondary-blue: #1e40af;
    --accent-blue: #3b82f6;
    --light-blue: #eff6ff;
    --dark-blue: #1e3a8a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-2: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Navigation */
.hero {
    background: var(--gradient-1);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: 100% 100%;
    pointer-events: none;
}

.title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    color: white;
}

/* Gray bars - now more subtle */
.gray-bar {
    height: 2px;
    background: var(--gray-200);
    margin: 4rem 0;
}

.gray-bar.thin {
    height: 1px;
    margin: 3rem 0;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 3rem 0 2rem 0;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    transition: width 0.3s ease;
}

section:hover h2::after {
    width: 200px;
}

/* Product sections */
.products {
    margin: 4rem 0;
}

.product-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin: 4rem 0;
    padding: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.product-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-section.featured {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    border: 2px solid var(--primary-blue);
    position: relative;
}

.product-section.featured::before {
    height: 6px;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-section img {
    width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.product-section:hover img {
    transform: scale(1.05);
}

.text-box {
    flex: 1;
}

.text-box h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.product-section.featured .text-box h3 {
    color: var(--primary-blue);
}

.text-box p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.text-box a {
    display: inline-block;
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.text-box a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-2);
}

.product-section.reverse {
    flex-direction: row-reverse;
}

/* About section */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Team section */
.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.team-member {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-blue);
}

.team-member h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--gray-600);
    font-weight: 500;
}

/* Contact section */
.contact-section {
    text-align: center;
    background: var(--gray-50);
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
}

.contact-section p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-section a {
    display: inline-block;
    background: var(--gradient-1);
    color: var(--white);
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.contact-section a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-2);
}

/* Features section */
.features-section {
    margin: 4rem 0;
}

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

.feature-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

/* Buttons */
.button, a.button {
    display: inline-block;
    background: var(--gradient-1);
    color: var(--white);
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    margin: 1rem 0;
}

.button:hover, a.button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-2);
}



/* Content sections */
.content-section {
    background: var(--gray-50);
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
}

/* Comparison Section */
.comparison-section {
    margin: 4rem 0;
}

.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}



.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.comparison-table {
    overflow: hidden;
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    min-width: 1000px;
}

.comparison-table th {
    background: var(--gradient-1);
    color: var(--white);
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table th i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.comparison-table th:first-child {
    border-top-left-radius: 12px;
}

.comparison-table th:last-child {
    border-top-right-radius: 12px;
}

.comparison-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.comparison-table tr:hover {
    background: var(--gray-50);
    transform: scale(1.01);
}

.comparison-table tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.comparison-table tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

.atoipa-row {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(54, 114, 255, 0.05)) !important;
    border: 2px solid var(--primary-blue);
    position: relative;
}

.atoipa-row:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(54, 114, 255, 0.1)) !important;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.solution-name {
    font-weight: 600;
    color: var(--gray-800);
    position: relative;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.our-solution {
    background: var(--primary-blue);
    color: var(--white);
    animation: pulse 2s infinite;
}

.rating-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.excellent {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
}

.good {
    color: #0891b2;
    background: rgba(8, 145, 178, 0.1);
}

.average {
    color: #d97706;
    background: rgba(217, 119, 6, 0.1);
}

.poor {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.comparison-summary {
    margin-top: 2rem;
}

.summary-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.summary-card h4 {
    margin: 0 auto;
    font-size: 1.3rem;
    font-weight: 700;
}

.summary-card p {
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    padding-top: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .comparison-container {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .comparison-table {
        min-width: 800px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .rating-icon {
        font-size: 1rem;
    }
    
    .summary-card {
        padding: 1.5rem;
    }
    
    .summary-card h4 {
        font-size: 1.1rem;
    }
    
    .summary-card p {
        font-size: 1rem;
    }
}

/* Screenshot Section */
.screenshot-section {
    margin: 4rem 0;
    text-align: center;
}

.mode-toggle-wrapper {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.mode-toggle {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mode-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-600);
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.mode-label.active {
    color: var(--primary-blue);
    transform: scale(1.05);
}

.mode-label i {
    font-size: 1.1rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-300);
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-thumb::before {
    content: '☀️';
    font-size: 12px;
    transition: all 0.3s ease;
}

.toggle-switch input:checked + .slider {
    background: var(--primary-blue);
}

.toggle-switch input:checked + .slider .slider-thumb {
    transform: translateX(30px);
}

.toggle-switch input:checked + .slider .slider-thumb::before {
    content: '🌙';
}

.toggle-switch:hover .slider {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.screenshot-container {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.screenshot-container.dark-mode {
    background: #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.screenshot-container:hover {
    transform: translateY(-4px);
}

.main-screenshot {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.screenshot-hint {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.screenshot-container:hover .screenshot-hint {
    opacity: 1;
    color: var(--primary-blue);
}

.screenshot-hint i {
    margin-right: 0.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    color: var(--primary-blue);
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

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

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Footer */
footer {
    background: var(--gray-900);
    color: var(--white);
    margin-top: 6rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-logo h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-logo h2::after {
    display: none;
}

.footer-logo p {
    color: var(--gray-300);
    font-size: 1.1rem;
}

.footer-products h3,
.footer-contact h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

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

.footer-products li {
    margin-bottom: 0.5rem;
}

.footer-products a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-products a:hover {
    color: var(--accent-blue);
}

.footer-contact p {
    color: var(--gray-300);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-linkedin-link {
    display: inline-block;
    color: #0077b5;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(0, 119, 181, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-linkedin-link:hover {
    color: #005885;
    background: rgba(0, 119, 181, 0.2);
    transform: translateY(-2px);
}

.footer-linkedin-link i {
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 1.5rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

/* Section styling */
section {
    margin: 4rem 0;
    text-align: center;
}

p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    main {
        padding: 0 1rem;
    }
    
    .product-section {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    
    .product-section.reverse {
        flex-direction: column;
    }
    
    .product-section img {
        width: 100%;
        max-width: 400px;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .text-box h3 {
        font-size: 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .screenshot-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .main-screenshot {
        height: 250px;
    }
    
    .close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .modal-content {
        padding: 10px;
    }
    
    .mode-toggle {
        gap: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .mode-label {
        font-size: 0.9rem;
    }
    
    .toggle-switch {
        width: 50px;
        height: 26px;
    }
    
    .slider-thumb {
        width: 20px;
        height: 20px;
        top: 3px;
        left: 3px;
    }
    
    .slider-thumb::before {
        font-size: 10px;
    }
    
    .toggle-switch input:checked + .slider .slider-thumb {
        transform: translateX(24px);
    }
}

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

.product-section, .feature-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
} 