/* ========== Root & Variables ========== */
:root {
    --primary-dark: #003d82;
    --primary-light: #0073c6;
    --primary-lighter: #40b0ff;
    --accent-light: #e8f4ff;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-light: #999999;
    --border-light: #e0e0e0;
    --bg-white: #ffffff;
    --bg-light-gray: #f8f9fb;
    --bg-light-blue: #f0f7ff;
    --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-large: 0 16px 40px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
    font-size: 16px;
}

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

/* ========== Navigation ========== */
.navbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-small);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.logo-gradient {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #e8f4ff 100%);
    color: var(--primary-dark);
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
}

.logo-text {
    display: none;
}

@media (min-width: 768px) {
    .logo-text {
        display: inline;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
    color: white;
    border-color: var(--primary-light);
}

.btn-primary:hover {
    box-shadow: 0 8px 16px rgba(0, 115, 198, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-light);
    border-color: var(--primary-light);
}

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

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

.btn-outline:hover {
    background-color: var(--accent-light);
    border-color: var(--primary-light);
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

/* ========== Hero Section ========== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(64, 176, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content > p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.code-block {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 24px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.8;
    backdrop-filter: blur(10px);
}

.code-line {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.code-tag {
    color: #b3e5fc;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-image {
        display: none;
    }
}



/* ========== Page Header ========== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 12px;
}

.page-header > p {
    font-size: 18px;
    opacity: 0.95;
}

/* ========== Core Features Section ========== */
.core-features {
    padding: 80px 20px;
}

.core-features h2 {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block-content {
    direction: ltr;
}

.feature-block h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.feature-block p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.feature-list li:before {
    content: '✓';
    color: var(--primary-lighter);
    font-weight: 700;
    margin-right: 10px;
    font-size: 16px;
}

.feature-block-visual {
    background: var(--bg-light-blue);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--accent-light);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.device-mockup {
    display: flex;
    gap: 20px;
    width: 100%;
    height: 200px;
}

.device-phone {
    background: white;
    border: 6px solid #0073c6;
    border-radius: 20px;
    flex: 1;
    max-width: 80px;
    box-shadow: var(--shadow-medium);
}

.device-tablet {
    background: white;
    border: 6px solid #0073c6;
    border-radius: 12px;
    flex: 1;
    max-width: 150px;
    box-shadow: var(--shadow-medium);
}

.device-desktop {
    background: white;
    border: 6px solid #0073c6;
    border-radius: 4px;
    flex: 2;
    box-shadow: var(--shadow-medium);
}

.seo-chart,
.analytics-chart {
    width: 100%;
    height: 100%;
}

.seo-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 160px;
  }
  
  .chart-bar {
    width: 14px;
    background: linear-gradient(180deg, #40b0ff, #0073c6);
    border-radius: 6px;
    min-height: 20px;
  }

.chart-bar {
    display: inline-block;
    width: 20%;
    margin-right: 5%;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
    border-radius: 4px 4px 0 0;
}

.cms-mockup {
  width: 220px;
  height: 160px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #dbe7ff;
  display: grid;
  grid-template-rows: 30px 1fr;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.cms-header {
  background: linear-gradient(90deg, #0073c6, #40b0ff);
}

.cms-sidebar {
  background: #f0f7ff;
  width: 60px;
  float: left;
  height: 100%;
}

.cms-content {
  background: white;
}



.security-shield {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-icon {
    font-size: 60px;
}

.chart-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-light) 50%, transparent 100%);
    margin-bottom: 20px;
}

.chart-points {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 60px;
}

.chart-points span {
    width: 8px;
    height: 30px;
    background: var(--primary-lighter);
    border-radius: 4px;
}

.integration-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.icon-box {
    background: white;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-light);
    border: 2px solid var(--primary-lighter);
    box-shadow: var(--shadow-small);
}

/* ========== Tech Stack ========== */
.tech-stack {
    background: var(--bg-light-gray);
    padding: 80px 20px;
}

.tech-stack h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 12px;
}

.tech-stack > .container > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-size: 16px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tech-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-small);
}

.tech-item h4 {
    color: var(--primary-dark);
    font-size: 18px;
    margin-bottom: 16px;
}

.tech-item ul {
    list-style: none;
}

.tech-item li {
    color: var(--text-secondary);
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.tech-item li:last-child {
    border-bottom: none;
}



/* ========== Company Story ========== */
.company-story {
    padding: 80px 20px;
}

.company-story h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.company-story p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.value-card {
    background: var(--bg-light-blue);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--accent-light);
}

.value-card h3 {
    color: var(--primary-dark);
    font-size: 18px;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

.stats-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    margin-bottom: 60px;
    text-align: center;
}

.stat-large-number {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}

.stat-large-label {
    font-size: 14px;
    opacity: 0.95;
}

/* .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--bg-light-blue);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--accent-light);
}

.member-avatar {
    font-size: 48px;
    margin-bottom: 16px;
}

.team-member h4 {
    color: var(--primary-dark);
    font-size: 18px;
    margin-bottom: 4px;
} */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
  
  /* card */
  .team-member {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(64, 176, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
  
    backdrop-filter: blur(10px);
  
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
  }
  
  /* glow line */
  .team-member::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #0073c6, #40b0ff);
  }
  
  /* hover */
  .team-member:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 61, 130, 0.12);
    border-color: rgba(64, 176, 255, 0.35);
  }
  
  /* title */
  .team-member h4 {
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 600;
    margin: 10px;
  }
  
  /* optional subtle label style */
  .team-member::after {
    content: "";
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    background: rgba(64, 176, 255, 0.08);
    border-radius: 50%;
    filter: blur(12px);
  }



/* ========== Contact Section ========== */
.contact-section {
    background: var(--bg-light-gray);
    padding: 80px 20px;
}

.contact-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 12px;
}

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

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-small);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(0, 115, 198, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.form-actions .btn {
    flex: 1;
}

.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 6px;
    display: none;
    font-size: 14px;
    font-weight: 500;
}

.form-message.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.form-message.error {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-small);
    height: fit-content;
}

.contact-info h3 {
    color: var(--primary-dark);
    font-size: 20px;
    margin-bottom: 30px;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h4 {
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.info-block a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 4px;
}

.info-block a:hover {
    text-decoration: underline;
}

.info-block address {
    font-style: normal;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.info-block p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.info-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 6px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-light-blue);
    color: var(--primary-light);
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--accent-light);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
}

/* ========== CTA Section ========== */
.cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ========== Legal Content ========== */
.legal-content {
    padding: 60px 20px;
}

.legal-content h2 {
    color: var(--primary-dark);
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 15px;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.legal-content li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 15px;
}

.legal-content address {
    font-style: normal;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 15px;
}

.legal-content a {
    color: var(--primary-light);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ========== Footer ========== */
footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-lighter);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    .nav-menu {
        gap: 4px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .feature-block,
    .feature-block.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        direction: ltr;
    }
    
    .feature-block-content {
        direction: ltr;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .price {
        font-size: 32px;
    }
    
    .nav-menu {
        gap: 2px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}