/* =====================================

1. GLOBAL STYLES
   ===================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333;
background: #fff;
}

a {
text-decoration: none;
}

button,
input {
font: inherit;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

/* =====================================
2. NAVIGATION
===================================== */

.navbar {
background: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
padding: 1rem 0;
}

.navbar .container {
display: flex;
justify-content: space-between;
align-items: center;
}

.nav-brand {
display: flex;
align-items: center;
font-size: 1.5rem;
font-weight: bold;
color: #2c5aa0;
}

.logo {
width: 60px;
height: 60px;
margin-right: 10px;
background: linear-gradient(45deg, #2c5aa0, #4a90e2);
border-radius: 8px;
}

.nav-menu ul {
display: flex;
list-style: none;
gap: 0;
}

.nav-menu a {
display: block;
padding: 1rem 1.5rem;
color: #333;
font-weight: 500;
border-radius: 5px;
transition: all 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
color: #2c5aa0;
background: rgba(44, 90, 160, 0.1);
}

.nav-auth {
display: flex;
align-items: center;
gap: 1rem;
}

.btn-login {
padding: 0.5rem 1.5rem;
border: 2px solid #2c5aa0;
border-radius: 5px;
background: transparent;
color: #2c5aa0;
cursor: pointer;
font-weight: 500;
transition: all 0.3s;
}

.btn-login:hover {
background: #2c5aa0;
color: #fff;
}

.btn-register {
padding: 0.5rem 1.5rem;
background: #2c5aa0;
color: #fff;
border-radius: 5px;
}

.mobile-menu-toggle {
display: none;
background: none;
border: none;
font-size: 1.5rem;
color: #2c5aa0;
cursor: pointer;
}

/* =====================================
3. HERO SECTION
===================================== */

.hero {
background: linear-gradient(135deg, #1736bd 0%, #7224bf 100%);
color: #fff;
padding: 150px 0 100px;
text-align: center;
}

.hero h1 {
font-size: 3.5rem;
margin-bottom: 1rem;
font-weight: 700;
}

.hero p {
font-size: 1.2rem;
margin-bottom: 3rem;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}

.hero-buttons {
display: flex;
gap: 1rem;
justify-content: center;
}

.btn-primary,
.btn-secondary {
display: inline-block;
padding: 1rem 2rem;
border: none;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}

.btn-primary {
background: #e4440a;
color: #fff;
}

.btn-primary:hover {
background: #e55a2b;
transform: translateY(-2px);
}

.btn-secondary {
background: transparent;
color: #fff;
border: 2px solid #fff;
}

.btn-secondary:hover {
background: #fff;
color: #667eea;
}

/* =====================================
4. FEATURES AND SERVICES
===================================== */

.features,
.services {
padding: 100px 0;
background: #f8f9fa;
}

.features h2,
.services h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: #2c5aa0;
}

.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}

.feature-card {
background: #fff;
padding: 2rem;
border-radius: 15px;
text-align: center;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
width: 80px;
height: 80px;
background: linear-gradient(45deg, #2c5aa0, #4a90e2);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
color: #fff;
font-size: 2rem;
}

.feature-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #2c5aa0;
}

.feature-card p {
color: #666;
line-height: 1.6;
}

/* =====================================
5. PRICING SECTION
===================================== */

.pricing {
padding: 100px 0;
background: #fff;
}

.pricing h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: #2c5aa0;
}

.pricing-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
max-width: 1000px;
margin: 0 auto;
}

.pricing-card {
background: #fff;
border: 2px solid #e9ecef;
border-radius: 15px;
padding: 2rem;
text-align: center;
position: relative;
transition: all 0.3s;
}

.pricing-card:hover {
border-color: #2c5aa0;
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
}

.pricing-card.popular {
border-color: #ef470a;
transform: scale(1.05);
}

.popular-badge {
background: #ef470a;
color: #fff;
padding: 0.5rem 1rem;
border-radius: 20px;
position: absolute;
top: -15px;
left: 50%;
transform: translateX(-50%);
font-weight: 600;
font-size: 0.9rem;
}

.plan-header h3 {
font-size: 1.5rem;
color: #2c5aa0;
margin-bottom: 1rem;
}

