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

/* Custom Fonts */
@font-face {
    font-family: 'Reactive';
    src: url('../fonts/Reactive-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


:root {
--primary: #000000;
--secondary: #1a1a1a;
--accent: #FFD700;
--light: #FFFFFF;
--gray-light: #F5F5F5;
--gray: #E0E0E0;
--gray-dark: #666666;
--text: #333333;
}

body {
font-family: 'Outfit', sans-serif;
background: var(--light);
color: var(--text);
overflow-x: hidden;
}

/* Apply BraindGyumri when Armenian is selected (documentElement.lang = 'hy') */
/* BraindGyumri font removed; Armenian falls back to default fonts */

/* Headings */
h1, h2, h3, h4, h5, h6 {
font-family: 'Reactive', sans-serif;
}

/* Animated Background */
.bg-animation {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.03;
}

.blob {
position: absolute;
border-radius: 50%;
filter: blur(100px);
animation: float 25s infinite ease-in-out;
}

.blob-1 {
width: 600px;
height: 600px;
background: var(--primary);
top: -150px;
left: -150px;
animation-delay: 0s;
}

.blob-2 {
width: 500px;
height: 500px;
background: var(--accent);
bottom: -150px;
right: -150px;
animation-delay: 8s;
}

.blob-3 {
width: 450px;
height: 450px;
background: var(--secondary);
top: 50%;
right: 10%;
animation-delay: 16s;
}

@keyframes float {
0%, 100% { transform: translate(0, 0) scale(1); }
33% { transform: translate(80px, -80px) scale(1.05); }
66% { transform: translate(-40px, 80px) scale(0.95); }
}

/* Header */
header {
padding: 2rem 5%;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
z-index: 100;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.language-switcher {
display: flex;
gap: 0.25rem;
}

.lang-btn {
padding: 0.25rem 0.5rem;
background: transparent;
border: 2px solid var(--primary);
color: var(--primary);
border-radius: 6px;
cursor: pointer;
font-weight: 600;
transition: all 0.3s;
}

.lang-btn.active {
background: var(--primary);
color: var(--light);
}

.lang-btn:hover {
background: var(--primary);
color: var(--light);
transform: translateY(-2px);
}

.logo {
display: inline-flex;
align-items: center;
gap: 0.6rem;
text-decoration: none;
font-size: 1.25rem;
font-weight: 800;
letter-spacing: -1px;
color: var(--primary);
animation: slideInDown 0.8s ease-out;
}

.site-logo {
display: block;
height: 48px;
width: auto;
}

.logo-text {
    font-weight: 800;
    color: var(--primary);
    font-size: 42px;
    line-height: 1;
}

@media (max-width: 480px) {
    .site-logo { height: 40px; }
    .logo-text { font-size: 25px; }
}

/* Hero Section */
.hero {
min-height: 90vh;
display: flex;
align-items: center;
justify-content: center;
padding: 3rem 5%;
text-align: center;
position: relative;
background: linear-gradient(135deg, var(--gray-light) 0%, var(--light) 100%);
}

.hero-content {
max-width: 900px;
animation: fadeInUp 1s ease-out 0.3s both;
}

.hero h1 {
font-size: clamp(3rem, 8vw, 6rem);
font-weight: 800;
line-height: 1.1;
margin-bottom: 1.5rem;
color: var(--primary);
position: relative;
}

.hero h1::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 100px;
height: 4px;
background: var(--accent);
}

.hero p {
font-size: clamp(1.1rem, 2.5vw, 1.5rem);
margin-bottom: 3rem;
margin-top: 2rem;
color: var(--gray-dark);
font-weight: 300;
line-height: 1.6;
}

.hero-buttons {
display: flex;
gap: 1.5rem;
justify-content: center;
flex-wrap: wrap;
}

.primary-btn {
padding: 1.2rem 3rem;
background: var(--primary);
color: var(--light);
border: none;
border-radius: 8px;
font-weight: 600;
font-size: 1.1rem;
cursor: pointer;
transition: all 0.3s;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
position: relative;
overflow: hidden;
}

.primary-btn::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 215, 0, 0.3);
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}

.primary-btn:hover::before {
width: 300px;
height: 300px;
}

