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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #374151;
    color: white;
    border: 2px solid #374151;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #1f2937;
    border-color: #1f2937;
    box-shadow: 0 8px 25px rgba(55, 65, 81, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #374151;
    border: 2px solid #d1d5db;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #374151;
    transform: translateY(-2px);
}

/* Header and Navigation */
.header {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e5e7eb;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, #e2e8f0 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, #e2e8f0 0%, transparent 50%);
    opacity: 0.3;
}

.nav {
    position: relative;
    z-index: 10;
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand h1 {
    color: #1f2937;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1f2937;
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 5;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #9ca3af 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 600px;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #6b7280;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-screenshots {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-screenshot {
    position: absolute;
    background: white;
    border-radius: 12px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(229, 231, 235, 0.3);
    backdrop-filter: blur(10px);
    padding: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0.3s ease;
    animation: float 6s ease-in-out infinite;
    width: 420px;
    height: auto;
}

.hero-screenshot:first-child {
    animation-delay: 0s;
    z-index: 1;
    transform: translateX(-80px) translateY(-30px) rotate(-8deg);
}

.hero-screenshot:nth-child(2) {
    animation-delay: 3s;
    z-index: 2;
    transform: translateX(40px) translateY(30px) rotate(5deg);
}

.hero-screenshot:hover {
    z-index: 10 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.hero-screenshot:first-child:hover {
    transform: translateX(-80px) translateY(-40px) rotate(-8deg) scale(1.05);
}

.hero-screenshot:nth-child(2):hover {
    transform: translateX(40px) translateY(20px) rotate(5deg) scale(1.05);
}

.hero-screenshot-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease;
}

/* Float animation for hero elements */

.arguments-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.arg-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.argument-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    padding: 8px;
    background: #f9fafb;
    border-radius: 4px;
}

.arg-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
}

.arg-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #059669;
}

.arg-desc {
    font-size: 0.7rem;
    color: #6b7280;
    line-height: 1.4;
}

.price-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-item.highlight {
    grid-column: span 2;
    padding: 12px;
    background: #fef3c7;
    border-radius: 6px;
    text-align: center;
}

.metric-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.metric-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.metric-value.positive {
    color: #059669;
    font-size: 1.1rem;
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-screenshots {
        height: 350px;
        transform: scale(0.8);
    }
    
    .hero-screenshot {
        width: 280px;
    }
    
    .hero-screenshot:first-child {
        transform: translateX(-40px) translateY(-15px) rotate(-5deg);
    }

    .hero-screenshot:nth-child(2) {
        transform: translateX(20px) translateY(15px) rotate(3deg);
    }
    
    .hero-screenshot:first-child:hover {
        transform: translateX(-40px) translateY(-25px) rotate(-5deg) scale(1.05);
    }

    .hero-screenshot:nth-child(2):hover {
        transform: translateX(20px) translateY(5px) rotate(3deg) scale(1.05);
    }
}

/* Section Styling */
.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: #ffffff;
    background-image: 
        linear-gradient(90deg, #f8fafc 0%, transparent 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            #f8fafc 100px,
            #f8fafc 101px
        );
}

/* Products Section - Simple Grid */
.products-simple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Value Section - Force 4 columns in one row */
.value .products-simple-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-square {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 2px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.product-square::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, #f8fafc 50%, transparent 60%);
    transform: rotate(45deg);
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.product-square:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #9ca3af;
}

.product-square:hover::before {
    transform: rotate(45deg) translate(10%, 10%);
}

.product-square h3,
.product-square p {
    position: relative;
    z-index: 2;
}

.product-square h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

.product-square p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    color: #4f46e5;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.product-square:hover .product-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    transform: scale(1.05);
}


/* Value Section - Simplified */
.value {
    padding: 100px 0;
    background: #f9fafb;
    background-image: 
        radial-gradient(circle at 20% 80%, #f1f5f9 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, #f1f5f9 0%, transparent 50%);
}

/* Value Section - Simplified */
.value-content-simple {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.value-content-simple h2 {
    color: #6b7280;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.value-content-simple h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.3;
}

.value-content-simple p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* Value Boxes Grid */
.value-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.value-box {
    background: white !important;
    padding: 35px 25px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    text-align: center !important;
    border: 2px solid #f1f5f9 !important;
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

.value-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, #f8fafc 50%, transparent 60%);
    transform: rotate(45deg);
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.value-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #9ca3af;
}

.value-box:hover::before {
    transform: rotate(45deg) translate(10%, 10%);
}

.value-box h3,
.value-box p {
    position: relative;
    z-index: 2;
}

.value-box h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
    line-height: 1.4;
}

.value-box h3 strong {
    font-weight: 700;
    color: #1f2937;
}

.value-box p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Security Section */
.security {
    padding: 100px 0;
    background: #ffffff;
    background-image: 
        linear-gradient(45deg, #f8fafc 25%, transparent 25%, transparent 75%, #f8fafc 75%),
        linear-gradient(-45deg, #f8fafc 25%, transparent 25%, transparent 75%, #f8fafc 75%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

/* Security Section - Two Column Layout */
.security-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.security-feature-large {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.security-feature-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.security-feature-large .security-icon {
    color: #6b7280;
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
}

.security-feature-large h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
}

.security-feature-large p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Mission Section */
.mission {
    padding: 100px 0;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    color: #1f2937;
    text-align: center;
    background-image: 
        linear-gradient(30deg, transparent 40%, #f1f5f9 40%, #f1f5f9 60%, transparent 60%);
}

/* Mission Section - Simplified */
.mission-content-simple {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content-simple h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #111827;
}

.mission-statement {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 0;
    color: #4b5563;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #ffffff;
    background-image: 
        radial-gradient(circle at 50% 100%, #f8fafc 0%, transparent 70%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #6b7280;
    font-weight: 500;
}

/* Contact Simple Layout */
.contact-simple {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.contact-simple .contact-method {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid #f1f5f9;
    font-size: 1.1rem;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-simple .contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Contact Form */
.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9ca3af;
}

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

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-brand h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.footer-brand p {
    color: #a0aec0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section a {
    display: block;
    color: #a0aec0;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #718096;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .products-simple-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .security-two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .value-content-simple h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .product-square {
        padding: 30px 20px;
    }
    
    .security-feature-large {
        padding: 30px 25px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    color: white;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
