
/* ============================================
   DUO LINK v3 - MODERN REDESIGN
   Enhanced animations, software box mockup
   ============================================ */

:root {
    --primary: #0a1628;
    --primary-light: #1a2744;
    --secondary: #00d4aa;
    --secondary-dark: #00b894;
    --accent: #ff6b35;
    --accent-light: #ff8c5a;
    --blue: #2563eb;
    --green: #10b981;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0a1628 0%, #1a2744 100%);
    --gradient-secondary: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-glow: 0 0 20px rgba(0, 212, 170, 0.3);
    --shadow-glow-accent: 0 0 20px rgba(255, 107, 53, 0.3);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 { margin-bottom: 1rem; }
.section-title p {
    color: var(--gray);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

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

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

.btn-accent {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-glow-accent);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

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

.logo-img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   MODERN HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Animated background particles */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Grid overlay */
.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

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

/* Animated badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 170, 0.15);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: badgePulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 212, 170, 0); }
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.hero h1 span {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.hero-description {
    color: rgba(255,255,255,0.7);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    position: relative;
    padding-left: 1rem;
}

.stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.stat-item h3 {
    color: var(--secondary);
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
    font-weight: 800;
}

.stat-item p {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

/* ============================================
   SOFTWARE BOX MOCKUP
   ============================================ */
.software-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.software-box {
    width: 320px;
    height: 420px;
    background: linear-gradient(145deg, #1a2744 0%, #0a1628 100%);
    border-radius: 20px;
    position: relative;
    transform-style: preserve-3d;
    animation: boxFloat 6s ease-in-out infinite;
    box-shadow: 
        0 25px 50px -12px rgba(0,0,0,0.5),
        0 0 0 1px rgba(0, 212, 170, 0.1),
        0 0 60px rgba(0, 212, 170, 0.1);
    overflow: hidden;
}

.software-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 212, 170, 0.03) 50%,
        transparent 70%
    );
    animation: boxShine 4s ease-in-out infinite;
}

@keyframes boxFloat {
    0%, 100% { transform: translateY(0) rotateY(-5deg) rotateX(5deg); }
    50% { transform: translateY(-20px) rotateY(-5deg) rotateX(5deg); }
}

@keyframes boxShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.software-box-header {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(37, 99, 235, 0.2));
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 212, 170, 0.2);
}