.price {
font-size: 3rem;
font-weight: 700;
color: #2c5aa0;
margin-bottom: 2rem;
}

.price span {
font-size: 1rem;
font-weight: 400;
color: #666;
}

.plan-features {
list-style: none;
margin-bottom: 2rem;
}

.plan-features li {
padding: 0.5rem 0;
color: #666;
}

.plan-features i {
color: #28a745;
margin-right: 0.5rem;
}

.btn-plan {
display: block;
width: 100%;
background: #2c5aa0;
color: #fff;
border: none;
padding: 1rem 2rem;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: background 0.3s;
}

.btn-plan:hover {
background: #1e3f73;
}

/* =====================================
6. TESTIMONIAL SECTION
===================================== */

.testimonial {
padding: 100px 0;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonial h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 4rem;
color: #2c5aa0;
}

.testimonial-content {
display: grid;
grid-template-columns: 400px 1fr;
gap: 4rem;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}

.client-photo {
position: relative;
overflow: hidden;
border-radius: 20px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.client-photo .photo {
width: 100%;
height: 500px;
object-fit: cover;
transition: transform 0.3s ease;
}

.client-photo:hover .photo {
transform: scale(1.05);
}

.photo-overlay {
position: absolute;
top: 20px;
right: 20px;
}

.rating-badge {
background: rgba(255, 255, 255, 0.95);
padding: 0.75rem 1rem;
border-radius: 50px;
display: flex;
align-items: center;
gap: 0.5rem;
backdrop-filter: blur(10px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.rating-badge .stars {
color: #ffc107;
}

.rating-badge span {
font-weight: 700;
color: #2c5aa0;
font-size: 1.1rem;
}

.testimonial-text {
background: #fff;
padding: 3rem;
border-radius: 20px;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
position: relative;
}

.quote-icon {
position: absolute;
top: -15px;
left: 3rem;
background: #2c5aa0;
color: #fff;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
}

.testimonial-text blockquote {
font-size: 1.4rem;
line-height: 1.6;
color: #333;
margin: 2rem 0;
font-style: italic;
}

.testimonial-text blockquote strong {
color: #2c5aa0;
font-weight: 700;
}

.testimonial-details {
font-size: 1.1rem;
line-height: 1.7;
color: #555;
margin-bottom: 2rem;
}

.testimonial-details em {
color: #e4440a;
font-weight: 600;
font-style: normal;
}

.client-info {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
padding: 1.5rem 0;
border-top: 2px solid #f8f9fa;
border-bottom: 2px solid #f8f9fa;
}

.client-details h4 {
font-size: 1.3rem;
color: #2c5aa0;
margin-bottom: 0.25rem;
}

.client-details p {
color: #666;
font-weight: 500;
margin-bottom: 0.25rem;
}

.client-details .company {
color: #2c5aa0;
font-weight: 600;
font-size: 0.9rem;
}

.company-logo {
display: flex;
align-items: center;
}

.logo-placeholder {
width: 60px;
height: 60px;
background: linear-gradient(45deg, #2c5aa0, #4a90e2);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-weight: 700;
font-size: 1.2rem;
}

.testimonial-stats {
display: flex;
justify-content: space-around;
gap: 2rem;
}

.stat {
text-align: center;
}

.stat-number {
display: block;
font-size: 2rem;
font-weight: 700;
color: #2c5aa0;
line-height: 1;
}

.stat-label {
font-size: 0.9rem;
color: #666;
font-weight: 500;
}

/* =====================================
7. FAQ SECTION
===================================== */

.faq {
padding: 100px 0;
background: #fff;
}

.faq h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: #2c5aa0;
}

.faq-container {
max-width: 800px;
margin: 0 auto;
}

.faq-item {
background: #fff;
border: 2px solid #e9ecef;
border-radius: 10px;
margin-bottom: 1rem;
overflow: hidden;
transition: all 0.3s;
}

.faq-item:hover {
border-color: #2c5aa0;
}

.faq-question {
padding: 1.5rem;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
background: #f8f9fa;
font-weight: 600;
color: #2c5aa0;
transition: background 0.3s;
}

.faq-question:hover {
background: #e9ecef;
}

.faq-question i {
transition: transform 0.3s;
}

.faq-item.active .faq-question i {
transform: rotate(180deg);
}

.faq-answer {
padding: 0 1.5rem;
max-height: 0;
overflow: hidden;
transition: all 0.3s;
color: #666;
line-height: 1.6;
}

.faq-item.active .faq-answer {
padding: 1.5rem;
max-height: 300px;
}

/* =====================================
8. FOOTER
===================================== */

.footer {
background: #020c16;
color: #fff;
padding: 3rem 0 1rem;
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}

.footer-section h4 {
margin-bottom: 1rem;
color: #4a90e2;
font-size: 1.2rem;
}

.footer-section ul {
list-style: none;
}

.footer-section ul li {
margin-bottom: 0.5rem;
}

.footer-section a {
color: #bbb;
transition: color 0.3s;
}

.footer-section a:hover {
color: #4a90e2;
}

.newsletter-form {
display: flex;
margin: 1rem 0;
border-radius: 25px;
overflow: hidden;
}

.newsletter-form input {
flex: 1;
min-width: 0;
padding: 0.8rem 1rem;
border: none;
outline: none;
}

.newsletter-form button {
background: #4a90e2;
color: #fff;
border: none;
padding: 0.8rem 1.5rem;
cursor: pointer;
font-weight: 600;
}

.social-links {
display: flex;
gap: 1rem;
margin-top: 1rem;
}

.social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: #34495e;
border-radius: 50%;
color: #fff;
transition: all 0.3s;
}

.social-links a:hover {
background: #4a90e2;
transform: translateY(-3px);
}

.footer-bottom {
border-top: 1px solid #34495e;
padding-top: 2rem;
text-align: center;
}

.footer-nav {
margin-bottom: 1rem;
}

.footer-nav a {
color: #bbb;
margin: 0 1rem;
transition: color 0.3s;
}

.footer-nav a:hover {
color: #4a90e2;
}

/* =====================================
9. ANIMATIONS
===================================== */

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}

to {
    opacity: 1;
    transform: translateY(0);
}

}

