/* BinaryCubed Homepage Styles */
:root {
    --primary-blue: #4A90E2;
    --accent-blue: #2196F3;
    --bg-dark: #0A1A2E;
    --bg-darker: #041426;
    --card-bg: #1B2A42;
    --text-primary: #FFFFFF;
    --text-secondary: #B0BEC5;
    --text-muted: #78909C;
    --border-color: #263238;
    --highlight-cyan: #00e5ff;
    --success-green: #00ff7f;
}

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

body {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-blue);
}

/* Menu Button and Dropdown */
.dropdown {
    position: relative;
}

.products-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.dropdown-toggle:hover {
    color: var(--accent-blue);
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.products-dropdown .dropdown-content.show + .dropdown-toggle i {
    transform: rotate(180deg);
}

.menu-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.menu-button:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    background: var(--card-bg);
    min-width: 200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    z-index: 1001;
}

.dropdown-content.show {
    display: block;
    animation: dropdownSlide 0.3s ease;
}

.dropdown-divider {
    height: 1px;
    margin: 8px 0;
    background-color: rgba(148, 163, 184, 0.2);
    border: none;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.3s ease;
    border-radius: 12px;
}

.dropdown-link:hover {
    background: rgba(74, 144, 226, 0.1);
    color: var(--accent-blue);
}

.dropdown-link i {
    font-size: 1.1rem;
    width: 20px;
}

/* Hero Section */
.hero-section {
    padding: 140px 0 80px 0;
    position: relative;
}

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

.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 18px 36px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    color: white;
    text-decoration: none;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.security-icon {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.shield-image {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(74, 144, 226, 0.5));
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(74, 144, 226, 0.5));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 50px rgba(74, 144, 226, 0.8));
    }
}

.circuit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><defs><pattern id="circuit" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20 0v40M0 20h40" stroke="%2300BCD4" stroke-width="0.5" opacity="0.3"/><circle cx="20" cy="20" r="2" fill="%2300BCD4" opacity="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23circuit)"/></svg>') center/cover;
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: rgba(27, 42, 66, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.pricing-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(75, 85, 99, 0.3);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.2);
}

.pricing-card.featured {
    border-color: var(--highlight-cyan);
    background: rgba(30, 41, 59, 0.9);
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 188, 212, 0.2);
}

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

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--highlight-cyan);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.savings-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--success-green);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.plan-icon.pro {
    background: rgba(0, 188, 212, 0.2);
    color: var(--highlight-cyan);
}

.plan-icon.annual {
    background: rgba(76, 175, 80, 0.2);
    color: var(--success-green);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.plan-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
}

.plan-price {
    margin-bottom: 10px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 5px;
}

