:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #4cc9f0;
    --accent: #f72585;
    --dark: #2b2d42;
    --light: #f8f9fa;
    --grey: #e9ecef;
    --text: #2b2d42;
    --light-text: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
    margin: 10px;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(67, 97, 238, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(255,255,255,0.05)" points="0,100 100,0 100,100"/></svg>');
    background-size: cover;
}

header h1 {
    margin: 0 0 20px;
    font-size: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

header p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.logo-container {
    margin-bottom: 30px;
}

.logo-container img {
    height: 80px;
    width: auto;
}

/* Email Subscription Form */
.subscription-form {
    max-width: 500px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.form-group {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.subscription-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.subscription-form button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscription-form button:hover {
    background-color: #e91c7d;
}

.form-message {
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
    margin-bottom: 15px;
}

.success-message {
    background-color: rgba(72, 187, 120, 0.2);
    color: #2f855a;
}

.error-message {
    background-color: rgba(245, 101, 101, 0.2);
    color: #c53030;
}

/* Sections */
section {
    padding: 80px 0;
    text-align: center;
}

section:nth-child(even) {
    background-color: var(--grey);
}

/* AI Tools Cards */
.ai-tools {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.tool-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: left;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tool-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.tool-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary);
    font-size: 2rem;
}

.tool-tags {
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 10px;
    margin-bottom: 10px;
}

.tool-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.tool-description {
    flex: 2;
}

.tool-image {
    flex: 1;
    max-width: 300px;
}

.tool-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.tool-image img:hover {
    transform: scale(1.05);
}

.tool-features {
    list-style: none;
    margin: 20px 0;
}

.tool-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.tool-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.feature {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    padding: 40px 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 2rem;
}

/* Strategic Partners */
.partners-section {
    background-color: white;
    padding: 60px 0;
    text-align: center;
}

.partner-logo {
    max-width: 200px;
    height: auto;
    margin: 20px;
}

/* How It Works */
.steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    position: relative;
}

.step {
    flex: 1;
    min-width: 250px;
    position: relative;
    padding: 0 20px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

/* About Us */
#about-us {
    background-color: var(--dark);
    color: white;
    position: relative;
}

#about-us h2:after {
    background: var(--accent);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Testimonials */
.testimonials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    padding: 40px 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
    position: relative;
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(67, 97, 238, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--grey);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--light-text);
}

/* CTA Section */
#cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 100px 0;
}

#cta h2 {
    margin-bottom: 40px;
}

#cta h2:after {
    background: white;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.cta-buttons .btn {
    background-color: white;
    color: var(--primary);
}

.cta-buttons .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta-buttons .btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background-color: white;
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

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

.social-links {
    margin: 30px 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin: 0 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    header {
        padding: 80px 0 100px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .feature, .testimonial, .tool-card {
        min-width: 100%;
    }
    
    .tool-content {
        flex-direction: column;
    }
    
    .tool-image {
        max-width: 100%;
    }
    
    .subscription-form {
        padding: 0 20px;
    }
    
    .form-group {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .subscription-form input[type="email"] {
        border-radius: 10px 10px 0 0;
    }
    
    .subscription-form button {
        padding: 15px;
        border-radius: 0 0 10px 10px;
    }
}

.image-container {
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* JSON-LD structured data */
.structured-data {
    display: none;
}

/* Image Zoom Modal */
.zoom-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;
}

.zoom-modal-content {
    position: relative;
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1200px;
    max-height: 90%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

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

.zoom-close:hover {
    color: var(--accent);
    background: rgba(0, 0, 0, 0.7);
}

.zoom-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.4); /* slightly transparent for blur effect */
    padding: 10px 20px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(8px); /* blur the content behind it */
    -webkit-backdrop-filter: blur(8px); /* Safari support */
}

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

@keyframes zoomIn {
    from { 
        transform: translateY(-50%) scale(0.3);
        opacity: 0;
    }
    to { 
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}