@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --purple:       #6B3FA0;
  --purple-deep:  #4A2872;
  --purple-light: #9B6FD0;
  --purple-pale:  #F0E8FA;
  --gold:         #C9A84C;
  --gold-light:   #E8C96A;
  --dark:         #0F0A1A;
  --dark2:        #1A1030;
  --gray:         #6B6880;
  --light:        #FAFAFA;
  --white:        #FFFFFF;
  --border:       rgba(107,63,160,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--light); color: var(--dark); overflow-x: hidden; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 5%; height: 72px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: box-shadow 0.3s; }
nav.scrolled { box-shadow: 0 4px 30px rgba(107,63,160,0.12); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-text { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--purple); letter-spacing: -0.5px; }
.nav-logo-text span { color: var(--purple-light); }
.nav-tagline { font-size: 0.65rem; color: var(--gray); letter-spacing: 0.08em; font-weight: 500; text-transform: uppercase; display: block; line-height: 1; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--dark); font-size: 0.9rem; font-weight: 500; position: relative; transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--purple); transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--purple); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--purple) !important; color: white !important; padding: 10px 22px; border-radius: 50px; font-weight: 600 !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--purple-deep) !important; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--purple); }

/* PAGE HERO — diagonal bottom */
.page-hero { margin-top: 72px; padding: 110px 5% 160px; background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, #2D1060 100%); position: relative; overflow: hidden; text-align: center; clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); }
.page-hero-tag { display: inline-block; background: rgba(107,63,160,0.3); border: 1px solid rgba(107,63,160,0.5); color: var(--purple-light); padding: 6px 18px; border-radius: 50px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; position: relative; z-index: 2; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 20px; position: relative; z-index: 2; }
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; line-height: 1.8; position: relative; z-index: 2; }

/* SECTIONS */
section { padding: 100px 5%; }
.section-dark { background: linear-gradient(135deg, var(--dark), var(--dark2)); position: relative; overflow: hidden; }
.section-purple { background: linear-gradient(135deg, var(--purple-deep), var(--purple)); position: relative; overflow: hidden; }
.section-pale { background: var(--purple-pale); }

/* DIAGONAL SECTIONS */
.diagonal-section { clip-path: polygon(0 50px, 100% 0, 100% calc(100% - 50px), 0 100%); padding: 140px 5%; margin: -50px 0; position: relative; z-index: 1; }
.diagonal-top { clip-path: polygon(0 50px, 100% 0, 100% 100%, 0 100%); padding-top: 150px; }
.diagonal-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%); padding-bottom: 150px; }

/* TYPOGRAPHY */
.section-tag { display: inline-block; color: var(--purple); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; padding: 4px 14px; background: var(--purple-pale); border-radius: 50px; }
.section-tag-light { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--dark); line-height: 1.2; margin-bottom: 16px; }
.section-title em { font-style: italic; color: var(--purple); }
.section-title-light { color: white; }
.section-sub { font-size: 1.05rem; color: var(--gray); line-height: 1.8; max-width: 600px; }
.section-sub-light { color: rgba(255,255,255,0.65); }
.divider { width: 60px; height: 4px; background: linear-gradient(90deg, var(--purple), var(--gold)); border-radius: 2px; margin: 20px 0; }
.divider-light { background: linear-gradient(90deg, rgba(255,255,255,0.5), var(--gold)); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 50px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.25s; border: none; }
.btn-primary { background: var(--purple); color: white; }
.btn-primary:hover { background: var(--purple-deep); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(107,63,160,0.4); }
.btn-outline { background: transparent; color: var(--purple); border: 2px solid var(--purple); }
.btn-outline:hover { background: var(--purple); color: white; transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: white; }
.btn-gold:hover { background: #B8942E; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,168,76,0.4); }
.btn-glass { background: rgba(255,255,255,0.12); color: white; border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

/* GLASSMORPHISM */
.glass { background: rgba(255,255,255,0.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.15); border-radius: 20px; }
.glass-light { background: rgba(255,255,255,0.72); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(107,63,160,0.1); border-radius: 20px; box-shadow: 0 8px 40px rgba(107,63,160,0.08); }

/* GRIDS */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }

/* ANIMATIONS */
@keyframes floatA { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-22px) rotate(4deg)} }
@keyframes floatB { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-32px) rotate(-6deg)} }
@keyframes floatC { 0%,100%{transform:translate(0,0) rotate(0deg)} 33%{transform:translate(12px,-18px) rotate(5deg)} 66%{transform:translate(-10px,-28px) rotate(-3deg)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes spinSlow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes pulseRing { 0%{transform:scale(0.85);opacity:0.6} 100%{transform:scale(1.8);opacity:0} }
@keyframes gradientShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
@keyframes dash { to{stroke-dashoffset:0} }

.float-a { animation: floatA 7s ease-in-out infinite; }
.float-b { animation: floatB 9s ease-in-out infinite; }
.float-c { animation: floatC 11s ease-in-out infinite; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* CTA BAND */
.cta-band { background: linear-gradient(135deg, var(--dark), #2D1060); padding: 120px 5%; text-align: center; position: relative; overflow: hidden; clip-path: polygon(0 50px, 100% 0, 100% calc(100% - 50px), 0 100%); margin: -50px 0; z-index: 1; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3rem); color: white; margin-bottom: 16px; position: relative; z-index: 2; }
.cta-band h2 em { color: var(--gold); font-style: italic; }
.cta-band p { color: rgba(255,255,255,0.6); font-size: 1.05rem; margin-bottom: 36px; position: relative; z-index: 2; }
.cta-band .btn { position: relative; z-index: 2; }

/* FOOTER */
footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 100px 5% 40px; position: relative; overflow: hidden; }
footer::before { content:''; position:absolute; top:-100px; right:-100px; width:400px; height:400px; background:radial-gradient(circle, rgba(107,63,160,0.15) 0%,transparent 70%); pointer-events:none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(107,63,160,0.2); border: 1px solid rgba(107,63,160,0.3); display: flex; align-items: center; justify-content: center; color: var(--purple-light); text-decoration: none; font-size: 0.85rem; transition: all 0.2s; }
.footer-social a:hover { background: var(--purple); color: white; }
.footer-col h4 { color: white; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--purple-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.footer-bottom a { color: var(--purple-light); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: white; padding: 20px 5%; gap: 0; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); padding: 14px 0; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .diagonal-section, .diagonal-top, .diagonal-bottom { clip-path: none; margin: 0; padding: 80px 5%; }
  .page-hero { clip-path: none; padding-bottom: 80px; }
  .cta-band { clip-path: none; margin: 0; }
}