.primary-btn:hover {
transform: translateY(-3px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
background: var(--secondary);
}

.primary-btn i {
margin-right: 0.5rem;
position: relative;
z-index: 1;
}

.secondary-btn {
padding: 1.2rem 3rem;
background: transparent;
color: var(--primary);
border: 2px solid var(--primary);
border-radius: 8px;
font-weight: 600;
font-size: 1.1rem;
cursor: pointer;
transition: all 0.3s;
}

.secondary-btn:hover {
background: var(--primary);
color: var(--light);
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.secondary-btn i {
margin-right: 0.5rem;
}

/* Features Section */
.features {
padding: 8rem 5%;
background: var(--light);
position: relative;
}

.section-title {
text-align: center;
font-size: clamp(2.5rem, 5vw, 4rem);
font-weight: 800;
margin-bottom: 4rem;
animation: fadeInUp 1s ease-out;
color: var(--primary);
}

.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 3rem;
max-width: 1200px;
margin: 0 auto;
}

.feature-card {
padding: 3rem 2rem;
background: var(--gray-light);
border-radius: 16px;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
border: 2px solid transparent;
animation: fadeInUp 1s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
transform: translateY(-10px);
border-color: var(--accent);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
background: var(--light);
}

.feature-icon {
width: 70px;
height: 70px;
background: var(--primary);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
margin-bottom: 1.5rem;
color: var(--light);
transition: all 0.3s;
}

.feature-card:hover .feature-icon {
background: var(--accent);
color: var(--primary);
transform: rotate(5deg) scale(1.1);
}

.feature-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
font-weight: 700;
color: var(--primary);
}

.feature-card p {
color: var(--gray-dark);
line-height: 1.6;
}

/* Templates Section */
.templates {
padding: 8rem 5%;
background: var(--primary);
color: white;
}

.templates .section-title {
color: white;
}

.templates-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
max-width: 1400px;
margin: 0 auto;
}

.template-card {
background: rgba(255, 255, 255, 0.05);
border-radius: 16px;
overflow: hidden;
transition: all 0.4s;
border: 1px solid rgba(255, 255, 255, 0.1);
animation: fadeInUp 1s ease-out both;
backdrop-filter: blur(10px);
}

.template-card:nth-child(1) { animation-delay: 0.1s; }
.template-card:nth-child(2) { animation-delay: 0.2s; }
.template-card:nth-child(3) { animation-delay: 0.3s; }
.template-card:nth-child(4) { animation-delay: 0.4s; }

.template-card:hover {
transform: translateY(-10px);
border-color: var(--accent);
box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
}

.template-preview {
height: 300px;
background: linear-gradient(135deg, var(--secondary), var(--primary));
display: flex;
align-items: center;
justify-content: center;
font-size: 3rem;
position: relative;
overflow: hidden;
}

.template-preview i {
color: var(--accent);
transition: all 0.3s;
}

.template-card:hover .template-preview i {
transform: scale(1.2) rotate(10deg);
}

.template-preview::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.2);
opacity: 0;
transition: opacity 0.3s;
}

.template-card:hover .template-preview::after {
opacity: 1;
}

.template-info {
padding: 2rem;
}

.template-info h3 {
font-size: 1.3rem;
margin-bottom: 0.5rem;
color: var(--light);
}

.template-info p {
opacity: 0.7;
font-size: 0.9rem;
color: var(--gray);
}

/* Pricing Section */
.pricing {
padding: 8rem 5%;
background: var(--gray-light);
}

.pricing-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}

.pricing-card {
background: white;
padding: 3rem 2rem;
border-radius: 16px;
text-align: center;
transition: all 0.4s;
border: 2px solid var(--gray);
animation: fadeInUp 1s ease-out both;
min-height: 500px;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

.pricing-card.featured {
background: var(--primary);
color: white;
border: 2px solid var(--accent);
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.pricing-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

.pricing-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
font-weight: 700;
color: var(--primary);
}

.pricing-card.featured h3 {
color: var(--accent);
}

.price {
font-size: 3.5rem;
font-weight: 800;
margin: 1.5rem 0;
color: var(--primary);
}

.pricing-card.featured .price {
color: var(--light);
}

.price span {
font-size: 1.2rem;
opacity: 0.6;
font-weight: 400;
}

.features-list {
list-style: none;
margin: 2rem 0;
text-align: left;
}

.features-list li {
padding: 0.8rem 0;
border-bottom: 1px solid var(--gray);
color: var(--text);
}

.pricing-card.featured .features-list li {
border-bottom-color: rgba(255, 255, 255, 0.2);
color: var(--light);
}

.features-list li::before {
content: '';
display: inline-block;
width: 20px;
height: 20px;
background: var(--accent);
border-radius: 50%;
margin-right: 1rem;
vertical-align: middle;
}

.pricing-card.featured .features-list li::before {
background: var(--accent);
}

.pricing-btn {
width: 100%;
padding: 1.2rem 2rem;
background: var(--primary);
color: white;
border: none;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
margin-top: auto;
transition: all 0.3s;
font-size: 1rem;
}

.pricing-card.featured .pricing-btn {
background: var(--accent);
color: var(--primary);
}

.pricing-btn:hover {
transform: scale(1.05);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-btn i {
margin-right: 0.5rem;
}

/* CTA Section */
.cta-section {
padding: 8rem 5%;
background: var(--primary);
text-align: center;
color: white;
position: relative;
overflow: hidden;
}

.cta-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, transparent, rgba(255, 215, 0, 0.1));
}