.software-box-header img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.software-box-body {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.software-box-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.software-box-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.software-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.software-features li {
    color: rgba(255,255,255,0.8);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.software-features li:last-child {
    border-bottom: none;
}

.software-features li i {
    color: var(--secondary);
    font-size: 0.8rem;
}

.software-box-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: rgba(0, 212, 170, 0.1);
    text-align: center;
}

.software-box-price {
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 800;
}

.software-box-price span {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-weight: 400;
}

/* Floating elements around box */
.float-element {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
    animation: floatElement 5s ease-in-out infinite;
    z-index: 2;
}

.float-element-1 {
    top: 5%;
    right: -15%;
    animation-delay: 0s;
}

.float-element-2 {
    bottom: 25%;
    left: -15%;
    animation-delay: 1.5s;
}

.float-element-3 {
    top: 40%;
    right: -20%;
    animation-delay: 3s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}

/* Glowing orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.glow-orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(0, 212, 170, 0.15);
    top: 10%;
    right: 10%;
    animation: orbFloat 8s ease-in-out infinite;
}

.glow-orb-2 {
    width: 200px;
    height: 200px;
    background: rgba(255, 107, 53, 0.1);
    bottom: 20%;
    left: 5%;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Partners Section */
.partners {
    padding: 3rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.partners h3 {
    text-align: center;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    margin-bottom: 2rem;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo-img {
    max-height: 60px;
    width: auto;
    opacity: 0.7;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partner-logo-img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(37, 99, 235, 0.1));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(37, 99, 235, 0.2));
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-link {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-link:hover {
    gap: 8px;
}

/* AFRAGUARD Section */
.afraguard {
    padding: 6rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.afraguard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300d4aa' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.afraguard .section-title h2,
.afraguard .section-title p {
    color: var(--white);
}

.afraguard .section-title p {
    opacity: 0.7;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: var(--transition-slow);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 170, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.pricing-card.featured {
    border-color: var(--secondary);
    box-shadow: 0 0 40px rgba(0, 212, 170, 0.15);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
}

.pricing-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-card .subtitle {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.price {
    margin-bottom: 2rem;
}

.price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
}

.price .period {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(37, 99, 235, 0.1));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.value-item p {
    font-size: 0.875rem;
    margin: 0;
    color: var(--gray);
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-box {
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 170, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-box h3 {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-box p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card .quote {
    font-size: 1.125rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.7;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Blog Preview */
.blog-preview {
    padding: 6rem 0;
    background: var(--light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border: 1px solid var(--gray-light);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, #0a1628, #1a2744);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 212, 170, 0.2) 0%, transparent 60%);
}

.blog-content {
    padding: 1.5rem;
}

.blog-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(37, 99, 235, 0.1));
    color: var(--secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.blog-card:hover .blog-content h3 {
    color: var(--secondary);
}

.blog-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-link:hover {
    gap: 8px;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(37, 99, 235, 0.1));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover i {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.2), rgba(37, 99, 235, 0.2));
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-form {
    background: var(--light);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

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

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.4);
}

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content */
.page-content {
    padding: 4rem 0;
    background: var(--light);
    min-height: 400px;
}

.content-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.content-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.content-card h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-light);
}

.content-card h3 {
    margin: 2rem 0 1rem;
    color: var(--secondary);
}

.content-card p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-card ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-card li {
    color: var(--gray);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* MSP Section */
.msp-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a2744 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.msp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
}

.msp-section h2 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
}

.msp-section p {
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7); }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: scale(1) translateY(-10px);
    }

    .software-box {
        width: 280px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stat-item {
        padding-left: 0;
    }

    .stat-item::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .software-box {
        width: 260px;
        height: 350px;
    }

    .float-element {
        display: none;
    }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
}

/* ============================================
   ADDITIONAL STYLES
   Logo size, reviews, team, partner boxes
   ============================================ */

/* Bigger Logo */
.logo-img {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

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

/* Partner Logo Boxes */
.partner-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.partner-box {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.partner-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: rgba(0, 212, 170, 0.3);
}

.partner-box img {
    max-height: 55px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    transition: var(--transition);
}

.partner-box:hover img {
    transform: scale(1.08);
}

/* Reviews Section */
.reviews {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a2744 100%);
    position: relative;
    overflow: hidden;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
}

.reviews .section-title h2,
.reviews .section-title p {
    color: var(--white);
    position: relative;
}

.reviews .section-title p {
    opacity: 0.7;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.review-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 170, 0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.review-stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.review-card .quote {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 212, 170, 0.3);
}

.review-author .author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid rgba(0, 212, 170, 0.3);
}

.review-author h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.review-author p {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* Founder Section with Photo */
.founder-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a2744 100%);
    padding: 6rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.founder-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.founder-photo {
    position: relative;
    display: flex;
    justify-content: center;
}

.founder-photo img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(0, 212, 170, 0.3);
    box-shadow: 0 0 60px rgba(0, 212, 170, 0.2);
    transition: var(--transition);
}

.founder-photo:hover img {
    transform: scale(1.03);
    box-shadow: 0 0 80px rgba(0, 212, 170, 0.3);
}

.founder-photo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(0, 212, 170, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

.founder-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.founder-content h2 span {
    color: var(--secondary);
}

.founder-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border: 1px solid var(--gray-light);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.team-card-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-card-photo {
    transform: scale(1.05);
}

.team-card-info {
    padding: 1.5rem;
}

.team-card-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.team-card-info .position {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.team-card-info .bio {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Mobile responsive for new sections */
@media (max-width: 768px) {
    .logo-img {
        height: 45px;
    }

    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-photo img {
        width: 200px;
        height: 200px;
    }

    .founder-photo::before {
        width: 220px;
        height: 220px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .partner-boxes {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MOBILE RESPONSIVENESS FIXES & BIGGER LOGOS
   ============================================ */

/* BIGGER Partner Logo Boxes */
.partner-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-box {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.partner-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: rgba(0, 212, 170, 0.3);
}

.partner-box img {
    max-height: 70px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: var(--transition);
}

.partner-box:hover img {
    transform: scale(1.08);
}

/* ============================================
   MOBILE RESPONSIVE FIXES
   ============================================ */

@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .contact-grid,
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: scale(1) translateY(-10px);
    }

    .partner-boxes {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: 1fr !important;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .afraguard-hero h1 {
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .navbar .container {
        height: 70px;
    }

    .logo-img {
        height: 40px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-cta .btn {
        display: none;
    }

    /* Hero */
    .hero {
        padding-top: 70px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero h1 br {
        display: none;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .stat-item {
        border-left: none !important;
        padding-left: 0 !important;
        padding: 1rem;
        background: rgba(255,255,255,0.05);
        border-radius: 12px;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    /* Partners */
    .partner-boxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .partner-box {
        min-height: 100px;
        padding: 1.5rem 1rem;
    }

    .partner-box img {
        max-height: 50px;
        max-width: 140px;
    }

    .partners h3 {
        font-size: 0.8rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    /* AFRAGUARD Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-card.featured {
        transform: scale(1);
        order: -1;
    }

    .price .amount {
        font-size: 2.5rem;
    }

    .trial-banner {
        padding: 2rem 1.5rem;
    }

    .trial-banner h3 {
        font-size: 1.4rem;
    }

    /* Feature comparison table */
    .feature-comparison {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .feature-comparison table {
        min-width: 600px;
    }

    .feature-comparison th,
    .feature-comparison td {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    /* Reviews */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .review-card {
        padding: 1.5rem;
    }

    /* About / Founder */
    .founder-photo img {
        width: 200px;
        height: 200px;
    }

    .founder-photo::before {
        width: 220px;
        height: 220px;
    }

    .founder-content h2 {
        font-size: 1.8rem;
    }

    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-card-photo {
        height: 250px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-box {
        padding: 1.5rem 1rem;
    }

    .stat-box h3 {
        font-size: 2.5rem;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card {
        max-width: 400px;
        margin: 0 auto;
    }

    /* Contact */
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .contact-method-card {
        padding: 1.5rem 1rem;
    }

    .contact-method-card i {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand .social-links {
        justify-content: center;
    }

    .footer-links h4 {
        margin-bottom: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* Page headers */
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .afraguard-hero {
        padding: 120px 0 60px;
    }

    .afraguard-hero h1 {
        font-size: 2rem;
    }

    .contact-hero {
        padding: 120px 0 60px;
    }

    /* Content cards */
    .content-card {
        padding: 1.5rem;
    }

    .content-card h2 {
        font-size: 1.5rem;
    }

    /* Timeline */
    .timeline::before {
        left: 15px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 45px;
        padding-right: 0;
    }

    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        padding: 1rem;
    }

    .timeline-dot {
        left: 15px;
        width: 16px;
        height: 16px;
    }

    /* WhatsApp float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    /* Section padding */
    .services,
    .about,
    .team-section,
    .reviews,
    .blog-preview {
        padding: 3rem 0;
    }

    .msp-section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    /* Why cards */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-card {
        padding: 1.5rem;
    }

    /* Certifications */
    .certifications {
        gap: 1.5rem;
    }

    .cert-item {
        min-width: auto;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    /* Map placeholder */
    .map-placeholder {
        height: 200px;
    }

    /* FAQ cards */
    .content-card h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .partner-boxes {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .partner-box {
        min-height: 80px;
        padding: 1rem 0.75rem;
    }

    .partner-box img {
        max-height: 40px;
        max-width: 120px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-box h3 {
        font-size: 2rem;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .value-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .value-icon {
        margin: 0 auto 1rem;
    }

    .team-card-info h3 {
        font-size: 1.1rem;
    }

    .review-author {
        flex-direction: column;
        text-align: center;
    }

    .review-author img,
    .review-author .author-avatar {
        margin: 0 auto;
    }

    .feature-comparison th,
    .feature-comparison td {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .partner-box:hover,
    .service-card:hover,
    .review-card:hover,
    .team-card:hover,
    .blog-card:hover,
    .stat-box:hover {
        transform: none;
    }

    .btn:hover::before {
        display: none;
    }

    .btn:active {
        transform: scale(0.98);
    }

    .partner-box:active,
    .service-card:active,
    .value-item:active {
        transform: scale(0.98);
    }
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
    .navbar .container,
    .container {
        padding-left: max(24px, env(safe-area-inset-left));
        padding-right: max(24px, env(safe-area-inset-right));
    }

    @media (max-width: 768px) {
        .navbar .container,
        .container {
            padding-left: max(16px, env(safe-area-inset-left));
            padding-right: max(16px, env(safe-area-inset-right));
        }
    }
}