.feature-card,
.pricing-card,
.testimonial-content,
.faq-item {
animation: fadeInUp 0.6s ease forwards;
}

/* =====================================
10. TABLET RESPONSIVENESS
===================================== */

@media (max-width: 992px) {
.testimonial-content {
grid-template-columns: 1fr;
gap: 3rem;
}

.client-photo {
    max-width: 400px;
    margin: 0 auto;
}

.client-photo .photo {
    height: 400px;
}

}

/* =====================================
11. MOBILE RESPONSIVENESS
===================================== */

@media (max-width: 768px) {

.mobile-menu-toggle {
    display: block;
}

.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.nav-menu.active {
    display: block;
}

.nav-menu ul {
    flex-direction: column;
}

.nav-menu a {
    padding: 0.8rem 1rem;
}

.hero {
    padding: 130px 0 80px;
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    font-size: 1rem;
}

.hero-buttons {
    flex-direction: column;
    align-items: center;
}

.features,
.services,
.pricing,
.testimonial,
.faq {
    padding: 70px 0;
}

.features h2,
.services h2,
.pricing h2,
.testimonial h2,
.faq h2 {
    font-size: 2rem;
}

.features-grid,
.pricing-grid {
    grid-template-columns: 1fr;
}

.pricing-card.popular {
    transform: none;
}

.testimonial-text {
    padding: 2rem;
}

.testimonial-text blockquote {
    font-size: 1.2rem;
}

.testimonial-details {
    font-size: 1rem;
}

.client-info {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.testimonial-stats {
    flex-direction: column;
    gap: 1rem;
}

.faq-question {
    padding: 1rem;
    font-size: 0.9rem;
}

.faq-answer {
    font-size: 0.9rem;
}

.faq-item.active .faq-answer {
    padding: 1rem;
}

.footer-content {
    grid-template-columns: 1fr;
    text-align: center;
}

.social-links {
    justify-content: center;
}

.newsletter-form {
    flex-direction: column;
    border-radius: 8px;
}

.newsletter-form button {
    padding: 1rem;
}

}