.cta-section h2 {
font-size: clamp(2.5rem, 5vw, 4rem);
margin-bottom: 2rem;
animation: fadeInUp 1s ease-out;
position: relative;
z-index: 1;
}

.cta-section p {
font-size: 1.3rem;
margin-bottom: 3rem;
opacity: 0.9;
animation: fadeInUp 1s ease-out 0.2s both;
position: relative;
z-index: 1;
}

.cta-section .primary-btn {
background: var(--accent);
color: var(--primary);
position: relative;
z-index: 1;
}

.cta-section .primary-btn:hover {
background: var(--light);
}

/* Footer */
footer {
padding: 3rem 5%;
background: var(--secondary);
color: white;
text-align: center;
}

.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1400px;
margin: 0 auto;
flex-wrap: wrap;
gap: 2rem;
}

.footer-links {
display: flex;
gap: 2rem;
flex-wrap: wrap;
}

.footer-links a {
color: white;
text-decoration: none;
opacity: 0.8;
transition: all 0.3s;
}

.footer-links a:hover {
opacity: 1;
color: var(--accent);
}

.footer-content .logo {
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1rem;
}

.footer-logo {
    display: block;
    height: 32px;
    width: auto;
}

.footer-logo {
    /* Force monochrome white for colored PNG/SVG logos on dark footer */
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
    opacity: 1;
}

.footer-logo-text {
    color: white;
    font-weight: 800;
    line-height: 1;
}

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

.social-links a {
width: 45px;
height: 45px;
background: rgba(255, 255, 255, 0.1);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-decoration: none;
transition: all 0.3s;
border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Small top margin for copyright line */
footer p[data-key="copyright"] {
    margin-top: 10px;
}

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

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

/* Carousel Section */
.carousel-section {
padding: 4rem 5%;
background: var(--gray-light);
}

/* Contacts Section */
.contacts {
    padding: 6rem 5%;
    background: var(--light);
}

.contacts__form {
    max-width: 720px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.contacts__form input,
.contacts__form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--gray);
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text);
    background: linear-gradient(180deg, #fff, #fbfbfb);
}

.contacts__form textarea {
    min-height: 140px;
    resize: vertical;
}

.contacts__form input:focus,
.contacts__form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.form__actions {
    text-align: right;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

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

.btn__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--light);
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-left: 6px;
    visibility: hidden;
}

.form--submitting .btn__spinner {
    visibility: visible;
}

.form__error {
    color: #b00020;
    display: none;
    margin-top: 1rem;
}

.form__success {
    color: #0b8457;
    display: none;
    margin-top: 1rem;
}

.form__error.show,
.form__success.show {
    display: block;
}

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

.carousel {
max-width: 100%;
margin: 0 auto;
height: 80vh;
}

.carousel-item {
height: 100%;
}

.carousel-img {
height: 100%;
width: 48%;
margin: 0 1%;
object-fit: cover;
border-radius: 16px;
display: block;
}

/* On mobile, make images full width since only one is shown */
@media (max-width: 767px) {
    .carousel-img {
        width: 100%;
        margin: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
header {
padding: 1.5rem 5%;
}

.logo {
font-size: 1.5rem;
}

.hero {
min-height: 80vh;
padding: 2rem 5%;
}

.hero h1::after {
width: 60px;
}

.hero-buttons {
flex-direction: column;
align-items: stretch;
}

.primary-btn, .secondary-btn {
padding: 1rem 2rem;
font-size: 1rem;
}

.features, .templates, .pricing, .cta-section {
padding: 4rem 5%;
}

.carousel-section {
padding: 4rem 5% 2rem 5%;
}

.section-title {
font-size: 2rem;
}

.footer-content {
flex-direction: column;
text-align: center;
}

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