.savings-note {
    color: var(--success-green);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.plan-features .fas {
    color: var(--success-green);
    margin-right: 12px;
    font-size: 0.9rem;
}

.plan-button {
    background: rgba(107, 114, 128, 0.3);
    border: 2px solid rgba(107, 114, 128, 0.5);
    color: var(--text-primary);
    padding: 16px 0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.plan-button:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.plan-button.featured {
    background: var(--highlight-cyan);
    border-color: var(--highlight-cyan);
    color: white;
}

.plan-button.featured:hover {
    background: #0097a7;
    border-color: #0097a7;
    color: white;
}

/* Trust Section */
.trust-section {
    padding: 80px 0;
    background: rgba(27, 42, 66, 0.3);
}

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

.trust-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.trust-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.client-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 80px;
}

.client-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    background: rgba(75, 85, 99, 0.3);
    border: 2px solid rgba(75, 85, 99, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #9ca3af;
}

.client-name {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 16px;
    padding: 30px;
    position: relative;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quote-icon {
    color: var(--highlight-cyan);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-grid {
        gap: 20px;
        padding: 0 20px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
    }
    
    .pricing-title {
        font-size: 2.5rem;
    }
    
    .pricing-subtitle {
        font-size: 1.1rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .plan-features {
        margin: 20px 0;
    }
    
    .trust-title {
        font-size: 2rem;
    }
    
    .client-logos {
        flex-wrap: wrap;
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-title {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .plan-button {
        padding: 14px 0;
        font-size: 0.95rem;
    }
}

.feature-item {
    padding: 40px 20px;
}

.feature-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.feature-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Page Styles */
.about-hero {
    padding: 140px 0 80px 0;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    text-align: center;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.about-main {
    padding: 80px 0;
    background: rgba(27, 42, 66, 0.3);
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--accent-blue);
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.expertise-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
}

.expertise-item i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.expertise-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.expertise-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.benefit-item i {
    color: var(--success-green);
    font-size: 1.2rem;
    margin-top: 2px;
}

.benefit-item span {
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-section {
    padding: 80px 0;
    background: var(--bg-darker);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.nav-link.active {
    color: var(--accent-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .security-icon {
        width: 250px;
        height: 250px;
    }
    
    .shield-image {
        width: 200px;
        height: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Product Title Pulse Glow Animations */
@keyframes glowPulseYellow {
    0%, 100% {
        text-shadow: 0 0 6px #FFD600, 0 0 12px #FFD600;
    }
    50% {
        text-shadow: 0 0 12px #FFD600, 0 0 20px #FFD600;
    }
}

@keyframes glowPulseCyan {
    0%, 100% {
        text-shadow: 0 0 6px #00e5ff, 0 0 12px #00e5ff;
    }
    50% {
        text-shadow: 0 0 12px #00e5ff, 0 0 20px #00e5ff;
    }
}

@keyframes glowPulseRed {
    0%, 100% {
        text-shadow: 0 0 6px #FF5252, 0 0 12px #FF5252;
    }
    50% {
        text-shadow: 0 0 12px #FF5252, 0 0 20px #FF5252;
    }
}

/* High specificity selectors to override Tailwind classes */
h2 .keysweep-title,
h3 .keysweep-title,
.product-card-title.keysweep-title {
    color: #FFD600 !important;
    animation: glowPulseYellow 2.5s infinite ease-in-out !important;
}

h2 .microdefend-title,
h3 .microdefend-title,
.product-card-title.microdefend-title {
    color: #00e5ff !important;
    animation: glowPulseCyan 2.5s infinite ease-in-out !important;
}

h2 .redlure-title,
h3 .redlure-title,
.product-card-title.redlure-title {
    color: #FF5252 !important;
    animation: glowPulseRed 2.5s infinite ease-in-out !important;
}

@keyframes glowPulsePink {
    0%, 100% {
        text-shadow: 0 0 6px #FF69B4, 0 0 12px #FF69B4;
    }
    50% {
        text-shadow: 0 0 12px #FF69B4, 0 0 20px #FF69B4;
    }
}

h2 .phoros-title,
h3 .phoros-title,
.product-card-title.phoros-title {
    color: #FF69B4 !important;
    animation: glowPulsePink 2.5s infinite ease-in-out !important;
}

/* === Product cards grid === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 28px;
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* === Card === */
.product-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px;
  border-radius: 14px;
  height: 100%;                 /* equal heights */
}

/* Title */
.product-card .card-title {
  margin: 0 0 12px 0;
}

/* Tagline block — force same interior spacing for all cards */
.product-card .card-tagline {
  margin: 0 0 18px 0;
  min-height: 56px;             /* ~2 lines at 16px; tweak to match old 3-box spacing */
  display: -webkit-box;
  -webkit-line-clamp: 3;        /* prevent 4+ lines from pushing layout */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Spacer wraps remaining content so buttons/logos sit in same place */
.product-card .card-body {
  flex: 1;                      /* fills remaining vertical space */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;    /* pin logo/button to a consistent bottom */
}

/* Logo box — identical size across cards */
.product-card .card-logo {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  margin: 18px auto 0;
  display: grid;
  place-items: center;
}
.product-card .card-logo img {
  max-width: 60px;
  max-height: 60px;
}

/* Button area (if present) — consistent margin */
.product-card .card-cta { margin-top: 16px; }

/* === PHOROS PRODUCT CARD CLEANUP === */

/* Main card border and glow remain pink */
.phoros-card {
  border: 2px solid #FF69B4; /* Pink accent */
  box-shadow: 0 0 12px rgba(255, 105, 180, 0.25);
  transition: all 0.3s ease;
}

/* Hover effect: no background color change, only glow intensifies */
.phoros-card:hover {
  border-color: #ff8ccf;
  box-shadow: 0 0 18px rgba(255, 105, 180, 0.45);
  transform: translateY(-4px);
}

/* Title and tagline styling remain pink */
.phoros-card .card-title {
  color: #FF69B4;
  text-shadow: 0 0 6px rgba(255, 105, 180, 0.4);
}

/* === LOGO BOX AREA === */
.phoros-card .card-logo {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  margin: 18px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Remove pink background/gradient completely */
  background: none;
  box-shadow: none;
  border: none;
  transition: none;
}

/* Logo image with no effects - matches other cards */
.phoros-card .card-logo img {
  max-width: 60px;
  max-height: 60px;
  filter: none;
}

/* Disable hover glow behind logo */
.phoros-card:hover .card-logo {
  background: none;
  box-shadow: none;
}

/* ─── 390px — extreme small phones (iPhone SE 1st gen, Galaxy A series) ─────── */
@media (max-width: 390px) {
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .security-icon {
        width: 160px !important;
        height: 160px !important;
    }

    .shield-image {
        width: 120px !important;
        height: 120px !important;
    }

    .hero-section {
        padding: 70px 0 40px !important;
    }

    .container {
        padding: 0 12px !important;
    }

    .cta-button {
        font-size: 0.95rem !important;
        padding: 12px 16px !important;
    }

    .section-title {
        font-size: 1.4rem !important;
    }
}

.phoros-card:hover .card-logo img {
  filter: none;
}