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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    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: 16px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Links */
a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    color: #1d4ed8;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    color: white;
}

.btn-product {
    display: block;
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    margin-top: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

.btn-product:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
    color: white;
}

/* Logo and Brand */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.logo {
    height: 48px;
    width: 48px;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e40af;
    margin: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-header {
    text-align: center;
    margin-bottom: 48px;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-image {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-main-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* What We Do Section */
.what-we-do {
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
}

.feature-card h3 {
    color: #1e293b;
    margin-bottom: 16px;
}

.feature-card p {
    color: #64748b;
    margin: 0;
}

/* Features Section */
.features {
    background: #f8fafc;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-small-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-top: 4px;
}

.feature-content h3 {
    color: #1e293b;
    margin-bottom: 8px;
}

.feature-content p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    background: #ffffff;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 48px;
}

.step {
    text-align: center;
    position: relative;
    background: #f8fafc;
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.step-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.step-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
}

.step h3 {
    color: #1e293b;
    margin-bottom: 16px;
}

.step p {
    color: #64748b;
    margin: 0;
}

/* Products Section */
.products {
    background: #f8fafc;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.product-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

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

.product-card.featured {
    border-color: #2563eb;
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.2);
}

.product-card.featured:hover {
    transform: scale(1.07);
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.3);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.product-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    color: #1e293b;
    margin-bottom: 16px;
}

.product-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 24px;
}

.product-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.product-features li {
    padding: 8px 0;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 24px;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 600;
}

/* Benefits Section */
.benefits {
    background: #ffffff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.benefit-card {
    text-align: center;
    padding: 32px 24px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

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

.benefit-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.benefit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
}

.benefit-card h3 {
    color: #1e293b;
    margin-bottom: 16px;
}

.benefit-card p {
    color: #64748b;
    margin: 0;
}

/* Security & Privacy Section */
.security-privacy {
    background: #f8fafc;
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.security-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.security-icon {
    width: 24px;
    height: 24px;
}

.security-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.security-main-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Trust Section */
.trust {
    background: #ffffff;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin: 48px 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
}

.testimonial-section {
    text-align: center;
    margin-top: 48px;
}

.testimonial-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    background: #f8fafc;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-details h3 {
    color: #1e293b;
    margin-bottom: 8px;
}

.contact-details a,
.contact-details p {
    color: #64748b;
    margin: 0;
}

.contact-details a:hover {
    color: #2563eb;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 48px 0 24px;
}

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

.footer-brand .logo-container {
    justify-content: flex-start;
}

.footer-brand .logo-container .brand-name {
    color: white;
}

.footer-brand p {
    color: #94a3b8;
    margin-top: 16px;
}

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

.footer-column h4 {
    color: white;
    margin-bottom: 16px;
}

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

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

.footer-column ul li a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #374151;
    color: #94a3b8;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .security-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
    }
    
    .footer-brand .logo-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
        min-height: 70vh;
    }
    
    .hero-header {
        margin-bottom: 32px;
    }
    
    .logo {
        height: 40px;
        width: 40px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .features-grid,
    .products-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .product-card.featured {
        transform: none;
    }
    
    .product-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .hero-cta {
        gap: 32px;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .feature-image,
    .step-image,
    .product-image,
    .benefit-image {
        height: 160px;
    }
    
    .testimonial-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .logo {
        height: 36px;
        width: 36px;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .btn-primary {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .product-price {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .product-card,
    .contact-item,
    .benefit-card,
    .step {
        padding: 20px;
    }
    
    .feature-image,
    .step-image,
    .product-image,
    .benefit-image {
        height: 140px;
    }
    
    .testimonial-image {
        height: 200px;
    }
    
    .feature-icon,
    .benefit-icon,
    .step-icon {
        width: 48px;
        height: 48px;
    }
}

/* Image Loading and Error Handling */
img {
    max-width: 100%;
    height: auto;
}

.feature-img,
.step-img,
.product-img,
.benefit-img,
.hero-main-image,
.security-main-image,
.testimonial-image {
    transition: transform 0.3s ease;
}

.feature-img:hover,
.step-img:hover,
.product-img:hover,
.benefit-img:hover {
    transform: scale(1.05);
}

/* Accessibility Improvements */
.btn-primary:focus,
.btn-product:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.feature-card:focus-within,
.product-card:focus-within,
.benefit-card:focus-within,
.contact-item:focus-within {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Performance Optimizations */
.feature-card,
.product-card,
.benefit-card,
.step,
.contact-item {
    will-change: transform;
}

.feature-card:hover,
.product-card:hover,
.benefit-card:hover,
.step:hover,
.contact-item:hover {
    will-change: auto;
}